ModsFinder

KapLib

by Kapitencraft

KapLib is a Forge and NeoForge library that supplies helper classes, new attributes, rarities and GUI tools for other mods to build on.

ForgeNeoForgeClient and serverAll rights reserved1.20.1 – 1.21.1

What it does

KapLib groups several systems a mod developer would otherwise code from scratch, including a text box that spans multiple lines and supports color codes, utility classes that simplify network packets and data serialization, and wrappers for managing attribute modifiers. It also adds new attributes such as crit damage, draw speed, projectile speed and double jump, and new rarity tiers including LEGENDARY, MYTHIC and DIVINE.

Other systems cover requirements that disable item use, dealing damage, blocking or mining, a fishing hook system that works with other liquids, a screen overlay handler with changeable screen locations, and extra command arguments such as equipment slot enums. A customizable particle animation system and a helper for creating new enchantments are included as well. Enchantments+ requires KapLib, so it cannot run without this library installed.

Installation runs on client and server, so the server and every player need the library. Builds exist for Forge and NeoForge across two release versions, 1.20.1 and 1.21.1. Its license is All rights reserved, so the code is not open source, though public links exist for the source code and issue tracker.

Key features

  1. GUI textbox

    A multi-line text field with color formatting that other mods can place in their own screens.

  2. New attributes and rarities

    Attributes for crit damage, draw speed, projectile speed and double jump, plus rarities up to DIVINE.

  3. Requirement system

    Conditions that block item use, damage, blocking or mining until the requirement is met.

  4. Fishing hook and overlays

    A fishing hook system that also works in other liquids, and a screen overlay handler with movable locations.

Compatibility

Latest build for each game version and loader.

1.21.1Not availablev1.33.0-mc1.21.1
1.20.1v1.28.4-mc1.20.1Not available
ReleaseBetaAlphaNot available

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

Required by 1 mod

Use cases

Building a mod on top of it

Mod authors can call its helper classes for networking, serialization and attribute modifiers instead of writing them.

Adding custom enchantments

The enchantment helper and extra command arguments let a mod define and manage enchantments on top of KapLib.

Who it’s for: Mod developers working on Forge or NeoForge, and players who install a mod such as Enchantments+ that needs the library.

Questions

Does Enchantments+ need KapLib?

Yes. KapLib is listed as a required dependency of Enchantments+, so it must be installed alongside it on Forge or NeoForge.

Does KapLib have to be installed on the server?

Yes. A server running it needs every connecting player to have it too.

Which game versions does KapLib support?

Files exist for 1.20.1 and 1.21.1. The latest Forge file targets 1.20.1 and the latest NeoForge file targets 1.21.1.

In the catalog

KapLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 32,366 mods support Minecraft 1.21.1.

More from Kapitencraft

All projects

Similar mods

What the author says

since version 1.32.0 the project is no longer hosted on modrinth, but instead of the central maven repository for convenience and support reasons. follow the wiki to update the dependency. the published jar files for 1.32.0 and 1.32.1 are no valid mod files and should be ignored. developers should use central maven…
Kapitencraft, on the Modrinth page

Official listing

Owner
Kapitencraft
Published
2024-07-20
Updated on Modrinth
2026-09-21
Facts verified
2026-10-15

Tags