You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a timespan on a worldclock to measure elapsed time.
44
-
45
-
This is a non-ticking approach that works well for large datapacks or any setup
46
-
that needs many cooldown timers.
27
+
- [Scoreboard-based cooldown](/guide/cooldown/scoreboard) - Uses a scoreboard objective to store how
28
+
much time remaining until the cooldown expires. This is the simplest and the easiest to understand version,
29
+
but if you're creating a larger datapack, or intend on using it with multiple players, you may prefer to use an alternative version to minimise system lag.
30
+
- [Worldclock-based cooldown](/guide/cooldown/worldclock) - Uses the time on a worldclock to measure the elapsed time since an action was last used. This is a non-ticking approach that works well for large datapacks, or any project that uses many cooldown timers.
0 commit comments