Iterating over recipes #961
-
KubeJS 1.21.1Hello, I am currently writing a script which can be automated by iterating over a set of recipes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There should be event.forEachRecipe that takes a RecipeFilter (ie |
Beta Was this translation helpful? Give feedback.
There should be event.forEachRecipe that takes a RecipeFilter (ie
{type: 'minecraft:shaped_crafting'}
) and a Consumer (ierecipe => console.log(recipe)
)