#Crushing Wheel Replacing Recipes
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
My codes for gold (which doesn't work) and Iron (which somehow works as is).
Paste version of gold_ore_crushing.js, iron_ore_crushing.js from @polar dust
You have to remove the existing recipe with event.remove() and pass an id or input, output. Check https://wiki.latvian.dev/books/kubejs/page/recipes#bkmrk-removing-recipes for details
Okay, so I just make one big event to remove all crushing recipies I don't want?
And how do I find the ids for create crushing? The remove event won't remove my own custom recipes if they have the same input right?
Yes.
Use F3+H to show recipe id, you can hover over them in JEI
Oh why thank you.
Take a look at my repo for a modpack im working on: https://github.com/xFeew/create-sky-factory/blob/main/kubejs/server_scripts/recipes.js
Theres a removeRecipes function in which im deleting everything i don’t need, then theres oreProcessing where i made bunch of custom stuff related to ores and theres removal too
Call the removal first and then call the adding of crushing recipe, you wont remove yours
you can just do .remove() where type will be create:crushing, and input a tag of #forge:ores, it will remove all recipes that input an ore in createCrushing
Or if you need just a specific one, change the input to say minecraft:gold_ore
Alright, that makes sense.Thank you for explaining this, I am still new to kubeJS usage.
no problem, glad i could help
Ticket closed!