public static class SetStewEffectLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
SetStewEffectLootFunction |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
void |
toJson(JsonObject jsonObject,
SetStewEffectLootFunction setStewEffectLootFunction,
JsonSerializationContext jsonSerializationContext) |
fromJson
public void toJson(JsonObject jsonObject, SetStewEffectLootFunction setStewEffectLootFunction, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<SetStewEffectLootFunction>
toJson
in class ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
public SetStewEffectLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson
in class ConditionalLootFunction.Serializer<SetStewEffectLootFunction>