Package net.minecraft

Record Class class_10539

java.lang.Object
java.lang.Record
net.minecraft.class_10539
Record Components:
image -
metadata -
All Implemented Interfaces:
Closeable, AutoCloseable

@Environment(CLIENT) public record class_10539(NativeImage image, @Nullable TextureResourceMetadata metadata) extends Record implements Closeable
Mappings:
Namespace Name
named net/minecraft/class_10539
intermediary net/minecraft/class_10539
official hen
named image
intermediary comp_3447
official a
named metadata
intermediary comp_3448
official b
  • Field Details

  • Constructor Details

  • Method Details

    • method_65871

      public static class_10539 method_65871(ResourceManager resourceManager, Identifier identifier) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named method_65871 Lnet/minecraft/class_10539;method_65871(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)Lnet/minecraft/class_10539;
      intermediary method_65871 Lnet/minecraft/class_10539;method_65871(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)Lnet/minecraft/class_10539;
      official a Lhen;a(Lauo;Laku;)Lhen;
    • method_65870

      public static class_10539 method_65870()
      Mappings:
      Namespace Name Mixin selector
      named method_65870 Lnet/minecraft/class_10539;method_65870()Lnet/minecraft/class_10539;
      intermediary method_65870 Lnet/minecraft/class_10539;method_65870()Lnet/minecraft/class_10539;
      official a Lhen;a()Lhen;
    • method_65872

      public boolean method_65872()
      Mappings:
      Namespace Name Mixin selector
      named method_65872 Lnet/minecraft/class_10539;method_65872()Z
      intermediary method_65872 Lnet/minecraft/class_10539;method_65872()Z
      official b Lhen;b()Z
    • method_65873

      public boolean method_65873()
      Mappings:
      Namespace Name Mixin selector
      named method_65873 Lnet/minecraft/class_10539;method_65873()Z
      intermediary method_65873 Lnet/minecraft/class_10539;method_65873()Z
      official c Lhen;c()Z
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • image

      public NativeImage image()
      Returns the value of the image record component.
      Returns:
      the value of the image record component
    • metadata

      Returns the value of the metadata record component.
      Returns:
      the value of the metadata record component