How to create a single input single output furnace like block?

Started by Kenneth48482019 on Wed, 01/09/2019 - 12:57

Topic category: Advanced modding

Last seen on 13:37, 10. Jan 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to create a single input single output furnace like block?
Wed, 01/09/2019 - 12:57

Hi, I am trying to make a block called a sawmill. It requires no fuel, but when someone places a log in the input slot, like a furnace it begins to smelt (or in this case saw) the log into a plank. The GUI has only one input and one output. Does anyone know what I can do to begin making this?

Last seen on 18:53, 13. Jan 2019
Joined Dec 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
you need an event when an…
Wed, 01/09/2019 - 20:18

you need an event when an item is put in the input slot, which first detects what item it is, and then summons a custom invisible mob (there are no wait blocks so you have to use mob's ticks...) and when the mob dies, it activates an event that sets the obtained item in the output slot (sorry, I'm very bad at explaining...).

Last seen on 13:37, 10. Jan 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
They need to add a wait…
Wed, 01/09/2019 - 21:34

They need to add a wait block :(

Last seen on 13:37, 10. Jan 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ok so how would I do the…
Thu, 01/10/2019 - 13:16

Ok so how would I do the summon thing?