if (Platform.isLoaded("chipped")) { ServerEvents.recipes(event => { event.forEachRecipe({ "mod": "chipped" }, (recipe) => { if (recipe.getType().getNamespace() == 'chipped') { let tags = recipe.get('tags') tags.forEach((tag) => { let tag_name = tag.split(':')[1] Ingredient.of('#' + tag).itemIds.forEach((item) => { let item_name = item.split(':')[1] event.custom({ "type": "create:cutting", "ingredients": [ { "tag": tag } ], "results": [ { "item": item, "count": 1 } ], "processingTime": 50 }).id('create:compat/cutting/chipped/' + item_name + '_from_' + tag_name) }) }) } }) }) }