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
Modifier and TypeFieldDescriptionstatic final org.joml.Vector3f
static final org.joml.Vector3f
static final org.joml.Vector3f
static final float
static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_111775_, Type p_111776_, com.google.gson.JsonDeserializationContext p_111777_) private org.joml.Vector3f
getVector3f
(com.google.gson.JsonObject p_111779_, String p_111780_, org.joml.Vector3f p_253777_)
-
Field Details
-
DEFAULT_ROTATION
public static final org.joml.Vector3f DEFAULT_ROTATION -
DEFAULT_TRANSLATION
public static final org.joml.Vector3f DEFAULT_TRANSLATION -
DEFAULT_SCALE
public static final org.joml.Vector3f 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
private org.joml.Vector3f getVector3f(com.google.gson.JsonObject p_111779_, String p_111780_, org.joml.Vector3f p_253777_)
-