Minecraft Data Packs / Quality of Life

Simple timer to use in your minigame

  • check_circle Functions
  • 2,593 views, 5 today
  • 428 downloads, 0 today
  • 4
  • 3
  • 3
Duchacek's Avatar Duchacek
Level 19 : Journeyman System
2
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.13
toMinecraft 1.20
Tags

Create an account or sign in to comment.

User5189333G
06/16/2024 2:01 pm
Level 1 : New Miner
User5189333G's Avatar
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
06/19/2024 11:07 am
Level 19 : Journeyman System
Duchacek's Avatar
I can look at it, but i dont have much time now.
1
AlphaMC_
12/10/2023 4:33 pm
Level 15 : Journeyman Miner
history
AlphaMC_'s Avatar
Thanks dude this came in clutch for my minigame. Imma post it soon.
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome