Started by
mods are fun
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a custom furnace, but i dont want to go thru every single crafting recipe and add all of them.
Edited by mods are fun on Sun, 12/18/2022 - 13:57
Fortunately for you, there is a way to do this. I don't remember what it is called, but there is a procedure block for getting the result of smelting an itemstack.
First, have any custom recipes in your procedure.
Next:
If (input slot itemstack is smeltable) AND ((output slot is empty) OR((output slot has the same item as the input slot's smelting result) AND (the output slot doesn't have the max stack size of the output item)))
Set in output slot: ((number of items in output slot + 1) smelting result of (input slot))
Remove one item from input slot
IMPORTANT: make sure the removal of items from the input slot is AFTER putting items in the output slot
ty