• 9,584 views, 41 today
    • 3,144 downloads, 11 today
    • 19
    • 16
    • 14
    Tapir0
    Level 25 : Expert Miner
    4

    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
    Configure seconds/function at-time:add/second
    /function at-time:remove/second
    /function at-time:set/seconds/10
    /trigger seconds set 10
    Configure minutes/function at-time:add/minute
    /function at-time:remove/minute
    /function at-time:set/minutes/15
    /trigger minutes set 15
    Configure hours/function at-time:add/hour
    /function at-time:remove/hour
    /function at-time:set/hours/3
    /trigger hours set 3
    Configure days/function at-time:add/day
    /function at-time:remove/day
    /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, ...)
    • Implement option to display custom text next to timer
    • Add custom gradient generator
    • Add timer mode realtime
    • Increase timer accuracy through realtime syncing

    References

    Changelog
    The full changelog can be found here.

    Inspiration
    This project was inspired by German content creator BastiGHG who often uses a similar version of this timer in his videos.
    CompatibilityMinecraft 1.21
    Tags

    5 Update Logs

    v1.2.0 : by Tapir0 04/25/2025 4:08:00 pmApr 25th

    Features

    • Implement option to modify timer pattern
    • Implement timer prefix & suffix preference
    • Add five animations
    • Add ability to check AT version in-game

    Technical

    • Data pack compatibility (Minecraft 1.21.5)

    The full changelog can be found at AT's documentation.
    LOAD MORE LOGS

    Create an account or sign in to comment.

    User5778439G
    05/21/2025 5:09 am
    Level 1 : New Miner
    is there any chance to start/pause/reset without cmds?
    1
    Tapir0
    05/22/2025 1:17 pm
    Level 25 : Expert Miner
    Hey, this is currently not possible, except that the timer pauses as soon as it counts down to zero. Could you please elaborate on what you are trying to accomplish?
    1
    NoVelo
    03/09/2025 10:42 am
    Level 1 : New Miner
    Hello,
    with this command:
    /function at-anim:load {name:blue-fade}
    What colors can you enter?
    2
    Tapir0
    03/09/2025 5:14 pm
    Level 25 : Expert Miner
    Hey, you can use /function at-anim:list or alternatively /trigger list-animations to print out a list of available animations (colors). Simply left-click on the one you would like to use to suggest the corresponding load command. For more information regarding this topic, please read the docs.
    2
    Zwerg2012
    02/26/2025 7:52 am
    Level 1 : New Miner
    Hello,


    i want a green timer like BastiGHG. Is that possible in this timer?
    1
    Tapir0
    02/26/2025 12:03 pm
    Level 25 : Expert Miner
    Hey, as explained in the documentation, the animation can be changed to green-fade using either /function at-anim:load {name:green-fade} or, if you are playing without cheats, with /trigger load-animation set 40.
    1
    Merto_61
    02/24/2025 1:39 pm
    Level 1 : New Miner
    Hey!
    I need a Timer i looked in the folder and saw blue-fade and was interrested in it
    could you do me a timer with the blue-fade
    and there schould be just the blue fade pls
    1
    Tapir0
    02/24/2025 3:04 pm
    Level 25 : Expert Miner
    Hey, thank you for your comment.

    I don't understand exactly what you are trying to achieve here. You can either run /function at-anim:load {name:blue-fade} or /trigger load-animation set 20 to set the timer to blue-fade. AT will stay on this animation until you modify it again, e.g. to a static style type or another animation.

    Are you referring to modifying AT's default settings? Altering the source code directly would ensure that wherever you use this modfied datapack, blue-fade is always selected by default. Is this what you want?
    1
    Merto_61
    02/24/2025 5:02 pm
    Level 1 : New Miner
    Yes and there should be nothing other than blue fade if you can do this i would appreciate it so much
    1
    Merto_61
    02/24/2025 5:10 pm
    Level 1 : New Miner
    and i have looked up sooo many timers and your timer is the only ohne with animations your Timer doesn’t start automatically and your timer has different variations like this on 12d 23h 5m 35s
    1

    Welcome