Package net.minecraft.client.font
Record Class FontManager.FontKey
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.FontKey
- Record Components:
- fontId-
- pack-
- index-
- Enclosing class:
- FontManager
@Environment(CLIENT)
private static record FontManager.FontKey(Identifier fontId, String pack, int index)
extends Record
- Mappings:
- Namespace - Name - official - erm$a- intermediary - net/minecraft/class_378$class_8534- named - net/minecraft/client/font/FontManager$FontKey- official - a- intermediary - comp_1491- named - fontId- official - b- intermediary - comp_1492- named - pack- official - c- intermediary - comp_1493- named - index
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fontId()Returns the value of thefontIdrecord component.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.pack()Returns the value of thepackrecord component.toString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
FontKeyFontKey(Identifier identifier, String string, int int2) 
 
- 
- 
Method Details- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
fontIdReturns the value of thefontIdrecord component.- Returns:
- the value of the fontIdrecord component
 
- 
packReturns the value of thepackrecord component.- Returns:
- the value of the packrecord component
 
- 
indexpublic int index()Returns the value of theindexrecord component.- Returns:
- the value of the indexrecord component
 
 
-