Record Class FontManager.FontDefinitionFile
java.lang.Object
java.lang.Record
net.minecraft.client.gui.font.FontManager.FontDefinitionFile
- Enclosing class:
FontManager
private static record FontManager.FontDefinitionFile(List<GlyphProviderDefinition.Conditional> providers)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FontManager.FontDefinitionFile> private final List<GlyphProviderDefinition.Conditional> The field for theprovidersrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreates an instance of aFontDefinitionFilerecord class. -
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.Returns the value of theprovidersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
providers
The field for theprovidersrecord component. -
CODEC
-
-
Constructor Details
-
FontDefinitionFile
Creates an instance of aFontDefinitionFilerecord class.- Parameters:
providers- the value for theprovidersrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-