ClockworkLib
by TheASEStefan
ClockworkLib is a Forge library of helper code for developers, covering screenshake, voxel shapes, particles, easings, quaternions and block sounds.
What it does
The library gathers small utilities that other mods can call instead of writing their own: a simple screenshake implementation, a voxel shape helper, particle formulas with variations for gravity and direction, quaternion math and easing functions. It also adds an easier way to attach sounds to blocks, and a simple example config that shows developers how to set one up.
Every player and the server need a copy of the mod. Builds exist for Forge only, for four game versions, 1.19.2, 1.19.3, 1.19.4 and 1.20.1, with 1.0.1 for 1.20.1 as the latest file. The code is open source under the MIT License, and the source repository and issue tracker are public.
It is mainly used by the authors' own newer projects, and other developers may use it freely. Three catalog mods require it, Zombies Reworked, Dawn of the Flood - "Madrigal" and Skeletons Reworked, so installing one of them brings the library in as a dependency.
Key features
Screenshake helper
Provides a simple screenshake implementation that a mod can trigger for camera effects.
Voxel shape helper
Helps build and combine voxel shapes for block collision and outline geometry.
Particle formulas
Particle formulas with variations for gravity, direction and similar motion parameters.
Easings and quaternions
Easing curves and quaternion math for smooth interpolation and rotation in mod code.
Block sound setup
An easier way to add sounds to blocks, with an example included for developers to follow.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 3 mods
Use cases
Who it’s for: Mod developers who want shared helper code for effects, shapes, particles and sounds, rather than writing those utilities in each project.
Questions
Does Zombies Reworked need ClockworkLib?
Does ClockworkLib have to be installed on both sides?
Which game versions does ClockworkLib support?
Can other developers use ClockworkLib in their own mods?
In the catalog
ClockworkLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from TheASEStefan
Similar mods
What the author says
Clockwork is a small, yet easy to use and powerful library available on newer versions of Minecraft! It's mainly used in our newer and updated projects, but it can also be used freely by other devs! It adds: Simple Screenshake Implementation, Voxel Shape Helper, Very Useful Particle Formulas and Variations to define…
Official listing
- Modrinth page
- modrinth.com/mod/clockworklib
- Owner
- TheASEStefan
- Published
- 2024-04-26
- Updated on Modrinth
- 2026-05-23
- Facts verified
- 2026-10-15
