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

    • atlases

      private final Map<Identifier,SpriteAtlasTexture> atlases
      Mappings:
      Namespace Name Mixin selector
      official a Lfhv;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(Collection<SpriteAtlasTexture> atlases)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhv;<init>(Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_4724;<init>(Ljava/util/Collection;)V
      named <init> Lnet/minecraft/client/render/model/SpriteAtlasManager;<init>(Ljava/util/Collection;)V
  • Method Details

    • getAtlas

      public SpriteAtlasTexture getAtlas(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhv;a(Laaj;)Lfif;
      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;
    • getSprite

      public Sprite getSprite(SpriteIdentifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhv;a(Lfjv;)Lfig;
      intermediary method_24097 Lnet/minecraft/class_4724;method_24097(Lnet/minecraft/class_4730;)Lnet/minecraft/class_1058;
      named getSprite Lnet/minecraft/client/render/model/SpriteAtlasManager;getSprite(Lnet/minecraft/client/util/SpriteIdentifier;)Lnet/minecraft/client/texture/Sprite;
    • close

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