Class SpriteAtlasManager

java.lang.Object
net.minecraft.client.render.model.SpriteAtlasManager
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class SpriteAtlasManager extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/render/model/SpriteAtlasManager
intermediary net/minecraft/class_4724
official gsf
  • Field Details

    • atlases

      private final Map<Identifier,SpriteAtlasManager.Atlas> atlases
      Mappings:
      Namespace Name Mixin selector
      named atlases Lnet/minecraft/client/render/model/SpriteAtlasManager;atlases:Ljava/util/Map;
      intermediary field_21746 Lnet/minecraft/class_4724;field_21746:Ljava/util/Map;
      official a Lgsf;a:Ljava/util/Map;
  • Constructor Details

    • SpriteAtlasManager

      public SpriteAtlasManager(Map<Identifier,Identifier> loaders, TextureManager textureManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/SpriteAtlasManager;<init>(Ljava/util/Map;Lnet/minecraft/client/texture/TextureManager;)V
      intermediary <init> Lnet/minecraft/class_4724;<init>(Ljava/util/Map;Lnet/minecraft/class_1060;)V
      official <init> Lgsf;<init>(Ljava/util/Map;Lgqg;)V
  • Method Details

    • getAtlas

      public SpriteAtlasTexture getAtlas(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named getAtlas Lnet/minecraft/client/render/model/SpriteAtlasManager;getAtlas(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/SpriteAtlasTexture;
      intermediary method_24098 Lnet/minecraft/class_4724;method_24098(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1059;
      official a Lgsf;a(Lakq;)Lgqe;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • reload

      public Map<Identifier,CompletableFuture<SpriteAtlasManager.AtlasPreparation>> reload(ResourceManager resourceManager, int mipmapLevels, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      named reload Lnet/minecraft/client/render/model/SpriteAtlasManager;reload(Lnet/minecraft/resource/ResourceManager;ILjava/util/concurrent/Executor;)Ljava/util/Map;
      intermediary method_45862 Lnet/minecraft/class_4724;method_45862(Lnet/minecraft/class_3300;ILjava/util/concurrent/Executor;)Ljava/util/Map;
      official a Lgsf;a(Laud;ILjava/util/concurrent/Executor;)Ljava/util/Map;