#recipes script creating errors for un-modified recipes

1 messages · Page 1 of 1 (latest)

hot birch
#

Added a few recipes via the below script;

ServerEvents.recipes(event => {

    //Crafting
    event.shapeless(Item.of('minecraft:string', 4),['#minecraft:wool']);
    event.shaped(Item.of('minecraft:iron_horse_armor', 1),['  A','AAA','A A'],{A:'minecraft:iron_ingot'});
    event.shaped(Item.of('minecraft:golden_horse_armor', 1),['  A','AAA','A A'],{A:'minecraft:gold_ingot'});
    event.shaped(Item.of('minecraft:diamond_horse_armor', 1),['  A','AAA','A A'],{A:'minecraft:diamond'});

    // Stonecutter
    event.stonecutting(Item.of('minecraft:smooth_stone', 1),['minecraft:stone']);

    //Smelting + Blasting
    event.smelting('1x minecraft:leather','minecraft:rotten_flesh', 1, 60);
    event.smelting('1x minecraft:gold_block','minecraft:raw_gold_block', 9, 500);
    event.blasting('1x minecraft:gold_block','minecraft:raw_gold_block', 9, 300);
    event.smelting('1x minecraft:iron_block','minecraft:raw_iron_block', 6.3, 500);
    event.blasting('1x minecraft:iron_block','minecraft:raw_iron_block', 6.3, 300);
    event.smelting('1x minecraft:copper_block','minecraft:raw_copper_block', 6.3, 500);
    event.blasting('1x minecraft:copper_block','minecraft:raw_copper_block', 6.3, 300);
    
})

Game opens with no errors, but when loading into a world I get 6 errors and 4 warnings for recipes that I haven't modified. This is the only KubeJS script I have active at the moment. Is this something I've done incorrectly that can be fixed or is it just a bug?

tulip sonnetBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

austere jackalBOT
#

[➤](#1410742253416218884 message)
those are just errors created by other mods who cant be bothered to make correct recipes, kubejs just picks up the errors and shows them
if you want them gone, just remove those erroring recipes by using the ID in the error message

hot birch
#

Beautiful, I couldn't find anything when I searched, ty based robot overlord.

novel dawn
#

xD