Data Packs Challenge

Challenge Timer by zenti05

  • 10.5k views 0 today
  • save_alt 2.7k downloads
Compatibility
Minecraft 1.15
to version
Minecraft 1.19
Changes include
  • Functions
  • 15
  • 17
  • 8
zenti05
Lvl 30Artisan 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.

2 Update Logs

Update #2 : by zenti05 03/01/2023 5:32:00 pmMarch 1, 2023 @ 10:32 pm UTC

Translated the Datapack to English :)
LOAD MORE LOGS

More like this

  Have something to say?

henry7167
03/04/2023 7:04 pm
Level 28 : Expert Strawberry Creeper Hugger
hmm reminds me of Minecraft demo
2
Evangelous
03/28/2022 7:02 am
Level 1 : New Miner
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
2
zenti05
03/28/2022 9:13 am
Level 30 : Artisan Peacock
history
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
Evangelous
03/29/2022 7:39 am
Level 1 : New Miner
no problem :)
1
Energy2468
03/28/2022 10:14 am
Level 35 : Artisan Procrastinator
You can try execute as @a[​dimension=minecraft:the_end] at @s if block ~ ~ ~ end_portal run [​command to stop timer]
2
zenti05
03/29/2022 2:47 am
Level 30 : Artisan Peacock
history
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.
1
Qryymeariver
05/01/2022 9:13 am
Level 37 : Artisan System
What about: execute as @a[nbt={seenCredits:1b}] run <stop timer>
2
zenti05
05/02/2022 10:13 am
Level 30 : Artisan Peacock
Would be an idea, but end as the same...
2

Welcome