Creating a furnace

Started by WauloK on Wed, 05/11/2022 - 12:13

Topic category: Help with modding (Java Edition)

Last seen on 10:17, 20. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Creating a furnace
Wed, 05/11/2022 - 12:13

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!

Last seen on 23:02, 22. Jun 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 10:17, 20. May 2022
Joined May 2022
Points:

User statistics:

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

oh cool, thanks!

Last seen on 21:32, 24. Jun 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 10:17, 20. May 2022
Joined May 2022
Points:

User statistics:

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

Cheers!