Package net.minecraft.client.texture
Class AsyncTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.ResourceTexture
net.minecraft.client.texture.AsyncTexture
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class AsyncTexture extends ResourceTexture
- Mappings:
Namespace Name official erp
intermediary net/minecraft/class_4005
named net/minecraft/client/texture/AsyncTexture
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.texture.ResourceTexture
ResourceTexture.TextureData
-
Field Summary
Fields Modifier and Type Field Description private CompletableFuture<ResourceTexture.TextureData>
future
Fields inherited from class net.minecraft.client.texture.ResourceTexture
location
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, glId, mipmap
-
Constructor Summary
Constructors Constructor Description AsyncTexture(ResourceManager resourceManager, Identifier identifier, Executor executor)
-
Method Summary
Modifier and Type Method Description CompletableFuture<Void>
getLoadCompleteFuture()
protected ResourceTexture.TextureData
loadTextureData(ResourceManager resourceManager)
private static Executor
method_22808(Executor executor)
void
registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier identifier, Executor executor)
Methods inherited from class net.minecraft.client.texture.ResourceTexture
load
Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, setFilter
-
Field Details
-
future
- Mappings:
Namespace Name Mixin selector official e
Lerp;e:Ljava/util/concurrent/CompletableFuture;
intermediary field_17894
Lnet/minecraft/class_4005;field_17894:Ljava/util/concurrent/CompletableFuture;
named future
Lnet/minecraft/client/texture/AsyncTexture;future:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
AsyncTexture
-
-
Method Details
-
loadTextureData
- Overrides:
loadTextureData
in classResourceTexture
- Mappings:
Namespace Name Mixin selector official b
Lerq;b(Lacx;)Lerq$a;
intermediary method_18153
Lnet/minecraft/class_1049;method_18153(Lnet/minecraft/class_3300;)Lnet/minecraft/class_1049$class_4006;
named loadTextureData
Lnet/minecraft/client/texture/ResourceTexture;loadTextureData(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
-
getLoadCompleteFuture
- Mappings:
Namespace Name Mixin selector official a
Lerp;a()Ljava/util/concurrent/CompletableFuture;
intermediary method_18148
Lnet/minecraft/class_4005;method_18148()Ljava/util/concurrent/CompletableFuture;
named getLoadCompleteFuture
Lnet/minecraft/client/texture/AsyncTexture;getLoadCompleteFuture()Ljava/util/concurrent/CompletableFuture;
-
registerTexture
public void registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier identifier, Executor executor)- Overrides:
registerTexture
in classAbstractTexture
- Mappings:
Namespace Name Mixin selector official a
Leri;a(Lerv;Lacx;Lwb;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
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
-
method_22808
- Mappings:
Namespace Name Mixin selector official a
Lerp;a(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;
named method_22808
Lnet/minecraft/client/texture/AsyncTexture;method_22808(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
-