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 - named - net/minecraft/client/texture/NativeImageBackedTexture- intermediary - net/minecraft/class_1043- official - heg
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.texture.AbstractTexturebilinear, DEFAULT_ID, glId
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()getImage()voidsave(Identifier id, Path path) voidsetImage(NativeImage image) voidupload()Methods inherited from class net.minecraft.client.texture.AbstractTexturebindTexture, clearGlId, getGlId, setClamp, setFilter, setFilter
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/client/texture/NativeImageBackedTexture;LOGGER:Lorg/slf4j/Logger;- intermediary - field_25794- Lnet/minecraft/class_1043;field_25794:Lorg/slf4j/Logger;- official - d- Lheg;d:Lorg/slf4j/Logger;
 
- 
image- Mappings:
- Namespace - Name - Mixin selector - named - image- Lnet/minecraft/client/texture/NativeImageBackedTexture;image:Lnet/minecraft/client/texture/NativeImage;- intermediary - field_5200- Lnet/minecraft/class_1043;field_5200:Lnet/minecraft/class_1011;- official - e- Lheg;e:Lfev;
 
 
- 
- 
Constructor Details- 
NativeImageBackedTexture- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(Lnet/minecraft/client/texture/NativeImage;)V- intermediary - <init>- Lnet/minecraft/class_1043;<init>(Lnet/minecraft/class_1011;)V- official - <init>- Lheg;<init>(Lfev;)V
 
- 
NativeImageBackedTexturepublic NativeImageBackedTexture(int width, int height, boolean useStb) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(IIZ)V- intermediary - <init>- Lnet/minecraft/class_1043;<init>(IIZ)V- official - <init>- Lheg;<init>(IIZ)V
 
 
- 
- 
Method Details- 
uploadpublic void upload()- Mappings:
- Namespace - Name - Mixin selector - named - upload- Lnet/minecraft/client/texture/NativeImageBackedTexture;upload()V- intermediary - method_4524- Lnet/minecraft/class_1043;method_4524()V- official - d- Lheg;d()V
 
- 
getImage- Mappings:
- Namespace - Name - Mixin selector - named - getImage- Lnet/minecraft/client/texture/NativeImageBackedTexture;getImage()Lnet/minecraft/client/texture/NativeImage;- intermediary - method_4525- Lnet/minecraft/class_1043;method_4525()Lnet/minecraft/class_1011;- official - e- Lheg;e()Lfev;
 
- 
setImage- Mappings:
- Namespace - Name - Mixin selector - named - setImage- Lnet/minecraft/client/texture/NativeImageBackedTexture;setImage(Lnet/minecraft/client/texture/NativeImage;)V- intermediary - method_4526- Lnet/minecraft/class_1043;method_4526(Lnet/minecraft/class_1011;)V- official - a- Lheg;a(Lfev;)V
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Overrides:
- closein class- AbstractTexture
 
- 
save- Specified by:
- savein interface- DynamicTexture
- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - named - save- Lnet/minecraft/client/texture/DynamicTexture;save(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)V- intermediary - method_49712- Lnet/minecraft/class_8215;method_49712(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)V- official - a- Lhef;a(Lakv;Ljava/nio/file/Path;)V
 
 
-