Creating a furnace

Started by WauloK on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creating a furnace

I've searched the forum and read lots of posts about making custom furnaces. I even watched Pylo's videos.

One problem is the MCreator GUI scratch-type pieces have changed since the 2020 version of MCreator so some are different.

My question, however, is can I somehow select if block type "wood" then do the smelting code.  All videos I can find say to use "If Oak Wood then smelt" else "If Spruce Wood then smelt" else "If Charcoal then smelt"... etc

And the same for the ore. Videos show code which says "If Iron input plus charcoal then output iron ingot" but I don't want to have to make 100 entries, particularly if I were to support say Biomes O'Plenty which will have another 40 or so wood types to take into account and the code will become unwieldly.

Or is this only do-able with Java code (which I can write if it is).
TIA!

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well you could just input …
Wed, 05/11/2022 - 17:13

Well you could just input "All Planks" "All Logs" and things like that rather than each wood type

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh cool, thanks!
Wed, 05/11/2022 - 22:26

oh cool, thanks!

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
FWI, the "All Logs" option…
Thu, 05/12/2022 - 04:41

FWI, the "All Logs" option is bugged and compiles as Oak Logs.  This can be fixed with a minor code edit for your recipe.

Open the recipe's  .json file in the code editor and change "minecraft:oak_log" to "minecraft:logs" and save.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cheers!
Fri, 05/13/2022 - 23:16

Cheers!