Class ModelVariant.Deserializer
java.lang.Object
net.minecraft.client.render.model.json.ModelVariant.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ModelVariant>
- Enclosing class:
ModelVariant
@Environment(CLIENT)
public static class ModelVariant.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ModelVariant>
- Mappings:
Namespace Name official fpp$a
intermediary net/minecraft/class_813$class_814
named net/minecraft/client/render/model/json/ModelVariant$Deserializer
-
Field Summary
Modifier and TypeFieldDescription(package private) static final boolean
(package private) static final int
(package private) static final int
(package private) static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) protected Identifier
deserializeModel
(com.google.gson.JsonObject object) protected ModelRotation
deserializeRotation
(com.google.gson.JsonObject object) private boolean
deserializeUvLock
(com.google.gson.JsonObject object) protected int
deserializeWeight
(com.google.gson.JsonObject object)
-
Field Details
-
DEFAULT_UV_LOCK
static final boolean DEFAULT_UV_LOCK- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfpp$a;a:Z
intermediary field_32810
Lnet/minecraft/class_813$class_814;field_32810:Z
named DEFAULT_UV_LOCK
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_UV_LOCK:Z
-
DEFAULT_WEIGHT
static final int DEFAULT_WEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfpp$a;b:I
intermediary field_32811
Lnet/minecraft/class_813$class_814;field_32811:I
named DEFAULT_WEIGHT
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_WEIGHT:I
-
DEFAULT_X_ROTATION
static final int DEFAULT_X_ROTATION- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lfpp$a;c:I
intermediary field_32812
Lnet/minecraft/class_813$class_814;field_32812:I
named DEFAULT_X_ROTATION
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_X_ROTATION:I
-
DEFAULT_Y_ROTATION
static final int DEFAULT_Y_ROTATION- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lfpp$a;d:I
intermediary field_32813
Lnet/minecraft/class_813$class_814;field_32813:I
named DEFAULT_Y_ROTATION
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;DEFAULT_Y_ROTATION:I
-
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ModelVariant deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ModelVariant>
- Throws:
com.google.gson.JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Lfpp$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lfpp;
intermediary method_3513
Lnet/minecraft/class_813$class_814;method_3513(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_813;
named deserialize
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/client/render/model/json/ModelVariant;
-
deserializeUvLock
private boolean deserializeUvLock(com.google.gson.JsonObject object) - Mappings:
Namespace Name Mixin selector official d
Lfpp$a;d(Lcom/google/gson/JsonObject;)Z
intermediary method_3516
Lnet/minecraft/class_813$class_814;method_3516(Lcom/google/gson/JsonObject;)Z
named deserializeUvLock
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeUvLock(Lcom/google/gson/JsonObject;)Z
-
deserializeRotation
- Mappings:
Namespace Name Mixin selector official a
Lfpp$a;a(Lcom/google/gson/JsonObject;)Lgbg;
intermediary method_3515
Lnet/minecraft/class_813$class_814;method_3515(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1086;
named deserializeRotation
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeRotation(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/render/model/ModelRotation;
-
deserializeModel
- Mappings:
Namespace Name Mixin selector official b
Lfpp$a;b(Lcom/google/gson/JsonObject;)Laew;
intermediary method_3514
Lnet/minecraft/class_813$class_814;method_3514(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2960;
named deserializeModel
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeModel(Lcom/google/gson/JsonObject;)Lnet/minecraft/util/Identifier;
-
deserializeWeight
protected int deserializeWeight(com.google.gson.JsonObject object) - Mappings:
Namespace Name Mixin selector official c
Lfpp$a;c(Lcom/google/gson/JsonObject;)I
intermediary method_3517
Lnet/minecraft/class_813$class_814;method_3517(Lcom/google/gson/JsonObject;)I
named deserializeWeight
Lnet/minecraft/client/render/model/json/ModelVariant$Deserializer;deserializeWeight(Lcom/google/gson/JsonObject;)I
-