@Environment(value=CLIENT) public static class ModelElementFace.Deserializer extends Object implements JsonDeserializer<ModelElementFace>
Modifier | Constructor and Description |
---|---|
protected |
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ModelElementFace |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
private Direction |
deserializeCullFace(JsonObject object) |
private String |
deserializeTexture(JsonObject object) |
protected int |
deserializeTintIndex(JsonObject object) |
public ModelElementFace deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize
in interface JsonDeserializer<ModelElementFace>
JsonParseException
protected int deserializeTintIndex(JsonObject object)
private String deserializeTexture(JsonObject object)
@Nullable private Direction deserializeCullFace(JsonObject object)