Class ItemTransform.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.ItemTransform.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemTransform>
- Enclosing class:
- ItemTransform
public static class ItemTransform.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemTransform>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_111775_, Type p_111776_, com.google.gson.JsonDeserializationContext p_111777_) private Vector3f
getVector3f
(com.google.gson.JsonObject p_111779_, String p_111780_, Vector3f p_111781_)
-
Field Details
-
DEFAULT_ROTATION
-
DEFAULT_TRANSLATION
-
DEFAULT_SCALE
-
MAX_TRANSLATION
public static final float MAX_TRANSLATION- See Also:
-
MAX_SCALE
public static final float MAX_SCALE- See Also:
-
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ItemTransform deserialize(com.google.gson.JsonElement p_111775_, Type p_111776_, com.google.gson.JsonDeserializationContext p_111777_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ItemTransform>
- Throws:
com.google.gson.JsonParseException
-
getVector3f
-