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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 - 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;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
sheetReturns the value of thesheetrecord component.- Returns:
- the value of the sheetrecord component
 
- 
prefixReturns the value of theprefixrecord component.- Returns:
- the value of the prefixrecord component
 
 
-