public static class LootContext.EntityTarget.Serializer extends TypeAdapter<LootContext.EntityTarget>
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
LootContext.EntityTarget |
read(JsonReader jsonReader) |
void |
write(JsonWriter jsonWriter,
LootContext.EntityTarget entityTarget) |
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTreepublic void write(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget) throws IOException
write in class TypeAdapter<LootContext.EntityTarget>IOExceptionpublic LootContext.EntityTarget read(JsonReader jsonReader) throws IOException
read in class TypeAdapter<LootContext.EntityTarget>IOException