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.
-
Register listeners in common code; they are bridged to each loader's own events.
-
Deferred registers, argument types and client registries.
-
Your mod's commands under its names and aliases, client commands, and the config command players get.
-
Custom payloads, with record payloads getting their codec derived for you.
-
Typed configs with server sync, hot reload, presets and migrations.
-
Your data on entities, block entities, item stacks, levels and the server, saved and synced; offline players' too.
-
Slot containers, item transfer and menus that need no screen code.
-
Custom drawing over an item wherever the game draws it in a GUI.
-
Game tests from common code, run by
/testand every loader's test server. -
Platform information, brewing recipes, datagen helpers and small utilities.