Class ItemOverride.Deserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<ItemOverride>
    Enclosing class:
    ItemOverride

    public static class ItemOverride.Deserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<ItemOverride>
    • Constructor Summary

      Constructors 
      Constructor Description
      Deserializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ItemOverride deserialize​(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)  
      protected java.util.Map<ResourceLocation,​java.lang.Float> getPredicates​(com.google.gson.JsonObject p_188025_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Deserializer

        public Deserializer()
    • Method Detail

      • deserialize

        public ItemOverride deserialize​(com.google.gson.JsonElement p_deserialize_1_,
                                        java.lang.reflect.Type p_deserialize_2_,
                                        com.google.gson.JsonDeserializationContext p_deserialize_3_)
                                 throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<ItemOverride>
        Throws:
        com.google.gson.JsonParseException
      • getPredicates

        protected java.util.Map<ResourceLocation,​java.lang.Float> getPredicates​(com.google.gson.JsonObject p_188025_1_)