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 java.lang.Object implements com.google.gson.JsonDeserializer<BlockPartFace>
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPartFace
deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
private Direction
getCullFacing(com.google.gson.JsonObject p_178339_1_)
private java.lang.String
getTexture(com.google.gson.JsonObject p_178340_1_)
protected int
getTintIndex(com.google.gson.JsonObject p_178337_1_)
-
-
-
Method Detail
-
deserialize
public BlockPartFace deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.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
private java.lang.String getTexture(com.google.gson.JsonObject p_178340_1_)
-
getCullFacing
@Nullable private Direction getCullFacing(com.google.gson.JsonObject p_178339_1_)
-
-