public static class ForgeBlockStateV1.Variant.Deserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<ForgeBlockStateV1.Variant>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
simpleSubmodelKey
Used once (then set null) for the key to put a simple submodel declaration under in the submodel map.
|
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ForgeBlockStateV1.Variant |
deserialize(com.google.gson.JsonElement element,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
protected ResourceLocation |
getBlockLocation(java.lang.String location) |
public java.lang.String simpleSubmodelKey
protected ResourceLocation getBlockLocation(java.lang.String location)
public ForgeBlockStateV1.Variant deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<ForgeBlockStateV1.Variant>
com.google.gson.JsonParseException