Creating a Centrifuge Machine

Started by LucasClanCat on Wed, 12/22/2021 - 07:50

Topic category: Help with modding (Java Edition)

Last seen on 22:19, 13. Jan 2022
Joined Jul 2013

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Creating a Centrifuge Machine
Wed, 12/22/2021 - 07:51 (edited)

Hey y'all,


So I'm relatively new to MCreator, but I want to learn more about how to make more advanced mods with it.


That being said, my first challenge is this:


I want to create a centrifuge machine that is powered by redstone so that the GUI displays "ON" when the machine is powered, and "OFF" when it's not. When the machine is OFF I want the machine to prevent the player from placing items in its input slot, and when the machine is ON, I want it to allow the player to place ONE of SPECIFIC items in the input slot, run for about 30 seconds, then output a newly created item, sorta like a furnace.


For my mod specifically, I'd like the centrifuge to take a bucket of milk, run for about 30 seconds while making a mechanical whirring sound, then output a bucket of cream instead, which would then be the basis for making other dairy products like butter, cheeses, whipped cream, etc.


Any ideas how I could do this? I tried setting up the procedures behind the GUI, but I'm totally confused


Any help would be appreciated! Thankies ^^

Edited by LucasClanCat on Wed, 12/22/2021 - 07:51