Class Selector.Deserializer
java.lang.Object
net.minecraft.client.renderer.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_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) (package private) static ICondition
getCondition
(com.google.gson.JsonObject p_188158_0_) private static ICondition
getKeyValueCondition
(Map.Entry<String, com.google.gson.JsonElement> p_188161_0_) private ICondition
getSelector
(com.google.gson.JsonObject p_188159_1_)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public Selector 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<Selector>
- Throws:
com.google.gson.JsonParseException
-
getSelector
-
getCondition
-
getKeyValueCondition
private static ICondition getKeyValueCondition(Map.Entry<String, com.google.gson.JsonElement> p_188161_0_)
-