Skip to content

Core

CoolCatLib's foundation: one common codebase for Fabric, NeoForge and Forge. Package net.ixdarklord.coolcatcore, in the coolcatlib mod (it was the mod CoolCatLib: Core before CoolCatLib became one mod). New here? Start with Getting Started.

  • Events


    Register listeners in common code; they are bridged to each loader's own events.

  • Registration


    Deferred registers, argument types and client registries.

  • Commands


    Your mod's commands under its names and aliases, client commands, and the config command players get.

  • Networking


    Custom payloads, with record payloads getting their codec derived for you.

  • Configs


    Typed configs with server sync, hot reload, presets and migrations.

  • Attachments


    Your data on entities, block entities, item stacks, levels and the server, saved and synced; offline players' too.

  • Containers and Menus


    Slot containers, item transfer and menus that need no screen code.

  • Item Decorators


    Custom drawing over an item wherever the game draws it in a GUI.

  • Game Tests


    Game tests from common code, run by /test and every loader's test server.

  • Platform and Utilities


    Platform information, brewing recipes, datagen helpers and small utilities.