Class LootFunction.Serializer<T extends LootFunction>

    • Constructor Summary

      Constructors 
      Constructor Description
      Serializer()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      T deserialize​(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)  
      abstract T deserialize​(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_)  
      void serialize​(com.google.gson.JsonObject p_230424_1_, T p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)  
      • Methods inherited from class java.lang.Object

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

      • Serializer

        public Serializer()
    • Method Detail

      • serialize

        public void serialize​(com.google.gson.JsonObject p_230424_1_,
                              T p_230424_2_,
                              com.google.gson.JsonSerializationContext p_230424_3_)
        Specified by:
        serialize in interface ILootSerializer<T extends LootFunction>
      • deserialize

        public final T deserialize​(com.google.gson.JsonObject p_230423_1_,
                                   com.google.gson.JsonDeserializationContext p_230423_2_)
        Specified by:
        deserialize in interface ILootSerializer<T extends LootFunction>
      • deserialize

        public abstract T deserialize​(com.google.gson.JsonObject p_186530_1_,
                                      com.google.gson.JsonDeserializationContext p_186530_2_,
                                      ILootCondition[] p_186530_3_)