We have installed Ars Nouveau addon for KubeJS, but when trying to create a recipe it gives an error that there is no constructor with 4 arguments.
Code:
ServerEvents.recipes(event => {
event.recipes.ars_nouveau.enchanting_apparatus(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
],
"minecraft:gunpowder",
"minecraft:tnt",
1000
);
})