Package net.minecraft.client.texture
Record Class SpriteAtlasGlyphs.BakedGlyph
java.lang.Object
java.lang.Record
net.minecraft.client.texture.SpriteAtlasGlyphs.BakedGlyph
- Record Components:
bakedGlyph-
- All Implemented Interfaces:
OnceBakedGlyph
- Enclosing class:
SpriteAtlasGlyphs
@Environment(CLIENT)
private static record SpriteAtlasGlyphs.BakedGlyph(BakedGlyph bakedGlyph)
extends Record
implements OnceBakedGlyph
- Mappings:
Namespace Name named net/minecraft/client/texture/SpriteAtlasGlyphs$BakedGlyphintermediary net/minecraft/class_11714$class_11716official gdj$bnamed bakedGlyphintermediary comp_4585official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatprivate final BakedGlyphThe field for thebakedGlyphrecord component.static final GlyphA stub implementation forGlyph, which only requires the glyph's advance.static final float -
Constructor Summary
ConstructorsConstructorDescriptionBakedGlyph(BakedGlyph bakedGlyph) Creates an instance of aBakedGlyphrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebakedGlyphrecord component.(package private) static BakedGlyphcreateBakedGlyph(TextRenderLayerSet renderLayerSet, GpuTextureView textureView, Sprite sprite) final booleanIndicates whether some other object is "equal to" this one.glyph()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
bakedGlyph
The field for thebakedGlyphrecord component. -
ADVANCE
public static final float ADVANCE- See Also:
- Mappings:
Namespace Name Mixin selector named ADVANCELnet/minecraft/client/texture/SpriteAtlasGlyphs$BakedGlyph;ADVANCE:Fintermediary field_61931Lnet/minecraft/class_11714$class_11716;field_61931:Fofficial aLgdj$b;a:F
-
MAX_X
public static final float MAX_X- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_XLnet/minecraft/client/texture/SpriteAtlasGlyphs$BakedGlyph;MAX_X:Fintermediary field_61932Lnet/minecraft/class_11714$class_11716;field_61932:Fofficial bLgdj$b;b:F
-
glyph
A stub implementation forGlyph, which only requires the glyph's advance.- Mappings:
Namespace Name Mixin selector named glyphLnet/minecraft/client/texture/SpriteAtlasGlyphs$BakedGlyph;glyph:Lnet/minecraft/client/font/Glyph;intermediary field_61933Lnet/minecraft/class_11714$class_11716;field_61933:Lnet/minecraft/class_379;official cLgdj$b;c:Lfnf;
-
-
Constructor Details
-
BakedGlyph
BakedGlyph(BakedGlyph bakedGlyph) Creates an instance of aBakedGlyphrecord class.- Parameters:
bakedGlyph- the value for thebakedGlyphrecord component
-
-
Method Details
-
createBakedGlyph
static BakedGlyph createBakedGlyph(TextRenderLayerSet renderLayerSet, GpuTextureView textureView, Sprite sprite) - Mappings:
Namespace Name Mixin selector named createBakedGlyphLnet/minecraft/client/texture/SpriteAtlasGlyphs$BakedGlyph;createBakedGlyph(Lnet/minecraft/client/font/TextRenderLayerSet;Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/texture/Sprite;)Lnet/minecraft/client/font/BakedGlyph;intermediary method_73145Lnet/minecraft/class_11714$class_11716;method_73145(Lnet/minecraft/class_8538;Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_1058;)Lnet/minecraft/class_382;official aLgdj$b;a(Lgdp;Lcom/mojang/blaze3d/textures/GpuTextureView;Lhvo;)Lgdt;
-
glyph
- Specified by:
glyphin interfaceOnceBakedGlyph- Mappings:
Namespace Name Mixin selector named glyphLnet/minecraft/client/font/OnceBakedGlyph;glyph()Lnet/minecraft/client/font/Glyph;intermediary method_72790Lnet/minecraft/class_11643;method_72790()Lnet/minecraft/class_379;official aLgds;a()Lfnf;
-
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). -
bakedGlyph
Returns the value of thebakedGlyphrecord component.- Specified by:
bakedGlyphin interfaceOnceBakedGlyph- Returns:
- the value of the
bakedGlyphrecord component
-