Package net.minecraft.client.font
Record Class SpaceFont.Loader
java.lang.Object
java.lang.Record
net.minecraft.client.font.SpaceFont.Loader
- Record Components:
- advances-
- All Implemented Interfaces:
- FontLoader
- Enclosing class:
- SpaceFont
@Environment(CLIENT)
public static record SpaceFont.Loader(Map<Integer,Float> advances)
extends Record
implements FontLoader 
- Mappings:
- Namespace - Name - official - ego$a- intermediary - net/minecraft/class_7166$class_8554- named - net/minecraft/client/font/SpaceFont$Loader- official - c- intermediary - comp_1517- named - advances
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.font.FontLoaderFontLoader.Loadable, FontLoader.Reference
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionadvances()Returns the value of theadvancesrecord component.com.mojang.datafixers.util.Either<FontLoader.Loadable,FontLoader.Reference> build()final booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
advancesThe field for theadvancesrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Lego$a;a:Lcom/mojang/serialization/MapCodec;- intermediary - field_44791- Lnet/minecraft/class_7166$class_8554;field_44791:Lcom/mojang/serialization/MapCodec;- named - CODEC- Lnet/minecraft/client/font/SpaceFont$Loader;CODEC:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
Loader
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- FontLoader
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lerx;a()Lery;- intermediary - method_51731- Lnet/minecraft/class_389;method_51731()Lnet/minecraft/class_394;- named - getType- Lnet/minecraft/client/font/FontLoader;getType()Lnet/minecraft/client/font/FontType;
 
- 
build- Specified by:
- buildin interface- FontLoader
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lerx;b()Lcom/mojang/datafixers/util/Either;- intermediary - method_51734- Lnet/minecraft/class_389;method_51734()Lcom/mojang/datafixers/util/Either;- named - build- Lnet/minecraft/client/font/FontLoader;build()Lcom/mojang/datafixers/util/Either;
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
advancesReturns the value of theadvancesrecord component.- Returns:
- the value of the advancesrecord component
 
 
-