The ultimate in cursed scripts. The main beast is a startup script, and has an optional, but highly reccomended client part to fix JEI. And of course you add the actual new recipes in a server script.
It is for Forge, however requires fabric api through Forgified Fabric API.
Example of adding a golden apple to enchanted golden apple recipe with the scripts provided: (this part is server)
ServerEvents.recipes(event => {
event.recipes.kubejs.nuclear_furnace('minecraft:enchanted_golden_apple', 'minecraft:golden_apple')
})
It uses exactly the same format as vanilla smelting recipes (including setting cooking time and such).
If you want it to still do blasting recipes as well you can add those to it using forEachRecipe:
ServerEvents.recipes(event => {
event.forEachRecipe({type: "blasting"}, recipe => {
const newJson = JsonIO.copy(recipe.json)
newJson.addProperty('type', 'kubejs:nuclear_furnace')
event.custom(newJson)
})
})




