Class AsyncTexture

All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class AsyncTexture extends ResourceTexture
Mappings:
Namespace Name
named net/minecraft/client/texture/AsyncTexture
intermediary net/minecraft/class_4005
official gqd
  • Field Details

    • future

      Mappings:
      Namespace Name Mixin selector
      named future Lnet/minecraft/client/texture/AsyncTexture;future:Ljava/util/concurrent/CompletableFuture;
      intermediary field_17894 Lnet/minecraft/class_4005;field_17894:Ljava/util/concurrent/CompletableFuture;
      official f Lgqd;f:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • AsyncTexture

      public AsyncTexture(ResourceManager resourceManager, Identifier id, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/AsyncTexture;<init>(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;Ljava/util/concurrent/Executor;)V
      intermediary <init> Lnet/minecraft/class_4005;<init>(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;Ljava/util/concurrent/Executor;)V
      official <init> Lgqd;<init>(Laue;Lakr;Ljava/util/concurrent/Executor;)V
  • Method Details

    • loadTextureData

      protected ResourceTexture.TextureData loadTextureData(ResourceManager resourceManager)
      Overrides:
      loadTextureData in class ResourceTexture
      Mappings:
      Namespace Name Mixin selector
      named loadTextureData Lnet/minecraft/client/texture/ResourceTexture;loadTextureData(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
      intermediary method_18153 Lnet/minecraft/class_1049;method_18153(Lnet/minecraft/class_3300;)Lnet/minecraft/class_1049$class_4006;
      official b Lgqe;b(Laue;)Lgqe$a;
    • getLoadCompleteFuture

      public CompletableFuture<Void> getLoadCompleteFuture()
      Mappings:
      Namespace Name Mixin selector
      named getLoadCompleteFuture Lnet/minecraft/client/texture/AsyncTexture;getLoadCompleteFuture()Ljava/util/concurrent/CompletableFuture;
      intermediary method_18148 Lnet/minecraft/class_4005;method_18148()Ljava/util/concurrent/CompletableFuture;
      official d Lgqd;d()Ljava/util/concurrent/CompletableFuture;
    • registerTexture

      public void registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor)
      Overrides:
      registerTexture in class AbstractTexture
      Mappings:
      Namespace Name Mixin selector
      named registerTexture Lnet/minecraft/client/texture/AbstractTexture;registerTexture(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;Ljava/util/concurrent/Executor;)V
      intermediary method_18169 Lnet/minecraft/class_1044;method_18169(Lnet/minecraft/class_1060;Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;Ljava/util/concurrent/Executor;)V
      official a Lgpw;a(Lgqm;Laue;Lakr;Ljava/util/concurrent/Executor;)V
    • createRenderThreadExecutor

      private static Executor createRenderThreadExecutor(Executor executor)
      Mappings:
      Namespace Name Mixin selector
      named createRenderThreadExecutor Lnet/minecraft/client/texture/AsyncTexture;createRenderThreadExecutor(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
      intermediary method_22808 Lnet/minecraft/class_4005;method_22808(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
      official a Lgqd;a(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;