Class BlockFaceUV.Deserializer
java.lang.Object
net.minecraft.client.renderer.model.BlockFaceUV.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BlockFaceUV>
- Enclosing class:
- BlockFaceUV
public static class BlockFaceUV.Deserializer
extends Object
implements com.google.gson.JsonDeserializer<BlockFaceUV>
-
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_) protected int
getRotation
(com.google.gson.JsonObject p_178291_1_) private float[]
getUVs
(com.google.gson.JsonObject p_178292_1_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public BlockFaceUV 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<BlockFaceUV>
- Throws:
com.google.gson.JsonParseException
-
getRotation
protected int getRotation(com.google.gson.JsonObject p_178291_1_) -
getUVs
@Nullable private float[] getUVs(com.google.gson.JsonObject p_178292_1_)
-