Package net.minecraft.client.texture
Class NativeImageBackedTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.NativeImageBackedTexture
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class NativeImageBackedTexture extends AbstractTexture
- Mappings:
Namespace Name official erk
intermediary net/minecraft/class_1043
named net/minecraft/client/texture/NativeImageBackedTexture
-
Field Summary
Fields Modifier and Type Field Description private static Logger
field_25794
private NativeImage
image
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, glId, mipmap
-
Constructor Summary
Constructors Constructor Description NativeImageBackedTexture(int width, int height, boolean useStb)
NativeImageBackedTexture(NativeImage image)
-
Method Summary
Modifier and Type Method Description void
close()
NativeImage
getImage()
void
load(ResourceManager manager)
void
setImage(NativeImage image)
void
upload()
Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, getGlId, registerTexture, setFilter
-
Field Details
-
field_25794
- Mappings:
Namespace Name Mixin selector official d
Lerk;d:Lorg/apache/logging/log4j/Logger;
intermediary field_25794
Lnet/minecraft/class_1043;field_25794:Lorg/apache/logging/log4j/Logger;
named field_25794
Lnet/minecraft/client/texture/NativeImageBackedTexture;field_25794:Lorg/apache/logging/log4j/Logger;
-
image
- Mappings:
Namespace Name Mixin selector official e
Lerk;e:Ldky;
intermediary field_5200
Lnet/minecraft/class_1043;field_5200:Lnet/minecraft/class_1011;
named image
Lnet/minecraft/client/texture/NativeImageBackedTexture;image:Lnet/minecraft/client/texture/NativeImage;
-
-
Constructor Details
-
NativeImageBackedTexture
- Mappings:
Namespace Name Mixin selector official <init>
Lerk;<init>(Ldky;)V
intermediary <init>
Lnet/minecraft/class_1043;<init>(Lnet/minecraft/class_1011;)V
named <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>
Lerk;<init>(IIZ)V
intermediary <init>
Lnet/minecraft/class_1043;<init>(IIZ)V
named <init>
Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(IIZ)V
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
- Mappings:
Namespace Name Mixin selector official a
Leri;a(Lacx;)V
intermediary method_4625
Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
named load
Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
-
upload
public void upload()- Mappings:
Namespace Name Mixin selector official a
Lerk;a()V
intermediary method_4524
Lnet/minecraft/class_1043;method_4524()V
named upload
Lnet/minecraft/client/texture/NativeImageBackedTexture;upload()V
-
getImage
- Mappings:
Namespace Name Mixin selector official e
Lerk;e()Ldky;
intermediary method_4525
Lnet/minecraft/class_1043;method_4525()Lnet/minecraft/class_1011;
named getImage
Lnet/minecraft/client/texture/NativeImageBackedTexture;getImage()Lnet/minecraft/client/texture/NativeImage;
-
setImage
- Mappings:
Namespace Name Mixin selector official a
Lerk;a(Ldky;)V
intermediary method_4526
Lnet/minecraft/class_1043;method_4526(Lnet/minecraft/class_1011;)V
named setImage
Lnet/minecraft/client/texture/NativeImageBackedTexture;setImage(Lnet/minecraft/client/texture/NativeImage;)V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classAbstractTexture
- Mappings:
Namespace Name Mixin selector official close
Leri;close()V
intermediary close
Lnet/minecraft/class_1044;close()V
named close
Lnet/minecraft/client/texture/AbstractTexture;close()V
-