public static class BlockModelDefinition.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<BlockModelDefinition>
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
BlockModelDefinition |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
protected java.util.Map<java.lang.String,VariantList> |
parseMapVariants(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
protected Multipart |
parseMultipart(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
public BlockModelDefinition deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<BlockModelDefinition>
com.google.gson.JsonParseException
protected java.util.Map<java.lang.String,VariantList> parseMapVariants(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
@Nullable protected Multipart parseMultipart(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)