Class BlockElementFace.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.BlockElementFace.Deserializer
- All Implemented Interfaces:
JsonDeserializer<BlockElementFace>
- Enclosing class:
BlockElementFace
public static class BlockElementFace.Deserializer
extends Object
implements JsonDeserializer<BlockElementFace>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement pJson, Type pType, JsonDeserializationContext pContext) private Direction
getCullFacing
(JsonObject pJson) private String
getTexture
(JsonObject pJson) protected int
getTintIndex
(JsonObject pJson)
-
Field Details
-
DEFAULT_TINT_INDEX
private static final int DEFAULT_TINT_INDEX- See Also:
-
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockElementFace deserialize(JsonElement pJson, Type pType, JsonDeserializationContext pContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<BlockElementFace>
- Throws:
JsonParseException
-
getTintIndex
-
getTexture
-
getCullFacing
-