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