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