Class ModelTextures
java.lang.Object
net.minecraft.client.render.model.ModelTextures
- Mappings:
Namespace Name named net/minecraft/client/render/model/ModelTexturesintermediary net/minecraft/class_10419official gns
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceprivate static final recordprivate static final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModelTexturesprivate static final charprivate final Map<String, SpriteIdentifier> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidadd(Identifier atlasTexture, String textureId, String value, ModelTextures.Textures.Builder builder) static ModelTextures.TexturesfromJson(JsonObject json, Identifier atlasTexture) private static booleanisTextureReference(String textureId)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/render/model/ModelTextures;EMPTY:Lnet/minecraft/client/render/model/ModelTextures;intermediary field_55275Lnet/minecraft/class_10419;field_55275:Lnet/minecraft/class_10419;official aLgns;a:Lgns;
-
TEXTURE_REFERENCE_PREFIX
private static final char TEXTURE_REFERENCE_PREFIX- See Also:
- Mappings:
Namespace Name Mixin selector named TEXTURE_REFERENCE_PREFIXLnet/minecraft/client/render/model/ModelTextures;TEXTURE_REFERENCE_PREFIX:Cintermediary field_55276Lnet/minecraft/class_10419;field_55276:Cofficial bLgns;b:C
-
textures
- Mappings:
Namespace Name Mixin selector named texturesLnet/minecraft/client/render/model/ModelTextures;textures:Ljava/util/Map;intermediary field_55277Lnet/minecraft/class_10419;field_55277:Ljava/util/Map;official cLgns;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;)Vintermediary <init>Lnet/minecraft/class_10419;<init>(Ljava/util/Map;)Vofficial <init>Lgns;<init>(Ljava/util/Map;)V
-
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/render/model/ModelTextures;get(Ljava/lang/String;)Lnet/minecraft/client/util/SpriteIdentifier;intermediary method_65545Lnet/minecraft/class_10419;method_65545(Ljava/lang/String;)Lnet/minecraft/class_4730;official aLgns;a(Ljava/lang/String;)Lhha;
-
isTextureReference
- Mappings:
Namespace Name Mixin selector named isTextureReferenceLnet/minecraft/client/render/model/ModelTextures;isTextureReference(Ljava/lang/String;)Zintermediary method_65546Lnet/minecraft/class_10419;method_65546(Ljava/lang/String;)Zofficial bLgns;b(Ljava/lang/String;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector named fromJsonLnet/minecraft/client/render/model/ModelTextures;fromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/ModelTextures$Textures;intermediary method_65544Lnet/minecraft/class_10419;method_65544(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2960;)Lnet/minecraft/class_10419$class_10420;official aLgns;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 addLnet/minecraft/client/render/model/ModelTextures;add(Lnet/minecraft/util/Identifier;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/client/render/model/ModelTextures$Textures$Builder;)Vintermediary method_65543Lnet/minecraft/class_10419;method_65543(Lnet/minecraft/class_2960;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_10419$class_10420$class_10421;)Vofficial aLgns;a(Lakv;Ljava/lang/String;Ljava/lang/String;Lgns$a$a;)V
-