Class ModelTextures
java.lang.Object
net.minecraft.client.render.model.ModelTextures
- Mappings:
Namespace Name named net/minecraft/client/render/model/ModelTextures
intermediary net/minecraft/class_10419
official gns
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static interface
private static final record
private static final record
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModelTextures
private static final char
private final Map
<String, SpriteIdentifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
add
(Identifier atlasTexture, String textureId, String value, ModelTextures.Textures.Builder builder) static ModelTextures.Textures
fromJson
(JsonObject json, Identifier atlasTexture) private static boolean
isTextureReference
(String textureId)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/client/render/model/ModelTextures;EMPTY:Lnet/minecraft/client/render/model/ModelTextures;
intermediary field_55275
Lnet/minecraft/class_10419;field_55275:Lnet/minecraft/class_10419;
official a
Lgns;a:Lgns;
-
TEXTURE_REFERENCE_PREFIX
private static final char TEXTURE_REFERENCE_PREFIX- See Also:
- Mappings:
Namespace Name Mixin selector named TEXTURE_REFERENCE_PREFIX
Lnet/minecraft/client/render/model/ModelTextures;TEXTURE_REFERENCE_PREFIX:C
intermediary field_55276
Lnet/minecraft/class_10419;field_55276:C
official b
Lgns;b:C
-
textures
- Mappings:
Namespace Name Mixin selector named textures
Lnet/minecraft/client/render/model/ModelTextures;textures:Ljava/util/Map;
intermediary field_55277
Lnet/minecraft/class_10419;field_55277:Ljava/util/Map;
official c
Lgns;c:Ljava/util/Map;
-
-
Constructor Details
-
ModelTextures
ModelTextures(Map<String, SpriteIdentifier> textures) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/model/ModelTextures;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_10419;<init>(Ljava/util/Map;)V
official <init>
Lgns;<init>(Ljava/util/Map;)V
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/client/render/model/ModelTextures;get(Ljava/lang/String;)Lnet/minecraft/client/util/SpriteIdentifier;
intermediary method_65545
Lnet/minecraft/class_10419;method_65545(Ljava/lang/String;)Lnet/minecraft/class_4730;
official a
Lgns;a(Ljava/lang/String;)Lhha;
-
isTextureReference
- Mappings:
Namespace Name Mixin selector named isTextureReference
Lnet/minecraft/client/render/model/ModelTextures;isTextureReference(Ljava/lang/String;)Z
intermediary method_65546
Lnet/minecraft/class_10419;method_65546(Ljava/lang/String;)Z
official b
Lgns;b(Ljava/lang/String;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector named fromJson
Lnet/minecraft/client/render/model/ModelTextures;fromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/ModelTextures$Textures;
intermediary method_65544
Lnet/minecraft/class_10419;method_65544(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2960;)Lnet/minecraft/class_10419$class_10420;
official a
Lgns;a(Lcom/google/gson/JsonObject;Lakv;)Lgns$a;
-
add
private static void add(Identifier atlasTexture, String textureId, String value, ModelTextures.Textures.Builder builder) - Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/client/render/model/ModelTextures;add(Lnet/minecraft/util/Identifier;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/client/render/model/ModelTextures$Textures$Builder;)V
intermediary method_65543
Lnet/minecraft/class_10419;method_65543(Lnet/minecraft/class_2960;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_10419$class_10420$class_10421;)V
official a
Lgns;a(Lakv;Ljava/lang/String;Ljava/lang/String;Lgns$a$a;)V
-