Package net.minecraft.client.texture
Class NativeImageBackedTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.NativeImageBackedTexture
- All Implemented Interfaces:
 AutoCloseable,DynamicTexture
@Environment(CLIENT)
public class NativeImageBackedTexture
extends AbstractTexture
implements DynamicTexture
- Mappings:
 Namespace Name official fuiintermediary net/minecraft/class_1043named net/minecraft/client/texture/NativeImageBackedTexture
- 
Field Summary
FieldsFields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getImage()voidload(ResourceManager manager) voidsave(Identifier id, Path path) voidsetImage(NativeImage image) voidupload()Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, getGlId, registerTexture, setFilter 
- 
Field Details
- 
LOGGER
- Mappings:
 Namespace Name Mixin selector official eLfui;e:Lorg/slf4j/Logger;intermediary field_25794Lnet/minecraft/class_1043;field_25794:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/texture/NativeImageBackedTexture;LOGGER:Lorg/slf4j/Logger;
 - 
image
- Mappings:
 Namespace Name Mixin selector official fLfui;f:Lehk;intermediary field_5200Lnet/minecraft/class_1043;field_5200:Lnet/minecraft/class_1011;named imageLnet/minecraft/client/texture/NativeImageBackedTexture;image:Lnet/minecraft/client/texture/NativeImage;
 
 - 
 - 
Constructor Details
- 
NativeImageBackedTexture
- Mappings:
 Namespace Name Mixin selector official <init>Lfui;<init>(Lehk;)Vintermediary <init>Lnet/minecraft/class_1043;<init>(Lnet/minecraft/class_1011;)Vnamed <init>Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(Lnet/minecraft/client/texture/NativeImage;)V
 - 
NativeImageBackedTexture
public NativeImageBackedTexture(int width, int height, boolean useStb) - Mappings:
 Namespace Name Mixin selector official <init>Lfui;<init>(IIZ)Vintermediary <init>Lnet/minecraft/class_1043;<init>(IIZ)Vnamed <init>Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(IIZ)V
 
 - 
 - 
Method Details
- 
load
- Specified by:
 loadin classAbstractTexture- Mappings:
 Namespace Name Mixin selector official aLfug;a(Lakx;)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
public void upload()- Mappings:
 Namespace Name Mixin selector official dLfui;d()Vintermediary method_4524Lnet/minecraft/class_1043;method_4524()Vnamed uploadLnet/minecraft/client/texture/NativeImageBackedTexture;upload()V
 - 
getImage
- Mappings:
 Namespace Name Mixin selector official eLfui;e()Lehk;intermediary method_4525Lnet/minecraft/class_1043;method_4525()Lnet/minecraft/class_1011;named getImageLnet/minecraft/client/texture/NativeImageBackedTexture;getImage()Lnet/minecraft/client/texture/NativeImage;
 - 
setImage
- Mappings:
 Namespace Name Mixin selector official aLfui;a(Lehk;)Vintermediary method_4526Lnet/minecraft/class_1043;method_4526(Lnet/minecraft/class_1011;)Vnamed setImageLnet/minecraft/client/texture/NativeImageBackedTexture;setImage(Lnet/minecraft/client/texture/NativeImage;)V
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable- Overrides:
 closein classAbstractTexture
 - 
save
- Specified by:
 savein interfaceDynamicTexture- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector official aLfuh;a(Lacq;Ljava/nio/file/Path;)Vintermediary method_49712Lnet/minecraft/class_8215;method_49712(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)Vnamed saveLnet/minecraft/client/texture/DynamicTexture;save(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)V
 
 -