Minecraft Data Packs / Quality of Life

Simple timer to use in your minigame

  • check_circle Functions
  • 3,887 views, 1 today
  • 748 downloads, 0 today
  • 7
  • 5
  • 4
Duchacek
Level 22 : Expert System
3
Datapack is compatible with versions 1.20.5 and newer, to play with older version use the alternative download.
This datapack adds a simple timer to Minecraft, which you can use in your minigame or event. Here's how to use the datapack:
  • /function timer:show: Toggles visibility of the timer.
  • /scoreboard players set Timer IsVisible 0/1: Shows or hides the timer.
  • /function timer:play: Toggles the countdown.
  • /scoreboard players set Timer IsRunning 0/1: Starts or stops the countdown.
  • /function timer:reset: Sets the timer to 1 hour.

If you want to set the timer to another value, use the following commands:
  • /scoreboard players set Timer hour [​number]
  • /scoreboard players set Timer min [​number]
  • /scoreboard players set Timer sec [​number]

You can overwrite the file of a reset function to set the timer to a different value or create multiple preset functions to make the datapack more pleasant to use.

I hope this datapack will be helpful to you,
Duchacek
CompatibilityMinecraft 1.20
toMinecraft 1.21
Tags

1 Update Logs

1.21 : by Duchacek 07/19/2024 5:51:52 amJul 19th, 2024

  • added support for 1.20.5 and 1.21

Create an account or sign in to comment.

User5189333G
06/16/2024 2:01 pm
Level 1 : New Miner
Can you update to 1.21, I need to update my world with this timer, but it goes away when I try to do so.
2
Duchacek
07/19/2024 5:56 am
Level 22 : Expert System
Now it should work!
1
Duchacek
06/19/2024 11:07 am
Level 22 : Expert System
I can look at it, but i dont have much time now.
1
AlphaMC_
12/10/2023 4:33 pm
Level 17 : Journeyman Miner
history
Thanks dude this came in clutch for my minigame. Imma post it soon.
2

Welcome