Minecraft Data Packs / Challenge

Challenge Timer by zenti05

  • check_circle Functions
  • 9,396 views, 4 today
  • 2,611 downloads, 0 today
  • 14
  • 15
  • 8
zenti05's Avatar zenti05
Level 28 : Expert Peacock
4
This is my timer, especially for challenges. It will stop your used time in the format hh:mm:ss. This is not meant for larger times like days or weeks.

How to use:
1. Create your world (e. g. for a speedrun)
2. Import the Datapack in the progress of creating your world or drop it later in the folder "datapacks" (.minecraft > saves > [​your world] > datapacks)
3. Type "/reload" in your world chat
4. You can start it with "/trigger challenge_start"

The pictures above are in German, the Datapack is in English. "Timer: pausiert" means "Timer: paused". I didn't implemented a pause function so when its started, you can't pause it while you afk or something like that. The timer will stop when you die or when the ender dragon is dead.

One bug (and i don't know how to solve) is when you bedbomb the dragon, the timer wont stop, because the dragon is not killed by a player.

To restart the server from 0:00:00 you can start with 3. in the instructions.
CompatibilityMinecraft 1.15
toMinecraft 1.19
Tags

2 Update Logs

Update #2 : by zenti05 03/01/2023 5:32:00 pmMar 1st, 2023

Translated the Datapack to English :)
LOAD MORE LOGS

Create an account or sign in to comment.

2
03/04/2023 7:04 pm
Level 25 : Expert Modder
henry7167
henry7167's Avatar
hmm reminds me of Minecraft demo
2
03/28/2022 7:02 am
Level 1 : New Miner
Evangelous
Evangelous's Avatar
ik how I can help you solve the problem with the bug
just stop the timer when player in the end is inside end portal block

execute as @a if block ~ ~ ~ end_portal at @s run

something like this
1
03/28/2022 9:13 amhistory
Level 28 : Expert Peacock
zenti05
zenti05's Avatar
Thanks very much! I implemented it, but now the timer only ends when you go into the portal, whereas it normally stops once the dragon is dead. Now that's a small thing. I also made one more change, see the changelog.
1
03/29/2022 7:39 am
Level 1 : New Miner
Evangelous
Evangelous's Avatar
no problem :)
2
03/28/2022 10:14 am
Level 34 : Artisan Procrastinator
Energy2468
Energy2468's Avatar
You can try execute as @a[​dimension=minecraft:the_end] at @s if block ~ ~ ~ end_portal run [​command to stop timer]
1
03/29/2022 2:47 amhistory
Level 28 : Expert Peacock
zenti05
zenti05's Avatar
That would be an idea, but I've programmed it now so that the timer only stops if the block ~ ~ ~ is an end portal and the block ~ ~ -1 ~ is a bedrock. This block formation actually only exists in the end.
2
05/01/2022 9:13 am
Level 35 : Artisan Engineer
Qryymeariver
Qryymeariver's Avatar
What about: execute as @a[nbt={seenCredits:1b}] run <stop timer>
2
05/02/2022 10:13 am
Level 28 : Expert Peacock
zenti05
zenti05's Avatar
Would be an idea, but end as the same...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome