Package net.minecraft
Record Class class_8557
java.lang.Object
java.lang.Record
net.minecraft.class_8557
- Record Components:
location-size-oversample-shift-skip-
- All Implemented Interfaces:
FontLoader
@Environment(CLIENT)
public record class_8557(Identifier location, float size, float oversample, class_8557.class_8558 shift, String skip)
extends Record
implements FontLoader
- Mappings:
Namespace Name official erlintermediary net/minecraft/class_8557named net/minecraft/class_8557official cintermediary comp_1524named locationofficial dintermediary comp_1525named sizeofficial eintermediary comp_1526named oversampleofficial fintermediary comp_1527named shiftofficial gintermediary comp_1528named skip
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.font.FontLoader
FontLoader.Loadable, FontLoader.Reference -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_8557>private static final com.mojang.serialization.Codec<String>private final IdentifierThe field for thelocationrecord component.private final floatThe field for theoversamplerecord component.private final class_8557.class_8558The field for theshiftrecord component.private final floatThe field for thesizerecord component.private final StringThe field for theskiprecord component.Fields inherited from interface net.minecraft.client.font.FontLoader
field_44801 -
Constructor Summary
ConstructorsConstructorDescriptionclass_8557(Identifier identifier, float float2, float float3, class_8557.class_8558 class_8558, String string) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<FontLoader.Loadable,FontLoader.Reference> build()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.private Fontmethod_51759(ResourceManager resourceManager) floatReturns the value of theoversamplerecord component.shift()Returns the value of theshiftrecord component.floatsize()Returns the value of thesizerecord component.skip()Returns the value of theskiprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
location
The field for thelocationrecord component. -
size
private final float sizeThe field for thesizerecord component. -
oversample
private final float oversampleThe field for theoversamplerecord component. -
shift
The field for theshiftrecord component. -
skip
The field for theskiprecord component. -
field_44805
- Mappings:
Namespace Name Mixin selector official hLerl;h:Lcom/mojang/serialization/Codec;intermediary field_44805Lnet/minecraft/class_8557;field_44805:Lcom/mojang/serialization/Codec;named field_44805Lnet/minecraft/class_8557;field_44805:Lcom/mojang/serialization/Codec;
-
field_44804
- Mappings:
Namespace Name Mixin selector official aLerl;a:Lcom/mojang/serialization/MapCodec;intermediary field_44804Lnet/minecraft/class_8557;field_44804:Lcom/mojang/serialization/MapCodec;named field_44804Lnet/minecraft/class_8557;field_44804:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_8557
public class_8557(Identifier identifier, float float2, float float3, class_8557.class_8558 class_8558, String string)
-
-
Method Details
-
method_51731
- Specified by:
method_51731in interfaceFontLoader- Mappings:
Namespace Name Mixin selector official aLeri;a()Lerj;intermediary method_51731Lnet/minecraft/class_389;method_51731()Lnet/minecraft/class_394;named method_51731Lnet/minecraft/client/font/FontLoader;method_51731()Lnet/minecraft/client/font/FontType;
-
build
- Specified by:
buildin interfaceFontLoader- Mappings:
Namespace Name Mixin selector official bLeri;b()Lcom/mojang/datafixers/util/Either;intermediary method_51734Lnet/minecraft/class_389;method_51734()Lcom/mojang/datafixers/util/Either;named buildLnet/minecraft/client/font/FontLoader;build()Lcom/mojang/datafixers/util/Either;
-
method_51759
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLerl;a(Lakv;)Lefy;intermediary method_51759Lnet/minecraft/class_8557;method_51759(Lnet/minecraft/class_3300;)Lnet/minecraft/class_390;named method_51759Lnet/minecraft/class_8557;method_51759(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/font/Font;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
size
public float size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
oversample
public float oversample()Returns the value of theoversamplerecord component.- Returns:
- the value of the
oversamplerecord component
-
shift
Returns the value of theshiftrecord component.- Returns:
- the value of the
shiftrecord component
-
skip
Returns the value of theskiprecord component.- Returns:
- the value of the
skiprecord component
-