Мова

Animated Timer

Animated Timer

Modrinth

This data pack adds an animated and extensively configurable in-game timer.

4.5k завантажень 13 підписників оновлено 2mo ago
остання v1.3.3 Modrinth
Datapack 1.21 – 26.1.1 Game-mechanicsUtility

Introduction

Animated Timer (AT) data pack adds an in-game timer via the actionbar field of Minecraft’s HUD. A wide range of functions ensures a simple yet versatile configuration, allowing you to customize your timer according to your likings and needs.

Features

In its original and unmodified state, features include:

  • Count-up & count-down
  • Multiple render (display) types
  • Both static (never changing) and animated (always changing) color configuration
  • General style configuration (bold & italic text)
  • Pre-built animations
  • Profiles (ability to save current configuration & load at a later time)
  • Trigger scoreboards for complete configuration & interaction even if cheats are disabled
  • Advanced features for map makers (facilitated embedding into external projects)

Controlling the timer

AT can be controlled the following way:

| Description | Cheats enabled | Without cheats |
|---|---|---|
| Start / resume the timer | /function at:continue | /trigger continue |
| Pause the timer | /function at:pause | /trigger pause |
| Set timer to its initial value and start it | /function at:reset | /trigger reset |
| Set timer to zero and stay paused | /function at:reboot | /trigger reboot |

Controlling the timer

Manually setting time

In some situations, you may want to alter the current time manually. This can be done either with a function in the at-time namespace or with /trigger:

| Description | Cheats enabled | Without cheats |
|---|---|---|
| Add one second | /function at-time:add/second | |
| Remove one second | /function at-time:remove/second | |
| Set seconds | /function at-time:set/seconds/10 | /trigger seconds set 10 |
| Add one minute | /function at-time:add/minute | |
| Remove one minute | /function at-time:remove/minute | |
| Set minutes | /function at-time:set/minutes/15 | /trigger minutes set 15 |
| Add one hour | /function at-time:add/hour | |
| Remove one hour | /function at-time:remove/hour | |
| Set hours | /function at-time:set/hours/3 | /trigger hours set 3 |
| Add one day | /function at-time:add/day | |
| Remove one day | /function at-time:remove/day | |
| Set days | /function at-time:set/days/7 | /trigger days set 7 |

Note: The above functions that include at-time:set are just examples. In fact, a multitude of set functions are available for use.

Manually setting time

Timer modes

AT is counting up by default but count-down is also available. You can toggle between both count modes with a single command:

| Description | Cheats enabled | Without cheats |
|---|---|---|
| Switch between timer modes | /function at-conf:mode | /trigger mode |

Timer modes

How to upgrade

  1. Download latest data pack version
  2. In your datapacks directory, replace old version with new one
  3. Reload your game, either with /reload or through re-joining your world

Are you interested?

If you would like to find out more about configuration or how to integrate this timer into your projects, please check out the AT Docs site.

Roadmap

  • Add option to trigger a pause at specific game events (player dies, dragon defeated, ...)
  • Add gradient generator for custom animations
  • Implement timer modes / render patterns "realtime" & "in-game time"
  • Add display option (show timer in bossbar or scoreboard title)
  • Implement timer configuration UI using new dialog feature

Inspiration

This project was inspired by German content creator BastiGHG who often uses a similar version of this timer in his videos and streams.

Версії

Release
1.3.3
datapack · 1.21, 1.21.1, 1.21.2 · 2mo ago
## Features <details> <summary>Add animation</summary> <ul> <li>aqua-fade</li> </ul> </details> ## Technical <details> <summary>Minor changes & bug…
559
Release
1.3.2
datapack · 1.21, 1.21.1, 1.21.2 · 4mo ago
## Features <details> <summary>Extend prefix & suffix fields to support variables</summary> In short, variables enable depicting dynamic content, including…
658
Release
1.3.1
datapack · 1.21, 1.21.1, 1.21.2 · 7mo ago
## Features <details> <summary>Implement new API function</summary> You are now able to retrieve AT's locally installed version by using the following API Get…
836
Release
1.3.0
datapack · 1.21, 1.21.1, 1.21.2 · 10mo ago
## Major (breaking) changes <details> <summary>Implement AT API</summary> The new application programming interface enables direct interaction with AT's timer…
515
Release
1.2.1
datapack · 1.21, 1.21.1, 1.21.2 · 11mo ago
## Features <details> <summary>Extend pattern engine to display player coordinates and viewing direction</summary> By using the two new variables %c and %f,…
386
Release
1.2.0
datapack · 1.21, 1.21.1, 1.21.2 · 14mo ago
## Features <details> <summary>Implement option to modify timer pattern</summary> To further extend the configuration possibilities of AT, you can now alter…
461
Release
1.1.2
datapack · 1.21, 1.21.1, 1.21.2 · 16mo ago
## Features <details> <summary>Add two animations</summary> <ul> <li>light-blue</li> <li>white-aqua</li> </ul> </details> ##…
319
Release
1.1.1
datapack · 1.21, 1.21.1, 1.21.2 · 17mo ago
## Features <details> <summary>Implement player requirement option</summary> Pauses the timer when no one is currently in the game. This setting is disabled…
217
Release
1.1.0
datapack · 1.21.2, 1.21.3 · 20mo ago
## Major (breaking) changes <details><summary>Rename several trigger scoreboards</summary> All profile- and some animation-related trigger scoreboards have…
143
Release
1.0.1
datapack · 1.21, 1.21.1 · 22mo ago
## Features <details> <summary>Implement uninstall function at-main:uninstall</summary> This removes all scoreboards and NBT storages used by…
264
Release
1.0.0
datapack · 1.21, 1.21.1 · 22mo ago
139

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Animated Timer

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.