CrumbsLib
by ludwici
CrumbsLib is a library for Forge and NeoForge that gives mod developers ready-made templates for registering blocks, items, entities and other objects.
What it does
Mod developers use CrumbsLib to skip much of the boilerplate needed to register game content. Its pre-made templates cover blocks, objects, entities, tags and effects, and a simplified event layer registers content on the correct event bus automatically. The library also includes shorthand helpers for common code patterns.
Because it is a library rather than a gameplay mod, it adds no content players see in the game itself. A supplier type lets the same registration logic work across loaders that share it, and cross-loader development is still in progress. Other mods can require it as a dependency; Slime Overhaul is one of them.
Builds cover 1.20.1 and 1.21.1 for Forge and NeoForge. Both loaders receive the 1.20.1-1.0.19 file, released on 2025-05-30. Servers that run it need every player to install it too.
Key features
Registration templates
Pre-made templates register blocks, objects, entities, tags and effects without writing each registration call by hand.
Automatic event bus handling
A simplified event layer sends each registration to the correct event bus automatically, so developers need not choose it themselves.
Supplier type
A supplier type lets registration logic written once work with different loaders that provide the same interface.
Code shorthands
Number helpers and other shorthands reduce repetitive code when working with values in the library.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Building a new mod
A developer starting a mod can use the templates to set up block, item and entity registration quickly.
Porting between loaders
Shared supplier logic gives developers a starting point for keeping one codebase working on Forge and NeoForge.
Who it’s for: Mod developers who write content for Forge or NeoForge and want less registration code. Players do not need it unless a mod they use requires it.
Questions
Does CrumbsLib need to be installed on both sides?
Which loaders and game versions does CrumbsLib support?
Which mods require CrumbsLib?
More from ludwici
Official listing
- Modrinth page
- modrinth.com/mod/crumbslib
- Owner
- ludwici
- Published
- 2025-05-14
- Updated on Modrinth
- 2025-05-30
- Facts verified
- 2026-10-15
