ModsFinder

NilKit API

by TamKungZ_

NilKit API is a developer toolkit library for NilLoader, supplying reusable utilities for legacy Minecraft mod development.

NilLoaderClient and serverGNU Lesser General Public License v3.0 or laterOpen source1.2.1 – 26.1.2

What it does

NilKit API collects helpers that mod authors can call from their own code. These include a lightweight event bus with cancellable events and listener priorities, typed annotation-based listeners, premain hijack lifecycle helpers, reflection helpers for version-dependent Minecraft code, and SRG/CSRG mapping utilities with mapping inspection, reversal and chaining lookup. A general-purpose KDL parser and writer is included for richer project and mod metadata.

The library cuts down the repeated code that authors write around event handling, reflection, mappings and project metadata. Minecraft-specific functionality still depends on the mappings structure of the target game version. NilLoader itself, including its loading lifecycle, is maintained separately, and NilKit complements NilLoader rather than replacing it. The official NilLoader project is required to use it.

Key features

  1. Lightweight event bus

    An event bus supports cancellable events and listener priorities, so handlers can run in a defined order.

  2. Annotation-based listeners

    Typed listeners are registered through annotations, which reduces manual wiring in mod code.

  3. Mapping utilities

    SRG and CSRG mappings can be inspected, reversed and chained through a lookup interface.

  4. Reflection helpers

    Helper methods handle reflection on Minecraft code whose structure differs between game versions.

Compatibility

Latest build for each game version and loader.

26.x3 of 3 versions with builds
26.1.24.1.0
26.1.14.1.0
26.14.1.0
1.21.x12 of 12 versions with builds
1.21.114.1.0
1.21.104.1.0
1.21.94.1.0
1.21.84.1.0
1.21.74.1.0
1.21.64.1.0
1.21.54.1.0
1.21.44.1.0
1.21.34.1.0
1.21.24.1.0
1.21.14.1.0
1.214.1.0
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

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

51 older game versions (1.2.1 – 1.13) not shown. All files on Modrinth

Use cases

Legacy mod development

Authors maintaining mods across many older game versions can share event, reflection and mapping code instead of rewriting it.

Metadata handling

The bundled KDL parser and writer let a mod keep richer project and mod metadata in a readable format.

Who it’s for: The library is for mod developers who build on NilLoader and want shared utilities for events, reflection, mappings and metadata. Players who only install finished mods have no use for it.

Questions

Does NilKit API need NilLoader?

Yes. The official NilLoader project is required, and NilKit complements it rather than replacing it.

Which Java version does NilKit API target?

The current release targets Java 8 bytecode, so it can be used on that runtime.

Does NilKit API have to be installed on both sides?

Every player and the server need a copy of the mod.

Are the Minecraft-specific parts tied to one version?

Yes. Minecraft-specific functionality depends on the mappings structure of the target game version, although the rest of the library is general purpose.

In the catalog

NilKit API is one of 3,514 Library mods on ModsFinder. 15,189 mods support Minecraft 26.1.2.

More from TamKungZ_

All projects

What the author says

An independent utility API and developer toolkit for mods built with NilLoader. NilKit is not part of the official NilLoader project and is not required to use NilLoader.
TamKungZ_, on the Modrinth page

Official listing

Owner
TamKungZ_
Published
2026-03-21
Updated on Modrinth
2026-08-06
Facts verified
2026-10-15

Tags