How to make a alloy smelter machine?

Started by CalculusMaster on Mon, 06/18/2018 - 00:05

Topic category: Advanced modding

Last seen on 04:30, 15. Jul 2020
Joined May 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a alloy smelter machine?
Mon, 06/18/2018 - 00:05

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
User points:

User statistics:

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