Package net.minecraft.client.texture
Record Class FixedGlyphProvider
java.lang.Object
java.lang.Record
net.minecraft.client.texture.FixedGlyphProvider
- Record Components:
glyph-
- All Implemented Interfaces:
GlyphProvider
@Environment(CLIENT)
public record FixedGlyphProvider(BakedGlyph glyph)
extends Record
implements GlyphProvider
- Mappings:
Namespace Name named net/minecraft/client/texture/FixedGlyphProviderintermediary net/minecraft/class_11715official gifnamed glyphintermediary comp_4584official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BakedGlyphThe field for theglyphrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.get(int codePoint) getObfuscated(Random random, int width) glyph()Returns the value of theglyphrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
glyph
The field for theglyphrecord component.
-
-
Constructor Details
-
FixedGlyphProvider
-
-
Method Details
-
get
- Specified by:
getin interfaceGlyphProvider- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/font/GlyphProvider;get(I)Lnet/minecraft/client/font/BakedGlyph;intermediary method_72736Lnet/minecraft/class_11603;method_72736(I)Lnet/minecraft/class_11768;official aLgdb;a(I)Lgii;
-
getObfuscated
- Specified by:
getObfuscatedin interfaceGlyphProvider- Mappings:
Namespace Name Mixin selector named getObfuscatedLnet/minecraft/client/font/GlyphProvider;getObfuscated(Lnet/minecraft/util/math/random/Random;I)Lnet/minecraft/client/font/BakedGlyph;intermediary method_72737Lnet/minecraft/class_11603;method_72737(Lnet/minecraft/class_5819;I)Lnet/minecraft/class_11768;official aLgdb;a(Lbfq;I)Lgii;
-
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). -
glyph
Returns the value of theglyphrecord component.- Returns:
- the value of the
glyphrecord component
-