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 jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
LootContext.EntityTarget entityTarget) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
LootContext.EntityTarget entityTarget)
throws IOException
write in class com.google.gson.TypeAdapter<LootContext.EntityTarget>IOExceptionpublic LootContext.EntityTarget read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapter<LootContext.EntityTarget>IOException