Class BlockElementFace.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.BlockElementFace.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockElementFace>
- Enclosing class:
- BlockElementFace
public static class BlockElementFace.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<BlockElementFace>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement p_111365_, Type p_111366_, com.google.gson.JsonDeserializationContext p_111367_)
private Direction
getCullFacing(com.google.gson.JsonObject p_111373_)
private String
getTexture(com.google.gson.JsonObject p_111371_)
protected int
getTintIndex(com.google.gson.JsonObject p_111369_)
-
Field Details
-
DEFAULT_TINT_INDEX
private static final int DEFAULT_TINT_INDEX- See Also:
- Constant Field Values
-
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockElementFace deserialize(com.google.gson.JsonElement p_111365_, Type p_111366_, com.google.gson.JsonDeserializationContext p_111367_) throws com.google.gson.JsonParseException- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<BlockElementFace>
- Throws:
com.google.gson.JsonParseException
-
getTintIndex
protected int getTintIndex(com.google.gson.JsonObject p_111369_) -
getTexture
-
getCullFacing
-