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