'Tick' (time-related) Procedure Blocks

Started by Riftjaw on Mon, 05/13/2019 - 23:45

Topic category: Feature requests and ideas for MCreator

Last seen on 12:39, 22. Sep 2019
Joined Jan 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
'Tick' (time-related) Procedure Blocks
Mon, 05/13/2019 - 23:45

 A simple procedure addition that would be very useful would be 'tick' blocks. Blocks like: "Repeat for (number) ticks" and "Wait for (number) ticks".

 It's pretty self-explanatory. Just procedure blocks that will give customizable delay. Also, it might be helpful to have an option on these blocks to switch between ticks or seconds for time measurement.

I think it would be easy to implement and quite useful.

Last seen on 05:25, 9. Nov 2019
Joined Nov 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hi, just thought I could add…
Wed, 10/23/2019 - 22:20

Hi, just thought I could add on to this since I found it a bit hard to do when trying the video's procedures on the player or entity. With the new update adding potions, you could make a new effect for a timer. Make a procedure stating "IF Entity has Potion Effect TIMER = False, DO Add Potion Effect TIMER With Duration [time in ticks] (20 ticks = 1 second)" Followed by all your custom stuff that happens after every x ticks in the DO bracket. Set the new potion effect to not have bottles, not render in GUI or inventory to limit the look on your game. Only problem with this is that a blank bar appears in you inventory when used on the player. Oh, and make the timer effect not deactivate with a milk bucket, forgot that when testing it out. Hope this helps. :)