MinecraftHub.io
Java Mods

CodeChicken Lib

A shared toolkit for mod authors covering 3D math, model rendering, packets, configs and more. Players install it only when another mod asks for it.

MinecraftHub-generated cover art for CodeChicken Lib: a floating mountain block island with a workshop of crafting tables and furnaces and a chest, under a night sky

Screenshot 1 of 1. MinecraftHub-generated cover art for CodeChicken Lib: a floating mountain block island with a workshop of crafting tables and furnaces and a chest, under a night sky

What CodeChicken Lib works with.

PlatformJava Edition
LoadersNeoForge, Forge
Minecraft versions1.20.1, 1.20.4, 1.21.1
EnvironmentClient, Server

CodeChicken Lib is a library mod for NeoForge and Forge. It gives mod authors a shared set of systems so they do not rewrite the same code. It runs on both client and server, and it does nothing visible on its own.

Loaders and versions

  • NeoForge: Minecraft 1.20.1 to 1.21.1. The newest build needs no dependencies.
  • Forge: Minecraft 1.20.1 to 1.20.4. The newest build needs no dependencies.

What the library contains

It is a library mod for Chicken-Bones mods, with covers1624 and Chicken_Bones as the listed authors. The README describes helpers for several parts of mod development.

  • 3D math and transformations
  • Model rendering
  • Packets and networking
  • Config handling and colours
  • ASM tools and a few smaller utilities

Developers who want to use it in their own project can find Maven details in the GitHub repository. The Maven host is maven.covers1624.net.

Installing it

Pick the file that matches your loader and game release. Put the .jar in the mods folder inside the game directory, then launch with the loader's profile. If you have not set up a loader yet, follow the guide to installing Forge and NeoForge. For general steps, see how to install mods on Java Edition.

The newest builds for both loaders need no other mods. Install it on the server as well as the client whenever a mod that depends on it runs on both sides.

Licence and source

The code lives in the TheCBProject/CodeChickenLib repository on GitHub, where bug reports go to the issue tracker. The CurseForge page is the source for files. It is Java Edition only, so Bedrock cannot load it.

Questions about CodeChicken Lib.

4 questions

What is CodeChicken Lib used for?

It is a library of shared code for mod authors, covering 3D math and transformations, model rendering, packets, configs, colours and ASM. Players install it only when another mod needs it. On its own it adds no items, blocks or gameplay changes.

Does CodeChicken Lib work on Fabric?

No. The files target NeoForge and Forge only, and no Fabric or Quilt builds are listed. A mod that needs this library has to run on one of those two loaders, installed for the matching game release.

Do I need CodeChicken Lib on a multiplayer server?

The files are tagged for both client and server. If a mod that depends on it runs on the server, install the library there too. Check the dependent mod's page for its own rules.

Does CodeChicken Lib need other mods installed?

No. The newest builds for NeoForge and Forge list no required dependencies. You only need the right loader for your game release, then drop the .jar into the mods folder.

More Java Mods like CodeChicken Lib.

Guides for Java Mods.

Browse all Minecraft Java mods ↗