Adding custom furnace with liquid fuel?

Started by Mattrock607 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding custom furnace with liquid fuel?

Hello! So, for my first mod, I decided I'd make something fun that my friends and I could use on our server, based on our server's lengthy lore (we've been playing together since 2013). I'm adding a lot of 2D and 3D weapons, armor, and more. But to craft these things, I want players to craft ingots using a special "Forge" block, and then use those ingots on an "Ancient Anvil" with a smithing hammer. And that's where I'm lost.

How I want this to work/ What I'm trying to do:

Players will combine iron ingots, coal, and one of three types of flux (mod item) in the Ancient Forge to craft one of the three types of steel ingots available. The Ancient Forge will be fueled by lava, and I want the forge to be able to store up to 10 buckets of lava as fuel (giving you the buckets back of course). It cannot use coal, charcoal, or any other type of fuel... only lava. The forge is EXTREMELY slow; a single ingot would take about one full real-time minute (600 ticks) to process, and each ingot uses 1 full bucket of lava.

When the ingots are finished, you'd use them on the Ancient Anvil to craft items. It's sort of like a crafting table, only it has a 5x5 grid rather than the vanilla 3x3 grid, and it holds your recipe. Most importantly, the Ancient Anvil doesn't simply produce your item... you have to work for it!

In order to actually craft something on the ancient anvil, players would need to swing a Smithing Hammer at the anvil three times for each ingot used in the recipe. For instance, a pair of boots with four ingots would require you to hit it 12 times, while a chest piece with 8 ingots would need 24 hits, and a sword only needs 6 hits (2 ingots). Once you've hit the anvil enough times, it will glow (or something) to indicate that your item is finished and ready for use.

Can this be done?

I'm extremely new to MCreator. Yesterday I made all of the crafting items and got those into the editor, and I made a few blocks necessary for crafting stuff, but that's as far as I've gotten. I've tried looking for good videos explaining the GUIs and whatnot, but none of them really explain what I'm looking for and they all appear to be outdated. Is this something that someone could help me with? Is it even possible with MCreator, or is this a little too complex?

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortaltly, no. You cant
Fri, 08/25/2017 - 23:03

Unfortaltly, no. You cant tweak the burn times.

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That is unfortunate. I
Sat, 08/26/2017 - 19:19

That is unfortunate. I suppose I'll need to come up with some alternative method of crafting the ingots then and perhaps make them more expensive/ more difficult to craft.

What about the Ancient Anvil? Is that possible? Could I make a 5x5 crafting grid that only makes items from this mod? Are there any tutorials I could read/ watch that would help me accomplish this?

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know wether you are…
Sun, 05/03/2020 - 03:50

I don't know wether you are still doing this but you can create a 5x5 grid of input slots in a gui then use a procedure to check that all the items in the right slots and there is nothing else, which yes you will have to check all 25 slots to make sure they are clear or what you want in them. (This method would not work with vanilla recipes and only your custom ones) From there make it consume 1 item from all slots and then add an item into an output slot in your GUI.

You will need to make the "ancient anvil" a tile entity and set GUI slots to 26 and bind the GUI to be the one you created.

The procedure would be set to on update tick, you will also need to set the update tick rate to be smaller than 20 because it will check every how ever many ticks you set. Hope this helps. Your idea sounds really cool C;