public static class KilledByPlayer.Serializer extends LootCondition.Serializer<KilledByPlayer>
Modifier | Constructor and Description |
---|---|
protected |
Serializer() |
Modifier and Type | Method and Description |
---|---|
KilledByPlayer |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
serialize(com.google.gson.JsonObject json,
KilledByPlayer value,
com.google.gson.JsonSerializationContext context) |
getConditionClass, getLootTableLocation
public void serialize(com.google.gson.JsonObject json, KilledByPlayer value, com.google.gson.JsonSerializationContext context)
serialize
in class LootCondition.Serializer<KilledByPlayer>
public KilledByPlayer deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserialize
in class LootCondition.Serializer<KilledByPlayer>