Issue with adding cutting recipe
Appleson3 opened this issue ยท 0 comments
Getting this Error:
[17:07:04] [ERROR] ! test.js#2: Failed to create recipe for type 'farmersdelight:cutting': Unable to cast 'result:output_item[]' value '[minecraft:ars_nouveau:stripped_blue_archwood_log, 'farmersdelight:tree_bark']' to 'array'!
The Code:
ServerEvents.recipes(event => {
event.recipes.farmersdelight.cutting(
"ars_nouveau:blue_archwood_log",
"#forge:tools/axes", // tool
[ // results
"minecraft:ars_nouveau:stripped_blue_archwood_log",
Item.of("farmersdelight:tree_bark")
.withChance(100)
],
// "minecraft:item.axe.strip" // sound
);
})