Can u make a tick counting timer on a trigger?

Started by nothing... on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can u make a tick counting timer on a trigger?

Idk if the title makes sense but I have an audio that plays once you finish eating the item so I used the trigger "Player finishes using item". I want things to happen at certain times while using the audio though so I use the wait trigger to wait for the bit I want the thing to happen on and that's fine but I want something else to happen. I can't use another wait trigger apparently because it won't let me and I've tried using a tick counter or whatever but that doesn't work either. I'm new so idk if I'm being dumb here or what..

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not entirely sure what…
Sat, 01/24/2026 - 21:51

I'm not entirely sure what you're trying to do, but it sounds like you might be using a procedure trigger to start when a player finishes eating an item. In which case it is called once at the end of doing something, so if you want the things to happen at certain times after it, you would want to set a logic variable to true when you finish using the item, then use the player tick update global trigger in a separate procedure to count up a number variable, and when it reaches certain numbers, trigger the effects, then when it reaches the highest number, set it to 0 and set the logic variable to false.

Something like that probably. There are better-explained tutorials on this elsewhere on the forums, but basically, you are using a procedure trigger which is called once, so you want to update a logic variable and use a different procedure when the logic is true to act as a timer.

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can't you just use wait x…
Sat, 01/24/2026 - 22:38

can't you just use wait x ticks on server side then do block? or am i misinterpreting this