Skip to content

Overlay a timer on the Vanilla status effect HUD icons (Minecraft fabric mod)

License

Notifications You must be signed in to change notification settings

magicus/statuseffecttimer

Repository files navigation

Status Effect Timer

Modrinth CurseForge GitHub

This is a Minecraft mod for Fabric that overlays a timer on the Vanilla status effect HUD icons.

This mod overlays the time left of the status effect on the vanilla indicator. If the effect has an amplifier (as in "Haste II"), the amplifier is also overlaid. That's it. This is a very minimalistic mod. No settings are required nor provided.

The time is presented as seconds remaining. Durations longer than 60 seconds are presented as minutes remaining (followed by "m"), and durations longer than 60 minutes are presented as hours remaining (followed by "h").

Prior to 1.19.4, status effects longer than 32147 ticks (roughly 25 minutes) where considered "infinite", and are marked as "**" in the mod. Starting with 1.19.4, status effects can be properly infinite, which is marked by a "∞" symbol, and the 32147 tick limit has been removed.

I created this since the vanilla user experience of going into the inventory, and closing the recipe book, to check the remaining time of status effects was .. not ideal. There are some other mods that tried to achieve this, but most are bloated replacement for large parts of vanilla code, and the remaining still did not keep the vanilla basics.

Screenshot

This is what it looks like when you are using the mod.

Screenshot

Animation

Download

You can download the mod from any of these sites:

Installation

Install this as you would any other Fabric mod. (I recommend using Prism Launcher as Minecraft launcher for modded Minecraft.)

Support

Do you have any problems with the mod? Please open an issue here on Github.

Known Incompatibilities

This mod does not work if the mod 'Slight' Gui Modifications is installed and the configuration fluidStatusEffects is enabled.

This mod conflicts with Giselbaer's Durability Viewer, since that mod also draws a timer on the status effect icon. You need to disable the effect time feature in Durability Viewer to avoid clutter.