ModsFinder

GenericCodeLibrary

by KSmc's Team

GenericCodeLibrary is a client-side code library from KSmc's Team that supplies shared utility classes and an event system for other mods.

FabricForgeNeoForgeClient-side onlyMIT LicenseOpen source1.21

What it does

The library holds common code that KSmc's Team uses across its client-side mods, so those mods do not each carry their own copy. Its utility classes are built around an event system modeled on Google Event, with events such as TimerEvent, GetOptionValueEvent and BlockLightingEvent. Fabric API is required, and the code is open source under the MIT License. Files cover Fabric, Forge and NeoForge for 1.21, with 1.0 for 1.21 as the latest release.

Key features

  1. Shared utility classes

    Common helper code is grouped into utility classes that other client-side mods can call instead of duplicating it.

  2. Event system

    An event system based on Google Event lets mods subscribe to and fire named events between components.

  3. Named client events

    Events such as TimerEvent, GetOptionValueEvent and BlockLightingEvent cover timing, option reads and block lighting.

Compatibility

Latest build for each game version and loader.

1.211.01.01.0
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Questions

Does GenericCodeLibrary need Fabric API?

Yes. Fabric API is listed as a required dependency, so it must be installed alongside GenericCodeLibrary on every loader.

Does a server need GenericCodeLibrary?

No. Only the player's game needs it, and servers run without it.

In the catalog

GenericCodeLibrary is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,770 mods support Minecraft 1.21.

More from KSmc's Team

All projects

Similar mods

What the author says

GenericCodeLibrary is a Lib mod that includes some utility classes and an event system based on Google Event Bus. It features events such as TimerEvent, GetOptionValueEvent, BlockLightingEvent, etc., and contains the common code used in most of KSmc_brigade's client-side mods.
KSmc's Team, on the Modrinth page

Official listing

Owner
KSmc's Team
Published
2025-01-12
Updated on Modrinth
2025-01-12
Facts verified
2026-10-15

Tags