public static class ModelBlock.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ModelBlock>
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ModelBlock |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
protected boolean |
getAmbientOcclusionEnabled(com.google.gson.JsonObject object) |
protected java.util.List<ItemOverride> |
getItemOverrides(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
protected java.util.List<BlockPart> |
getModelElements(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject object) |
private java.lang.String |
getParent(com.google.gson.JsonObject object) |
private java.util.Map<java.lang.String,java.lang.String> |
getTextures(com.google.gson.JsonObject object) |
public ModelBlock 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<ModelBlock>
com.google.gson.JsonParseException
protected java.util.List<ItemOverride> getItemOverrides(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
private java.util.Map<java.lang.String,java.lang.String> getTextures(com.google.gson.JsonObject object)
private java.lang.String getParent(com.google.gson.JsonObject object)
protected boolean getAmbientOcclusionEnabled(com.google.gson.JsonObject object)
protected java.util.List<BlockPart> getModelElements(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)