Package net.minecraft.client.texture
Class AbstractTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
GlyphAtlasTexture
,NativeImageBackedTexture
,ResourceTexture
,SpriteAtlasTexture
- Mappings:
Namespace Name named net/minecraft/client/texture/AbstractTexture
intermediary net/minecraft/class_1044
official hav
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
static final int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
close()
int
getGlId()
boolean
abstract void
load
(ResourceManager manager) void
registerTexture
(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) void
setFilter
(boolean bilinear, boolean mipmap)
-
Field Details
-
DEFAULT_ID
public static final int DEFAULT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_ID
Lnet/minecraft/client/texture/AbstractTexture;DEFAULT_ID:I
intermediary field_32948
Lnet/minecraft/class_1044;field_32948:I
official a
Lhav;a:I
-
glId
protected int glId- Mappings:
Namespace Name Mixin selector named glId
Lnet/minecraft/client/texture/AbstractTexture;glId:I
intermediary field_5204
Lnet/minecraft/class_1044;field_5204:I
official b
Lhav;b:I
-
bilinear
protected boolean bilinear- Mappings:
Namespace Name Mixin selector named bilinear
Lnet/minecraft/client/texture/AbstractTexture;bilinear:Z
intermediary field_5205
Lnet/minecraft/class_1044;field_5205:Z
official c
Lhav;c:Z
-
-
Constructor Details
-
AbstractTexture
public AbstractTexture()
-
-
Method Details
-
setFilter
public void setFilter(boolean bilinear, boolean mipmap) - Mappings:
Namespace Name Mixin selector named setFilter
Lnet/minecraft/client/texture/AbstractTexture;setFilter(ZZ)V
intermediary method_4527
Lnet/minecraft/class_1044;method_4527(ZZ)V
official a
Lhav;a(ZZ)V
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector named getGlId
Lnet/minecraft/client/texture/AbstractTexture;getGlId()I
intermediary method_4624
Lnet/minecraft/class_1044;method_4624()I
official a
Lhav;a()I
-
clearGlId
public void clearGlId()- Mappings:
Namespace Name Mixin selector named clearGlId
Lnet/minecraft/client/texture/AbstractTexture;clearGlId()V
intermediary method_4528
Lnet/minecraft/class_1044;method_4528()V
official b
Lhav;b()V
-
isBilinear
public boolean isBilinear()- Mappings:
Namespace Name Mixin selector named isBilinear
Lnet/minecraft/client/texture/AbstractTexture;isBilinear()Z
intermediary method_62619
Lnet/minecraft/class_1044;method_62619()Z
official c
Lhav;c()Z
-
load
- 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
Lhav;a(Lavv;)V
-
bindTexture
public void bindTexture()- Mappings:
Namespace Name Mixin selector named bindTexture
Lnet/minecraft/client/texture/AbstractTexture;bindTexture()V
intermediary method_23207
Lnet/minecraft/class_1044;method_23207()V
official d
Lhav;d()V
-
registerTexture
public void registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) - Mappings:
Namespace Name Mixin selector named registerTexture
Lnet/minecraft/client/texture/AbstractTexture;registerTexture(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;Ljava/util/concurrent/Executor;)V
intermediary method_18169
Lnet/minecraft/class_1044;method_18169(Lnet/minecraft/class_1060;Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;Ljava/util/concurrent/Executor;)V
official a
Lhav;a(Lhbl;Lavv;Lalz;Ljava/util/concurrent/Executor;)V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-