Package net.minecraft.client.texture
Class ResourceTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.ResourceTexture
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AsyncTexture
,PlayerSkinTexture
,SplashOverlay.LogoTexture
- Mappings:
Namespace Name named net/minecraft/client/texture/ResourceTexture
intermediary net/minecraft/class_1049
official gou
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Identifier
(package private) static final Logger
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(ResourceManager manager) protected ResourceTexture.TextureData
loadTextureData
(ResourceManager resourceManager) private void
upload
(NativeImage image, boolean blur, boolean clamp) Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/texture/ResourceTexture;LOGGER:Lorg/slf4j/Logger;
intermediary field_5225
Lnet/minecraft/class_1049;field_5225:Lorg/slf4j/Logger;
official f
Lgou;f:Lorg/slf4j/Logger;
-
location
- Mappings:
Namespace Name Mixin selector named location
Lnet/minecraft/client/texture/ResourceTexture;location:Lnet/minecraft/util/Identifier;
intermediary field_5224
Lnet/minecraft/class_1049;field_5224:Lnet/minecraft/class_2960;
official e
Lgou;e:Lalf;
-
-
Constructor Details
-
ResourceTexture
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/ResourceTexture;<init>(Lnet/minecraft/util/Identifier;)V
intermediary <init>
Lnet/minecraft/class_1049;<init>(Lnet/minecraft/class_2960;)V
official <init>
Lgou;<init>(Lalf;)V
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
intermediary method_4625
Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
official a
Lgom;a(Laup;)V
-
upload
- Mappings:
Namespace Name Mixin selector named upload
Lnet/minecraft/client/texture/ResourceTexture;upload(Lnet/minecraft/client/texture/NativeImage;ZZ)V
intermediary method_22810
Lnet/minecraft/class_1049;method_22810(Lnet/minecraft/class_1011;ZZ)V
official a
Lgou;a(Lezb;ZZ)V
-
loadTextureData
- 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
Lgou;b(Laup;)Lgou$a;
-