Class Selector.Deserializer
java.lang.Object
net.minecraft.client.renderer.block.model.multipart.Selector.Deserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Selector>
- Enclosing class:
- Selector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement p_112030_, Type p_112031_, com.google.gson.JsonDeserializationContext p_112032_)
(package private) static Condition
getCondition(com.google.gson.JsonObject p_112034_)
private static Condition
getKeyValueCondition(Map.Entry<String,com.google.gson.JsonElement> p_112036_)
private Condition
getSelector(com.google.gson.JsonObject p_112040_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public Selector deserialize(com.google.gson.JsonElement p_112030_, Type p_112031_, com.google.gson.JsonDeserializationContext p_112032_) throws com.google.gson.JsonParseException- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Selector>
- Throws:
com.google.gson.JsonParseException
-
getSelector
-
getCondition
-
getKeyValueCondition
-