Class ItemCameraTransforms.Deserializer
java.lang.Object
net.minecraft.client.renderer.model.ItemCameraTransforms.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemCameraTransforms>
- Enclosing class:
- ItemCameraTransforms
public static class ItemCameraTransforms.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemCameraTransforms>
-
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 ItemTransformVec3f
getTransform
(com.google.gson.JsonDeserializationContext p_181683_1_, com.google.gson.JsonObject p_181683_2_, String p_181683_3_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ItemCameraTransforms 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<ItemCameraTransforms>
- Throws:
com.google.gson.JsonParseException
-
getTransform
private ItemTransformVec3f getTransform(com.google.gson.JsonDeserializationContext p_181683_1_, com.google.gson.JsonObject p_181683_2_, String p_181683_3_)
-