How to make a alloy smelter machine?

Started by CalculusMaster on

Topic category: Advanced modding

Last seen on 16:02, 26. Apr 2022
Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a alloy smelter machine?

I have two main questions:

How do i make an alloy smelter type machine where I have two input slots (for the input metals to be alloyed) and one output slot that is the final alloy?

 

2. Is there a way to make above recipes take time (like the furnace does)?

Last seen on 04:38, 22. Oct 2020
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use https://mcreator.net…
Mon, 06/18/2018 - 10:41

Use https://mcreator.net/news/42657/mcreator-tutorial-using-procedures-cust… for the procedure system. Then add the code to check if there is an item in both slots and put this in an if block which is surrounding the code from the tutorial. Then when making the GUI when adding the slots in the procedure trigger thing which says when item put in slot ,put the procedure you just made for that. The only problem is this is an instant process so before the part which adds something to the item slot you need to make it wait (I think this uses the tick system). The code to make it wait can be found at this forum: https://mcreator.net/forum/42203/waiting-procedures?page=0