类 ResourceTexture
- java.lang.Object
-
- net.minecraft.client.texture.AbstractTexture
-
- net.minecraft.client.texture.ResourceTexture
-
- 所有已实现的接口:
AutoCloseable
@Environment(CLIENT) public class ResourceTexture extends AbstractTexture
- Mappings:
Namespace Name official evzintermediary net/minecraft/class_1049named net/minecraft/client/texture/ResourceTexture
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classResourceTexture.TextureData
-
字段概要
字段 修饰符和类型 字段 说明 protected Identifierlocationprivate static LoggerLOGGER-
从类继承的字段 net.minecraft.client.texture.AbstractTexture
bilinear, field_32948, glId, mipmap
-
-
构造器概要
构造器 构造器 说明 ResourceTexture(Identifier location)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidload(ResourceManager manager)protected ResourceTexture.TextureDataloadTextureData(ResourceManager resourceManager)private voidupload(NativeImage nativeImage, boolean blur, boolean clamp)-
从类继承的方法 net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official fLevz;f:Lorg/apache/logging/log4j/Logger;intermediary field_5225Lnet/minecraft/class_1049;field_5225:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/texture/ResourceTexture;LOGGER:Lorg/apache/logging/log4j/Logger;
-
location
protected final Identifier location
- Mappings:
Namespace Name Mixin selector official eLevz;e:Lwp;intermediary field_5224Lnet/minecraft/class_1049;field_5224:Lnet/minecraft/class_2960;named locationLnet/minecraft/client/texture/ResourceTexture;location:Lnet/minecraft/util/Identifier;
-
-
构造器详细资料
-
ResourceTexture
public ResourceTexture(Identifier location)
- Mappings:
Namespace Name Mixin selector official <init>Levz;<init>(Lwp;)Vintermediary <init>Lnet/minecraft/class_1049;<init>(Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/client/texture/ResourceTexture;<init>(Lnet/minecraft/util/Identifier;)V
-
-
方法详细资料
-
load
public void load(ResourceManager manager) throws IOException
- 指定者:
load在类中AbstractTexture- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLevr;a(Ladl;)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
private void upload(NativeImage nativeImage, boolean blur, boolean clamp)
- Mappings:
Namespace Name Mixin selector official aLevz;a(Ldoj;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
protected ResourceTexture.TextureData loadTextureData(ResourceManager resourceManager)
- Mappings:
Namespace Name Mixin selector official bLevz;b(Ladl;)Levz$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;
-
-