Package net.minecraft.client.font
Record Class FontManager.Providers
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.Providers
- Record Components:
providers-
- Enclosing class:
FontManager
@Environment(CLIENT)
private static record FontManager.Providers(List<FontLoader> providers)
extends Record
- Mappings:
Namespace Name official erd$cintermediary net/minecraft/class_378$class_8556named net/minecraft/client/font/FontManager$Providersofficial bintermediary comp_1518named providers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FontManager.Providers>private final List<FontLoader>The field for theprovidersrecord component. -
Constructor Summary
Constructors -
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
- Mappings:
Namespace Name Mixin selector official aLerd$c;a:Lcom/mojang/serialization/Codec;intermediary field_44798Lnet/minecraft/class_378$class_8556;field_44798:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/client/font/FontManager$Providers;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Providers
-
-
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
-