How can i make a Custom furnace with default recipes in it?

Started by mods are fun on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a Custom furnace with default recipes in it?
Sun, 12/18/2022 - 13:57 (edited)

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
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fortunately for you, there…
Sun, 12/18/2022 - 17:04

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