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

Started by Kenneth48482019 on

Topic category: Advanced modding

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to create a single input single output furnace like block?

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?

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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...).

Joined Jan 2019
Points:

User statistics:

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

They need to add a wait block :(

Joined Jan 2019
Points:

User statistics:

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

Ok so how would I do the summon thing?

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, not at all. You see,…
Tue, 02/12/2019 - 13:38

No, not at all. You see, only blocks have a tick function (20 ticks : 1 second.) So, if you want your sawmill to saw, then make it check if there are any logs every "x" ticks and make it turn "x" logs into "x" planks.

"x" : random number of your choice

Btw, how did you even reach the conclusion of using mob ticks? These don't even have advanced tick functions to begin with. All they do and are able to do is simply count every tick in the game.