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
official fux
intermediary net/minecraft/class_4724
named net/minecraft/client/render/model/SpriteAtlasManager
  • Field Details

    • atlases

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

    • SpriteAtlasManager

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

    • getAtlas

      public SpriteAtlasTexture getAtlas(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lfux;a(Ladd;)Lftb;
      intermediary method_24098 Lnet/minecraft/class_4724;method_24098(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1059;
      named getAtlas Lnet/minecraft/client/render/model/SpriteAtlasManager;getAtlas(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/SpriteAtlasTexture;
    • 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
      official a Lfux;a(Lalh;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;
      named reload Lnet/minecraft/client/render/model/SpriteAtlasManager;reload(Lnet/minecraft/resource/ResourceManager;ILjava/util/concurrent/Executor;)Ljava/util/Map;