ModsFinder

Timed Modifiers API

by Black-Cat

Timed Modifiers API is a Fabric library that gives other mods a way to attach attribute modifiers that expire, change over time and follow easing curves.

FabricServer-side onlyMIT LicenseOpen source1.21.7 – 1.21.10

What it does

A modifier added through the API can be set to last for a fixed number of ticks instead of the whole lifetime of the entity it is attached to. When the duration runs out the modifier is removed automatically. A developer can also renew the duration before it ends, and the API returns -1 when no value has been set, so calling code can tell an unset value apart from a real one.

Instead of a flat value, a modifier's strength can rise or fall across its lifetime. Developers choose an easing type from Sine, Quadratic, Cubic, Quartic, Quintic and Circle to shape that change. Access to the API goes through the TimedModifierAPI entry point, and the order of method calls matters, so the developer documentation should be read before use. The library is server-side only, so players join without installing it, while mods that depend on it need it on the server. Builds cover 1.21.7 – 1.21.10 and are published for Fabric alone; the code is licensed under the MIT License and is open source.

Key features

  1. Timed attribute modifiers

    Attribute modifiers can be given a duration in ticks, after which they are removed without extra code.

  2. Renewable durations

    A modifier's remaining time can be extended again before it expires, so a effect can be kept running.

  3. Changing values over lifetime

    A modifier's value can increase or decrease over its lifetime rather than staying constant.

  4. Selectable easing curves

    Six easing types, Sine, Quadratic, Cubic, Quartic, Quintic and Circle, control how the value changes over time.

  5. Unset value signal

    The API returns -1 when no value is set, giving calling code a clear marker for missing data.

Compatibility

Latest build for each game version and loader.

1.21.101.3.1+1.21.7
1.21.91.3.1+1.21.7
1.21.81.3.1+1.21.7
1.21.71.3.1+1.21.7
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

Use cases

Who it’s for: Mod developers who need time-limited or time-varying attribute modifiers, and server owners who run mods built on the library.

How it compares

Full comparison

Loot Modifier is a Fabric option for 1.21.5 – 1.21.8 that is server-side only and open source under the MIT License, but it changes loot tables rather than attributes. Dynamic Registries Modifier is open source under the CC0 1.0 Universal license, runs on Fabric for 1.21.1 – 1.21.8 and is optional on the client or server. Merged Items is for 1.21.1 only and needs both the client and server, under the MIT License.

ModLoadersGame versionsEnvironmentUpdated
Timed Modifiers APIFabric1.21.7 – 1.21.10Server-side only2025-12-10
Loot ModifierFabric1.21.5 – 1.21.8Server-side only2025-09-21
Dynamic Registries ModifierFabric1.21.1 – 1.21.8Client or server, optional2025-08-23
Merged ItemsFabric1.21.1Client and server2025-07-28

Questions

Does Timed Modifiers API need to be installed on the client?

No. Server owners install it, and players connect with no copy of their own. Players can join without installing it.

Which game versions does Timed Modifiers API support?

Files cover 1.21.7, 1.21.8, 1.21.9 and 1.21.10, with 1.3.1+1.21.7 for 1.21.10 as the latest Fabric file.

Which mod requires Timed Modifiers API?

Throw Your Axes requires it, so the library must be present on the server for that mod to work.

In the catalog

Timed Modifiers API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,569 mods support Minecraft 1.21.10.

More from Black-Cat

All projects

Similar mods

What the author says

If you are a player, simply download and add this to your mod folder. If you are a developer, please read the following to learn how to use this API. You can make a modifier's value increase/decrease over its lifetime. To do this, call
Black-Cat, on the Modrinth page

Official listing

Owner
Black-Cat
Published
2025-11-03
Updated on Modrinth
2025-12-10
Facts verified
2026-10-15

Tags