Package net.minecraft.client.font
Record Class FontManager.ProviderIndex
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.ProviderIndex
- Record Components:
providers-allProviders-
- Enclosing class:
FontManager
@Environment(CLIENT)
private static record FontManager.ProviderIndex(Map<Identifier,List<Font>> providers, List<Font> allProviders)
extends Record
- Mappings:
Namespace Name official erd$dintermediary net/minecraft/class_378$class_8536named net/minecraft/client/font/FontManager$ProviderIndexofficial aintermediary comp_1496named providersofficial bintermediary comp_1497named allProviders
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theallProvidersrecord component.private final Map<Identifier,List<Font>> The field for theprovidersrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallProvidersrecord component.final 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. -
allProviders
The field for theallProvidersrecord component.
-
-
Constructor Details
-
ProviderIndex
-
-
Method Details
-
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). -
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
allProviders
Returns the value of theallProvidersrecord component.- Returns:
- the value of the
allProvidersrecord component
-