Class ModelElementTexture.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture.Deserializer
- All Implemented Interfaces:
JsonDeserializer<ModelElementTexture>
- Enclosing class:
ModelElementTexture
@Environment(CLIENT)
protected static class ModelElementTexture.Deserializer
extends Object
implements JsonDeserializer<ModelElementTexture>
- Mappings:
Namespace Name official eyr$a
intermediary net/minecraft/class_787$class_788
named net/minecraft/client/render/model/json/ModelElementTexture$Deserializer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) protected int
deserializeRotation
(JsonObject object) private @org.jetbrains.annotations.Nullable float[]
deserializeUVs
(JsonObject object)
-
Field Details
-
DEFAULT_ROTATION
private static final int DEFAULT_ROTATION- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leyr$a;a:I
intermediary field_32791
Lnet/minecraft/class_787$class_788;field_32791:I
named DEFAULT_ROTATION
Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;DEFAULT_ROTATION:I
-
-
Constructor Details
-
Deserializer
protected Deserializer()
-
-
Method Details
-
deserialize
public ModelElementTexture deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<ModelElementTexture>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Leyr$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Leyr;
intermediary method_3418
Lnet/minecraft/class_787$class_788;method_3418(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_787;
named deserialize
Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelElementTexture;
-
deserializeRotation
- Mappings:
Namespace Name Mixin selector official a
Leyr$a;a(Lcom/google/gson/JsonObject;)I
intermediary method_3420
Lnet/minecraft/class_787$class_788;method_3420(Lcom/google/gson/JsonObject;)I
named deserializeRotation
Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)I
-
deserializeUVs
- Mappings:
Namespace Name Mixin selector official b
Leyr$a;b(Lcom/google/gson/JsonObject;)[F
intermediary method_3419
Lnet/minecraft/class_787$class_788;method_3419(Lcom/google/gson/JsonObject;)[F
named deserializeUVs
Lnet/minecraft/client/render/model/json/ModelElementTexture$Deserializer;deserializeUVs(Lcom/google/gson/JsonObject;)[F
-