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

public static class Selector.Deserializer extends Object implements com.google.gson.JsonDeserializer<Selector>
  • 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 interface com.google.gson.JsonDeserializer<Selector>
      Throws:
      com.google.gson.JsonParseException
    • getSelector

      private Condition getSelector(com.google.gson.JsonObject p_112040_)
    • getCondition

      static Condition getCondition(com.google.gson.JsonObject p_112034_)
    • getKeyValueCondition

      private static Condition getKeyValueCondition(Map.Entry<String,com.google.gson.JsonElement> p_112036_)