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
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement pJson, Type pType, JsonDeserializationContext pContext) private static Direction
getCullFacing
(JsonObject pJson) private static Quadrant
getRotation
(JsonObject pJson) private static String
getTexture
(JsonObject pJson) private static int
getTintIndex
(JsonObject pJson) private static BlockElementFace.UVs
getUVs
(JsonObject pJson)
-
Field Details
-
DEFAULT_TINT_INDEX
private static final int DEFAULT_TINT_INDEX- See Also:
-
DEFAULT_ROTATION
private static final int DEFAULT_ROTATION- 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
-
getRotation
-
getUVs
-