CoolCatLib

Write it once, run it everywhere. Events, networking, registries and configs, with screen effects, custom skies, cutscenes and GUI widgets on top: the purr-fect foundation for your mods.
Back to Files

[NeoForge] 26.2 | V9.0.0 RELEASE

File namecoolcatlib-neoforge-9.0.0-26.2.jar
Uploader
ixDarkLorDixDarkLorD
Uploaded
Nov 16, 2026
Downloads
23
Size
2.1 MB
Mod Loaders
NeoForge
File ID
9654534
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:coolcatlib-916525:9654534"

Learn more about Curse Maven

What's new

v9.0.0 Release | Nov 16, 2026

✨ New Features

  • Block entity renderers (coolcatcanvas.api.client.blockentity), as on 26.1.2: BlockRenderer, a base that leaves a mod to write only what it draws (newState, extract, render), culled by distance and view (viewDistance, bounds), drawn in less detail farther off (detail bands, reach), its states reused, turned to its block's facing (facing), with layers drawn with it (ItemLayer for floating items, LabelLayer for text, ChildLayer for other renderers). Press F3 + B to see each one's bounds, colored by its detail.
  • ArmatureBlockRenderer is a BlockRenderer: every setting above works on it and chains with its own (.detail(...).animate(...)), bounds grow from the armature's own, and a subclass draws more with newState, extract and render. It is culled out of view by the armature's bounds, and with detail bands set it animates every other frame at REDUCED and every fourth at MINIMAL, without its attachments.
  • ModCommands (api.command): registers a mod's server commands with its mod id and the command's names, the first its own and the others aliases that work the same, e.g. ModCommands.register("ftbultimineaddition", List.of("ultimine_addition", "ua"), (root, context, selection) -> root.then(...)). A name another command already has (vanilla's /tm, another mod's) is skipped, with a warning in the log. ModCommands.registerClient(modId, names, (root, context) -> ...) does the same for client commands. Instead of names, a client command can take its server command's: ClientNames.MERGED shares them (one /folios for players: what the client's parts can run stays on the client, the rest goes to the server), ClientNames.SUFFIXED adds _client (/ua_client beside /ua).
  • Every mod with CoolCatLib configs gets a config command under its own commands: /<command> config opens the mod's config screens and /<command> config <config> one of them (/folios config client). Anyone can open them; what they may change is still up to each config's edit permission.
  • /<command> config reload [config] reads the mod's config files again after they were edited by hand, without restarting (for operators): the server's configs on the server, the player's client configs on their own game.
  • /coolcatlib config [mod] [config] and /coolcatlib config reload [mod] [config] do the same for any mod, and on servers without CoolCatLib the player's own game does it.

🔧 Changes

  • Breaking: Canvas's GUI and render helpers moved to tidier packages under net.ixdarklord.coolcatcanvas.api.client: gui.components and gui.components.widgets to gui.widget, gui.components.widgets.panel to gui.panel, gui.components.animations to gui.animation, utils.ScreenAnchor to gui.placement, utils.TextEffects to text, and utils.RenderUtils, Outline and NineSliceInfo to render. The class names are the same; mods using them update their imports.
  • CoolCatLib's visuals are a mod of their own again, CoolCatLib Canvas (coolcatcanvas), and it comes inside CoolCatLib's jar: nothing more to install. Mods built on its API need net.ixdarklord.coolcatlib:coolcatlib-canvas-<loader> beside coolcatlib-<loader> (CoolCatLib's POM names it).
  • Canvas's namespace is coolcatcanvas: its shaders and includes (#moj_import <coolcatcanvas:screen_effect.glsl>), text effects (coolcatcanvas:rainbow, coolcatcanvas:gradient/...), the armature item model type (coolcatcanvas:armature), its built-in effects (coolcatcanvas:tint, coolcatcanvas:bloom), lang keys, key bindings and payload ids. Resource packs and mods that name these with coolcatlib: need the new name. The effects screen's choices and saved cutscenes move to config/coolcatcanvas-screen-effects.json and config/coolcatcanvas/cutscenes/, carried over from where they were.
  • The config screens' look belongs to CoolCatLib itself: ConfigEffect and ConfigEffects moved to net.ixdarklord.coolcatcore.api.config.client, and the dark or light choice is saved in config/coolcatlib-style.json.
  • Needs Glazed Menu 1.2.2 or newer when it's installed: older ones look for the config screen effects where they were.
  • /coolcatlib_client is gone: the client's config command is part of /coolcatlib (on servers without CoolCatLib), and the visuals' commands are /coolcatcanvas effects and /coolcatcanvas cutscene ....
  • The config commands no longer get, set or reset values or apply presets from the chat (/coolcatlib config <id> get|set|reset|preset): they open the config screens, where all of that is done.
  • CommandEvents.REGISTER and ClientCommandEvents.REGISTER are deprecated: use ModCommands (register and registerClient). Commands registered through it still work, and still get the config command: they're matched to the mod whose configs are built in the same packages.
  • The renderer registries moved to Canvas, beside its renderers, in net.ixdarklord.coolcatcanvas.api.client.registry: BlockEntityRendererRegistry, EntityRendererRegistry, and ItemRendererRegistry (was SpecialModelRendererRegistry; registers item model types drawn by code). The ones in net.ixdarklord.coolcatcore.api.client.registry still work but are deprecated.

🐛 Bug Fixes

  • A mod's server command no longer stops working when the mod also has a client command of the same name (/folios config beside the client's /folios guide): what only the server's command can run now goes to the server instead of failing on the client as an incorrect argument.

This mod has no related projects