Procedure Pause

Started by Univern on Mon, 07/02/2018 - 15:31

Topic category: Help with modding (Java Edition)

Last seen on 16:11, 20. Jul 2020
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Procedure Pause
Mon, 07/02/2018 - 15:31

I want to have a procedure that carries out an order, pauses, then finishes it. I have chacked and cannot find a block that says wait or pause, is it possible to have this happen?

Last seen on 08:55, 6. Oct 2018
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I know how to make it…
Fri, 07/06/2018 - 22:16

I know how to make it without gui. I hope that helps. So first make four different blocks (those four blocks are for only one type of food). First one should be empty machine with wood logs on the bottom(3d model i suggest), second one should be machine with porkchop in(3d model too), third one should be with baked porkchop in (3d model too) and fouth one should be furnance with wood logs on fire(3d model too) . then put those four blocks in mcreator. Create first procedure that says __________

If block/item in entity's main hand == blocks/items(flint and steel") then

remove 1 block from xyz

place 1 blocks(fourth block)

play sound fire(ig)

 

 

then apply first procedure to first block on right click. Then second procedure_____________

If block/item in entity's main hand == blocks/items("porkchop") then

remove 1 block from xyz

remove 1 item from entity's main hand

place 1 blocks(second block)

play sound (your choice)

 

 

then apply second procedure on to fourth block on right click. Then third procedure_____________

remove block at xyz

place block(third block) at xyz

any sound

 

 

apply third procedure on second block on update tick. Then fourth procedure_____________

remove block at xyz

place block(first block) at xyz

play any sound

 

 

and apply fourth procedure to third block on right click.

 

 

I hope i helped :) Sorry for bad english. Btw i forgot to mention second third and fourth blocks should have wood logs on fire and set the tick rate of second block to any value you want(20 ticks= 1 second)