I am attempting to iterate over all possible recipe types for an item, but I am getting an error that “No such element with id cucumber:shaped_no_mirror in registry minecraft:recipe_type”
Here’s the thing. This shouldn’t be possible since I’m getting the recipe types from a forEachRecipe function call. Any ideas what is causing this?
My code is under ServerEvents.recipes and, simplified, is:
event.forEachRecipe( {output: ‘minecraft:stick’}, r => {AStages.addRestrictionForRecipe(r.id, ‘stage’, r.id)})