Class ItemTransforms.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.ItemTransforms.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemTransforms>
- Enclosing class:
ItemTransforms
public static class ItemTransforms.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemTransforms>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_111820_, Type p_111821_, com.google.gson.JsonDeserializationContext p_111822_) private ItemTransform
getTransform
(com.google.gson.JsonDeserializationContext p_270385_, com.google.gson.JsonObject p_270436_, ItemDisplayContext p_270100_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ItemTransforms deserialize(com.google.gson.JsonElement p_111820_, Type p_111821_, com.google.gson.JsonDeserializationContext p_111822_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ItemTransforms>
- Throws:
com.google.gson.JsonParseException
-
getTransform
private ItemTransform getTransform(com.google.gson.JsonDeserializationContext p_270385_, com.google.gson.JsonObject p_270436_, ItemDisplayContext p_270100_)
-