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/SpriteMapper
intermediary net/minecraft/class_10721
official grm
named sheet
intermediary comp_3608
official a
named prefix
intermediary comp_3609
official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.map
(Identifier id) mapVanilla
(String id) prefix()
Returns the value of theprefix
record component.sheet()
Returns the value of thesheet
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
map
- Mappings:
Namespace Name Mixin selector named map
Lnet/minecraft/client/util/SpriteMapper;map(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
Lgrm;a(Lalr;)Lhmx;
-
mapVanilla
- Mappings:
Namespace Name Mixin selector named mapVanilla
Lnet/minecraft/client/util/SpriteMapper;mapVanilla(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
Lgrm;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 thesheet
record component.- Returns:
- the value of the
sheet
record component
-
prefix
Returns the value of theprefix
record component.- Returns:
- the value of the
prefix
record component
-