public static class LootContext.EntityTarget.Serializer extends com.google.gson.TypeAdapter<LootContext.EntityTarget>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and 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_) |
public void write(com.google.gson.stream.JsonWriter p_write_1_, LootContext.EntityTarget p_write_2_) throws java.io.IOException
write
in class com.google.gson.TypeAdapter<LootContext.EntityTarget>
java.io.IOException
public LootContext.EntityTarget read(com.google.gson.stream.JsonReader p_read_1_) throws java.io.IOException
read
in class com.google.gson.TypeAdapter<LootContext.EntityTarget>
java.io.IOException