Enchantment

Add a new Enchantment recipe

server_scripts
KeyDescription
levelThe level of the enchantment to output, if greater than 1 it requires the previous level to be present
sourceHow much source is required
pedestalItemsA list of items required on pedestals around the Enchanting Apparatus
ServerEvents.recipes(event => {
event.custom({
type: "ars_nouveau:enchantment",
enchantment: "minecraft:blast_protection",
level: 1,
pedestalItems: [
{
"item": { tag: "forge:storage_blocks/iron" }
},
{
"item": { tag: "forge:storage_blocks/iron" }
},
{
"item": { tag: "forge:storage_blocks/source" }
}
],
sourceCost: 2000
});
});