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