Class Variant.Deserializer
- java.lang.Object
-
- net.minecraft.client.renderer.model.Variant.Deserializer
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Variantdeserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)protected ModelRotationgetBlockRotation(com.google.gson.JsonObject p_188042_1_)protected ResourceLocationgetModel(com.google.gson.JsonObject p_188043_1_)private booleangetUvLock(com.google.gson.JsonObject p_188044_1_)protected intgetWeight(com.google.gson.JsonObject p_188045_1_)
-
-
-
Method Detail
-
deserialize
public Variant deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<Variant>- Throws:
com.google.gson.JsonParseException
-
getUvLock
private boolean getUvLock(com.google.gson.JsonObject p_188044_1_)
-
getBlockRotation
protected ModelRotation getBlockRotation(com.google.gson.JsonObject p_188042_1_)
-
getModel
protected ResourceLocation getModel(com.google.gson.JsonObject p_188043_1_)
-
getWeight
protected int getWeight(com.google.gson.JsonObject p_188045_1_)
-
-