Class BlockPartFace.Deserializer
java.lang.Object
net.minecraft.client.renderer.model.BlockPartFace.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockPartFace>
- Enclosing class:
- BlockPartFace
public static class BlockPartFace.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<BlockPartFace>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) private Direction
getCullFacing
(com.google.gson.JsonObject p_178339_1_) private String
getTexture
(com.google.gson.JsonObject p_178340_1_) protected int
getTintIndex
(com.google.gson.JsonObject p_178337_1_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockPartFace deserialize(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<BlockPartFace>
- Throws:
com.google.gson.JsonParseException
-
getTintIndex
protected int getTintIndex(com.google.gson.JsonObject p_178337_1_) -
getTexture
-
getCullFacing
-