Class ItemOverride.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.ItemOverride.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemOverride>
- Enclosing class:
ItemOverride
public static class ItemOverride.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<ItemOverride>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_111725_, Type p_111726_, com.google.gson.JsonDeserializationContext p_111727_) protected List<ItemOverride.Predicate>
getPredicates
(com.google.gson.JsonObject p_173451_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ItemOverride deserialize(com.google.gson.JsonElement p_111725_, Type p_111726_, com.google.gson.JsonDeserializationContext p_111727_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<ItemOverride>
- Throws:
com.google.gson.JsonParseException
-
getPredicates
-