Class ModelBlockDefinition.Variant.Deserializer
- java.lang.Object
-
- net.minecraft.client.renderer.block.model.ModelBlockDefinition.Variant.Deserializer
-
- All Implemented Interfaces:
JSONTypeDeserializer<JSONObject,ModelBlockDefinition.Variant>
- Enclosing class:
- ModelBlockDefinition.Variant
public static class ModelBlockDefinition.Variant.Deserializer extends java.lang.Object implements JSONTypeDeserializer<JSONObject,ModelBlockDefinition.Variant>
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelBlockDefinition.Variant
deserialize(JSONObject jsonobject)
protected java.lang.String
parseModel(JSONObject parJsonObject)
protected ModelRotation
parseRotation(JSONObject parJsonObject)
protected int
parseWeight(JSONObject parJsonObject)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.lax1dude.eaglercraft.v1_8.json.JSONTypeDeserializer
deserializeFromJson
-
-
-
-
Method Detail
-
deserialize
public ModelBlockDefinition.Variant deserialize(JSONObject jsonobject) throws JSONException
- Specified by:
deserialize
in interfaceJSONTypeDeserializer<JSONObject,ModelBlockDefinition.Variant>
- Throws:
JSONException
-
parseRotation
protected ModelRotation parseRotation(JSONObject parJsonObject)
-
parseModel
protected java.lang.String parseModel(JSONObject parJsonObject)
-
parseWeight
protected int parseWeight(JSONObject parJsonObject)
-
-