Package net.minecraft.client.font
Class GlyphAtlasTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.font.GlyphAtlasTexture
- All Implemented Interfaces:
AutoCloseable,DynamicTexture
@Environment(CLIENT)
public class GlyphAtlasTexture
extends AbstractTexture
implements DynamicTexture
- Mappings:
Namespace Name named net/minecraft/client/font/GlyphAtlasTextureintermediary net/minecraft/class_380official gia
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final GlyphAtlasTexture.Slotprivate static final intprivate final TextRenderLayerSetFields inherited from class net.minecraft.client.texture.AbstractTexture
glTexture, glTextureView -
Constructor Summary
ConstructorsConstructorDescriptionGlyphAtlasTexture(Supplier<String> nameSupplier, TextRenderLayerSet textRenderLayers, boolean hasColor) -
Method Summary
Modifier and TypeMethodDescriptionbake(GlyphMetrics metrics, UploadableGlyph glyph) voidsave(Identifier id, Path path) Methods inherited from class net.minecraft.client.texture.AbstractTexture
close, getGlTexture, getGlTextureView, setClamp, setFilter, setUseMipmaps
-
Field Details
-
SLOT_LENGTH
private static final int SLOT_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named SLOT_LENGTHLnet/minecraft/client/font/GlyphAtlasTexture;SLOT_LENGTH:Iintermediary field_32227Lnet/minecraft/class_380;field_32227:Iofficial cLgia;c:I
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayersLnet/minecraft/client/font/GlyphAtlasTexture;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;intermediary field_44759Lnet/minecraft/class_380;field_44759:Lnet/minecraft/class_8538;official dLgia;d:Lgib;
-
hasColor
private final boolean hasColor- Mappings:
Namespace Name Mixin selector named hasColorLnet/minecraft/client/font/GlyphAtlasTexture;hasColor:Zintermediary field_2263Lnet/minecraft/class_380;field_2263:Zofficial eLgia;e:Z
-
rootSlot
- Mappings:
Namespace Name Mixin selector named rootSlotLnet/minecraft/client/font/GlyphAtlasTexture;rootSlot:Lnet/minecraft/client/font/GlyphAtlasTexture$Slot;intermediary field_2264Lnet/minecraft/class_380;field_2264:Lnet/minecraft/class_380$class_381;official fLgia;f:Lgia$a;
-
-
Constructor Details
-
GlyphAtlasTexture
public GlyphAtlasTexture(Supplier<String> nameSupplier, TextRenderLayerSet textRenderLayers, boolean hasColor) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/font/GlyphAtlasTexture;<init>(Ljava/util/function/Supplier;Lnet/minecraft/client/font/TextRenderLayerSet;Z)Vintermediary <init>Lnet/minecraft/class_380;<init>(Ljava/util/function/Supplier;Lnet/minecraft/class_8538;Z)Vofficial <init>Lgia;<init>(Ljava/util/function/Supplier;Lgib;Z)V
-
-
Method Details
-
bake
- Mappings:
Namespace Name Mixin selector named bakeLnet/minecraft/client/font/GlyphAtlasTexture;bake(Lnet/minecraft/client/font/GlyphMetrics;Lnet/minecraft/client/font/UploadableGlyph;)Lnet/minecraft/client/font/BakedGlyphImpl;intermediary method_2022Lnet/minecraft/class_380;method_2022(Lnet/minecraft/class_379;Lnet/minecraft/class_383;)Lnet/minecraft/class_382;official aLgia;a(Lfri;Lfrh;)Lgij;
-
save
- Specified by:
savein interfaceDynamicTexture- Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/client/texture/DynamicTexture;save(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)Vintermediary method_49712Lnet/minecraft/class_8215;method_49712(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)Vofficial aLica;a(Lamj;Ljava/nio/file/Path;)V
-