Canvas¶
CoolCatLib's visuals, built on its Core. Package net.ixdarklord.coolcatcanvas, in the mod CoolCatLib Canvas (coolcatcanvas), which comes inside CoolCatLib's jar: players install CoolCatLib alone. Its namespace is coolcatcanvas, for its shaders and includes, text colors, item model types, built-in effects, lang keys and config files.
To build on its API, add the coolcatlib-canvas-<module> artifact beside CoolCatLib's (see Getting Started).
-
Full-screen post-processing shaders with live uniforms, and one-line screen tints.
-
Layered custom skies, from a JSON file or from code.
-
Glowing particles, beams, flashes and trails in the world, rifts that tear open, and effects the server starts.
-
A base for block entity renderers with culling, detail by distance, facing and layers.
-
Animated models from Blockbench for mobs, entities, blocks and items, and clips on vanilla models.
-
Camera paths with letterbox bars, fades, subtitles and markers, from code, resource packs, the server or an in-game editor.
-
Muffle, roughen and echo the game's sounds, sound by sound or all at once, from the client or the server.
-
Animated gradients and rainbows, gradient and outlined text, outlines around widgets.
-
Draggable windows, scrolling, panels with pan and zoom, slide animations, placing things out of the way, scene viewports.