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