Class TextureManager

java.lang.Object
net.minecraft.client.texture.TextureManager
All Implemented Interfaces:
ClientTickable, ResourceReloadListener

@Environment(CLIENT) public class TextureManager extends Object implements ClientTickable, ResourceReloadListener
Mappings:
Namespace Name
official bvf
intermediary net/minecraft/class_1532
named net/minecraft/client/texture/TextureManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_8099 Lnet/minecraft/class_1532;field_8099:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/texture/TextureManager;LOGGER:Lorg/apache/logging/log4j/Logger;
    • textures

      private final Map<Identifier,Texture> textures
      Mappings:
      Namespace Name Mixin selector
      official b Lbvf;b:Ljava/util/Map;
      intermediary field_6575 Lnet/minecraft/class_1532;field_6575:Ljava/util/Map;
      named textures Lnet/minecraft/client/texture/TextureManager;textures:Ljava/util/Map;
    • tickables

      private final List<ClientTickable> tickables
      Mappings:
      Namespace Name Mixin selector
      official c Lbvf;c:Ljava/util/List;
      intermediary field_6577 Lnet/minecraft/class_1532;field_6577:Ljava/util/List;
      named tickables Lnet/minecraft/client/texture/TextureManager;tickables:Ljava/util/List;
    • dynamicIdCounter

      private final Map<String,Integer> dynamicIdCounter
      Mappings:
      Namespace Name Mixin selector
      official d Lbvf;d:Ljava/util/Map;
      intermediary field_6578 Lnet/minecraft/class_1532;field_6578:Ljava/util/Map;
      named dynamicIdCounter Lnet/minecraft/client/texture/TextureManager;dynamicIdCounter:Ljava/util/Map;
    • resourceManager

      private ResourceManager resourceManager
      Mappings:
      Namespace Name Mixin selector
      official e Lbvf;e:Lbwd;
      intermediary field_6579 Lnet/minecraft/class_1532;field_6579:Lnet/minecraft/class_1654;
      named resourceManager Lnet/minecraft/client/texture/TextureManager;resourceManager:Lnet/minecraft/resource/ResourceManager;
  • Constructor Details

    • TextureManager

      public TextureManager(ResourceManager resourceManager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvf;<init>(Lbwd;)V
      intermediary <init> Lnet/minecraft/class_1532;<init>(Lnet/minecraft/class_1654;)V
      named <init> Lnet/minecraft/client/texture/TextureManager;<init>(Lnet/minecraft/resource/ResourceManager;)V
  • Method Details

    • bindTexture

      public void bindTexture(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf;a(Lkl;)V
      intermediary method_5847 Lnet/minecraft/class_1532;method_5847(Lnet/minecraft/class_1653;)V
      named bindTexture Lnet/minecraft/client/texture/TextureManager;bindTexture(Lnet/minecraft/util/Identifier;)V
    • loadTickableTexture

      public boolean loadTickableTexture(Identifier identifier, TickableTexture texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf;a(Lkl;Lbvj;)Z
      intermediary method_5850 Lnet/minecraft/class_1532;method_5850(Lnet/minecraft/class_1653;Lnet/minecraft/class_1643;)Z
      named loadTickableTexture Lnet/minecraft/client/texture/TextureManager;loadTickableTexture(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/texture/TickableTexture;)Z
    • loadTexture

      public boolean loadTexture(Identifier identifier, Texture texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf;a(Lkl;Lbvg;)Z
      intermediary method_5849 Lnet/minecraft/class_1532;method_5849(Lnet/minecraft/class_1653;Lnet/minecraft/class_319;)Z
      named loadTexture Lnet/minecraft/client/texture/TextureManager;loadTexture(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/texture/Texture;)Z
    • getTexture

      public Texture getTexture(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Lbvf;b(Lkl;)Lbvg;
      intermediary method_5852 Lnet/minecraft/class_1532;method_5852(Lnet/minecraft/class_1653;)Lnet/minecraft/class_319;
      named getTexture Lnet/minecraft/client/texture/TextureManager;getTexture(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/Texture;
    • registerDynamicTexture

      public Identifier registerDynamicTexture(String prefix, NativeImageBackedTexture texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf;a(Ljava/lang/String;Lbuu;)Lkl;
      intermediary method_5851 Lnet/minecraft/class_1532;method_5851(Ljava/lang/String;Lnet/minecraft/class_1636;)Lnet/minecraft/class_1653;
      named registerDynamicTexture Lnet/minecraft/client/texture/TextureManager;registerDynamicTexture(Ljava/lang/String;Lnet/minecraft/client/texture/NativeImageBackedTexture;)Lnet/minecraft/util/Identifier;
    • tick

      public void tick()
      Specified by:
      tick in interface ClientTickable
      Mappings:
      Namespace Name Mixin selector
      official e Lbvi;e()V
      intermediary method_5871 Lnet/minecraft/class_1642;method_5871()V
      named tick Lnet/minecraft/client/ClientTickable;tick()V
    • close

      public void close(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official c Lbvf;c(Lkl;)V
      intermediary method_7015 Lnet/minecraft/class_1532;method_7015(Lnet/minecraft/class_1653;)V
      named close Lnet/minecraft/client/texture/TextureManager;close(Lnet/minecraft/util/Identifier;)V
    • reload

      public void reload(ResourceManager resourceManager)
      Specified by:
      reload in interface ResourceReloadListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbwe;a(Lbwd;)V
      intermediary method_5895 Lnet/minecraft/class_286;method_5895(Lnet/minecraft/class_1654;)V
      named reload Lnet/minecraft/resource/ResourceReloadListener;reload(Lnet/minecraft/resource/ResourceManager;)V