Package net.minecraft.client.util
Record Class SpriteMapper
java.lang.Object
java.lang.Record
net.minecraft.client.util.SpriteMapper
- Record Components:
sheet-prefix-
- Mappings:
Namespace Name named net/minecraft/client/util/SpriteMapperintermediary net/minecraft/class_10721official grmnamed sheetintermediary comp_3608official anamed prefixintermediary comp_3609official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.map(Identifier id) mapVanilla(String id) prefix()Returns the value of theprefixrecord component.sheet()Returns the value of thesheetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
SpriteMapper
-
-
Method Details
-
map
- Mappings:
Namespace Name Mixin selector named mapLnet/minecraft/client/util/SpriteMapper;map(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/util/SpriteIdentifier;intermediary method_67273Lnet/minecraft/class_10721;method_67273(Lnet/minecraft/class_2960;)Lnet/minecraft/class_4730;official aLgrm;a(Lalr;)Lhmx;
-
mapVanilla
- Mappings:
Namespace Name Mixin selector named mapVanillaLnet/minecraft/client/util/SpriteMapper;mapVanilla(Ljava/lang/String;)Lnet/minecraft/client/util/SpriteIdentifier;intermediary method_67274Lnet/minecraft/class_10721;method_67274(Ljava/lang/String;)Lnet/minecraft/class_4730;official aLgrm;a(Ljava/lang/String;)Lhmx;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
sheet
Returns the value of thesheetrecord component.- Returns:
- the value of the
sheetrecord component
-
prefix
Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-