I keep getting a error message whenever I join a world but I don't know why.
here is the code I'm using (I have chipped as a variable because I might use it later):
let MC = (id) => `minecraft:${id}`;
let C = (id) => `create:${id}`;
let CH = (id) => `chipped:${id}`;
// Usage is like so:
onEvent('recipes', event => {
event.remove({id:'create:filling/redstone'});
// Flower dye recipes
event.recipes.create.createPressing([MC('white_dye')], [MC('lily_of_the_valley')]).id('mycreate:wd1');
event.recipes.create.createPressing([MC('light_gray_dye')], [MC('azure_bluet')]).id('mycreate:lgd1');
event.recipes.create.createPressing([MC('light_gray_dye')], [MC('oxeye_daisy')]).id('mycreate:lgd2');
event.recipes.create.createPressing([MC('light_gray_dye')], [MC('white_tulip')]).id('mycreate:lgd3');
event.recipes.create.createPressing([MC('black_dye')], [MC('wither_rose')]).id('mycreate:bd1');
event.recipes.create.createPressing([MC('black_dye')], [MC('ink_sac')]).id('mycreate:bd2');
event.recipes.create.createPressing([MC('red_dye')], [MC('poppy')]).id('mycreate:rd1');
event.recipes.create.createPressing([MC('red_dye')], [MC('rose_bush')]).id('mycreate:rd2');
event.recipes.create.createMixing([MC('red_sand')], [MC('sand'), MC('red_dye')]).id('mycreate:red_sand');
event.recipes.create.createMixing([MC('netherrack')], [MC('red_sand'), MC('cobblestone')]).heated().id('mycreate:netherrack1');
event.recipes.create.createFilling([MC('redstone')], [C('cinder_flour'), Fluid.of(MC('lava'), 250)]).id('mycreate:sp_redstone');
});
