Package net.minecraft

Record Class class_10721

java.lang.Object
java.lang.Record
net.minecraft.class_10721
Record Components:
sheet -
prefix -

@Environment(CLIENT) public record class_10721(Identifier sheet, String prefix) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10721
intermediary net/minecraft/class_10721
official gpc
named sheet
intermediary comp_3608
official a
named prefix
intermediary comp_3609
official b
  • Field Details

    • sheet

      private final Identifier sheet
      The field for the sheet record component.
    • prefix

      private final String prefix
      The field for the prefix record component.
  • Constructor Details

  • Method Details

    • method_67273

      public SpriteIdentifier method_67273(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      named method_67273 Lnet/minecraft/class_10721;method_67273(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/util/SpriteIdentifier;
      intermediary method_67273 Lnet/minecraft/class_10721;method_67273(Lnet/minecraft/class_2960;)Lnet/minecraft/class_4730;
      official a Lgpc;a(Lale;)Lhkg;
    • method_67274

      public SpriteIdentifier method_67274(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_67274 Lnet/minecraft/class_10721;method_67274(Ljava/lang/String;)Lnet/minecraft/client/util/SpriteIdentifier;
      intermediary method_67274 Lnet/minecraft/class_10721;method_67274(Ljava/lang/String;)Lnet/minecraft/class_4730;
      official a Lgpc;a(Ljava/lang/String;)Lhkg;
    • 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.
    • sheet

      public Identifier sheet()
      Returns the value of the sheet record component.
      Returns:
      the value of the sheet record component
    • prefix

      public String prefix()
      Returns the value of the prefix record component.
      Returns:
      the value of the prefix record component