#recipe type registry error

4 messages · Page 1 of 1 (latest)

gray rain
#

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)})
mellow pollenBOT
#

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

knotty sky
#

Did you redact the message with AI?
Since for some reason the fancy quotes are used “” instead of normal ones "".

gray rain
#

I typed it on mobile smh iPhone :P