Class LootContext.EntityTarget.Serializer

    • Constructor Summary

      Constructors 
      Constructor Description
      Serializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LootContext.EntityTarget read​(com.google.gson.stream.JsonReader p_read_1_)  
      void write​(com.google.gson.stream.JsonWriter p_write_1_, LootContext.EntityTarget p_write_2_)  
      • Methods inherited from class com.google.gson.TypeAdapter

        fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
      • 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

      • write

        public void write​(com.google.gson.stream.JsonWriter p_write_1_,
                          LootContext.EntityTarget p_write_2_)
                   throws java.io.IOException
        Specified by:
        write in class com.google.gson.TypeAdapter<LootContext.EntityTarget>
        Throws:
        java.io.IOException