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 Variant
deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
protected ModelRotation
getBlockRotation(com.google.gson.JsonObject p_188042_1_)
protected ResourceLocation
getModel(com.google.gson.JsonObject p_188043_1_)
private boolean
getUvLock(com.google.gson.JsonObject p_188044_1_)
protected int
getWeight(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:
deserialize
in 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_)
-
-