Record Class FontManager.Preparation
java.lang.Object
java.lang.Record
net.minecraft.client.gui.font.FontManager.Preparation
- Enclosing class:
FontManager
private static record FontManager.Preparation(Map<Identifier, List<GlyphProvider.Conditional>> fontSets, List<GlyphProvider> allProviders)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GlyphProvider> The field for theallProvidersrecord component.private final Map<Identifier, List<GlyphProvider.Conditional>> The field for thefontSetsrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePreparation(Map<Identifier, List<GlyphProvider.Conditional>> fontSets, List<GlyphProvider> allProviders) Creates an instance of aPreparationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallProvidersrecord component.final booleanIndicates whether some other object is "equal to" this one.fontSets()Returns the value of thefontSetsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
fontSets
The field for thefontSetsrecord component. -
allProviders
The field for theallProvidersrecord component.
-
-
Constructor Details
-
Preparation
private Preparation(Map<Identifier, List<GlyphProvider.Conditional>> fontSets, List<GlyphProvider> allProviders) Creates an instance of aPreparationrecord class.- Parameters:
fontSets- the value for thefontSetsrecord componentallProviders- the value for theallProvidersrecord 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). -
fontSets
Returns the value of thefontSetsrecord component.- Returns:
- the value of the
fontSetsrecord component
-
allProviders
Returns the value of theallProvidersrecord component.- Returns:
- the value of the
allProvidersrecord component
-