Class ItemTransformVec3f.Deserializer
java.lang.Object
net.minecraft.client.renderer.model.ItemTransformVec3f.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemTransformVec3f>
- Enclosing class:
- ItemTransformVec3f
public static class ItemTransformVec3f.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemTransformVec3f>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) private Vector3f
getVector3f
(com.google.gson.JsonObject p_199340_1_, String p_199340_2_, Vector3f p_199340_3_)
-
Field Details
-
DEFAULT_ROTATION
-
DEFAULT_TRANSLATION
-
DEFAULT_SCALE
-
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ItemTransformVec3f deserialize(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ItemTransformVec3f>
- Throws:
com.google.gson.JsonParseException
-
getVector3f
-