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 official ficintermediary net/minecraft/class_1049named net/minecraft/client/texture/ResourceTexture
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Identifier(package private) static final org.slf4j.LoggerFields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload(ResourceManager manager) protected ResourceTexture.TextureDataloadTextureData(ResourceManager resourceManager) private voidupload(NativeImage image, boolean blur, boolean clamp) Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official fLfic;f:Lorg/slf4j/Logger;intermediary field_5225Lnet/minecraft/class_1049;field_5225:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/texture/ResourceTexture;LOGGER:Lorg/slf4j/Logger;
-
location
- Mappings:
Namespace Name Mixin selector official eLfic;e:Laaj;intermediary field_5224Lnet/minecraft/class_1049;field_5224:Lnet/minecraft/class_2960;named locationLnet/minecraft/client/texture/ResourceTexture;location:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ResourceTexture
- Mappings:
Namespace Name Mixin selector official <init>Lfic;<init>(Laaj;)Vintermediary <init>Lnet/minecraft/class_1049;<init>(Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/client/texture/ResourceTexture;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
load
- Specified by:
loadin classAbstractTexture- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLfhu;a(Lahu;)Vintermediary method_4625Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)Vnamed loadLnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
-
upload
- Mappings:
Namespace Name Mixin selector official aLfic;a(Ldyt;ZZ)Vintermediary method_22810Lnet/minecraft/class_1049;method_22810(Lnet/minecraft/class_1011;ZZ)Vnamed uploadLnet/minecraft/client/texture/ResourceTexture;upload(Lnet/minecraft/client/texture/NativeImage;ZZ)V
-
loadTextureData
- Mappings:
Namespace Name Mixin selector official bLfic;b(Lahu;)Lfic$a;intermediary method_18153Lnet/minecraft/class_1049;method_18153(Lnet/minecraft/class_3300;)Lnet/minecraft/class_1049$class_4006;named loadTextureDataLnet/minecraft/client/texture/ResourceTexture;loadTextureData(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
-