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
official evf
intermediary net/minecraft/class_380
named net/minecraft/client/font/GlyphAtlasTexture
  • Field Details

    • SLOT_LENGTH

      private static final int SLOT_LENGTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Levf;e:I
      intermediary field_32227 Lnet/minecraft/class_380;field_32227:I
      named SLOT_LENGTH Lnet/minecraft/client/font/GlyphAtlasTexture;SLOT_LENGTH:I
    • textRenderLayers

      private final TextRenderLayerSet textRenderLayers
      Mappings:
      Namespace Name Mixin selector
      official f Levf;f:Levg;
      intermediary field_44759 Lnet/minecraft/class_380;field_44759:Lnet/minecraft/class_8538;
      named textRenderLayers Lnet/minecraft/client/font/GlyphAtlasTexture;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;
    • hasColor

      private final boolean hasColor
      Mappings:
      Namespace Name Mixin selector
      official g Levf;g:Z
      intermediary field_2263 Lnet/minecraft/class_380;field_2263:Z
      named hasColor Lnet/minecraft/client/font/GlyphAtlasTexture;hasColor:Z
    • rootSlot

      private final GlyphAtlasTexture.Slot rootSlot
      Mappings:
      Namespace Name Mixin selector
      official h Levf;h:Levf$a;
      intermediary field_2264 Lnet/minecraft/class_380;field_2264:Lnet/minecraft/class_380$class_381;
      named rootSlot Lnet/minecraft/client/font/GlyphAtlasTexture;rootSlot:Lnet/minecraft/client/font/GlyphAtlasTexture$Slot;
  • Constructor Details

    • GlyphAtlasTexture

      public GlyphAtlasTexture(TextRenderLayerSet textRenderLayers, boolean hasColor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Levf;<init>(Levg;Z)V
      intermediary <init> Lnet/minecraft/class_380;<init>(Lnet/minecraft/class_8538;Z)V
      named <init> Lnet/minecraft/client/font/GlyphAtlasTexture;<init>(Lnet/minecraft/client/font/TextRenderLayerSet;Z)V
  • Method Details

    • load

      public void load(ResourceManager manager)
      Specified by:
      load in class AbstractTexture
      Mappings:
      Namespace Name Mixin selector
      official a Lfyp;a(Lant;)V
      intermediary method_4625 Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
      named load Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class AbstractTexture
    • getGlyphRenderer

      @Nullable public @Nullable GlyphRenderer getGlyphRenderer(RenderableGlyph glyph)
      Mappings:
      Namespace Name Mixin selector
      official a Levf;a(Lejt;)Levi;
      intermediary method_2022 Lnet/minecraft/class_380;method_2022(Lnet/minecraft/class_383;)Lnet/minecraft/class_382;
      named getGlyphRenderer Lnet/minecraft/client/font/GlyphAtlasTexture;getGlyphRenderer(Lnet/minecraft/client/font/RenderableGlyph;)Lnet/minecraft/client/font/GlyphRenderer;
    • save

      public void save(Identifier id, Path path)
      Specified by:
      save in interface DynamicTexture
      Mappings:
      Namespace Name Mixin selector
      official a Lfyq;a(Laew;Ljava/nio/file/Path;)V
      intermediary method_49712 Lnet/minecraft/class_8215;method_49712(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)V
      named save Lnet/minecraft/client/texture/DynamicTexture;save(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)V