ModsFinder

ActionLib

by kituin

ActionLib, a library by kituin, lets other mods register their own custom click and hover actions for text components in Minecraft.

FabricForgeNeoForgeQuiltClient and serverMIT LicenseOpen source1.16.5 – 1.21

What it does

ActionLib is a developer library. It registers new HoverEvent.Action types, so a mod can attach its own hover behavior to text, and it parses HoverEvent JSON correctly when text is sent through tellraw commands. Once an action is registered, text that uses it works in the same way as the built-in hover actions.

The library is aimed at mod developers rather than players, who see only the results in chat, books and tooltips. Every player and the server need a copy of the mod. Files are published for Fabric, Forge, NeoForge and Quilt across 19 release versions, 1.16.5 – 1.21, and the code is released under the MIT License, so it is open source.

Key features

  1. Custom hover actions

    Developers can register new HoverEvent.Action types and use them in text components shown to players.

  2. Tellraw HoverEvent parsing

    HoverEvent JSON sent through the tellraw command is parsed correctly, including the custom actions.

  3. Hover in written books

    Registered hover events can be used in written books, so text in a book can show extra information on hover.

  4. Registration after startup

    Actions can be registered after the game has started, so mods can add them at any point during loading.

Compatibility

Latest build for each game version and loader.

1.21.x1 of 1 version with builds
1.211.1.1-fabricNot availableNot available1.1.1-fabric
1.20.x7 of 7 versions with builds
1.20.61.1.1-fabricNot availableNot available1.1.1-fabric
1.20.51.1.1-fabricNot availableNot available1.1.1-fabric
1.20.41.0.2-fabric1.0.3-forge1.9.2-neoforge1.0.2-fabric
1.20.31.0.2-fabric1.0.3-forge1.9.2-neoforge1.0.2-fabric
1.20.20.6.3-fabric0.9.4-forge1.6.1-neforge0.6.3-fabric
1.20.10.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.200.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.19.x5 of 5 versions with builds
1.19.40.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.19.30.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.19.20.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.19.10.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.190.6.3-fabric0.9.4-forgeNot available0.6.3-fabric
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x1 of 1 version with builds
ReleaseBetaAlphaNot available

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

Use cases

Mod developers

Developers who need hover tooltips with behavior beyond the vanilla actions can register their own through the library.

Server command output

Server owners using tellraw with custom hover data get correct parsing when the library is installed.

Who it’s for: Mod developers building text-based features, and server owners who run tellraw commands with hover data. Players only need it when another mod they install requires it.

Questions

Does ActionLib need to be installed on both sides?

Yes. The server and every player need the mod installed.

Which loaders does ActionLib support?

Files are published for Fabric, Forge, NeoForge and Quilt. The latest Fabric and Quilt file is 1.1.1-fabric for 1.21, dated 2024-06-18.

Can players use ActionLib without a mod that needs it?

A library alone adds no content for players. It is used by other mods that register their own hover actions through it.

In the catalog

ActionLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,770 mods support Minecraft 1.21.

More from kituin

All projects

Similar mods

What the author says

This is a developer library for registering HoverEvent.Action After registering, - Correctly parsing HoverEvent json with /tellraw - Use HoverEvent in book
kituin, on the Modrinth page

Official listing

Owner
kituin
Published
2024-02-03
Updated on Modrinth
2024-06-18
Facts verified
2026-10-15

Tags