Skip to main content

RegistryLib

RegistryLib is a fluent registration library for NeoForge that consolidates item, block, fluid, block entity, and datagen registration into a single builder chain.

REGISTRYLIB.item("copper_coin", Item::new)
.lang("Copper Coin")
.defaultModel()
.addDefaultTab()
.register();

One chain. One place. Everything registered.


Why RegistryLib?

Without RegistryLibWith RegistryLib
Separate DeferredRegister calls for each registryOne RegistryCore entry point
Manual DataProvider registration for lang, models, loot, tagsDatagen integrated into the builder chain
Scattered boilerplate across multiple classesEverything in one fluent chain
Easy to forget a step (missing model, lang, creative tab—Builder guides you through all common configuration

Pick Your Path

I'm new to RegistryLib

Start with the beginner tutorials —they'll get you from zero to a working item in 5 minutes:

  1. Installation & Setup —Add the dependency and create your RegistryCore
  2. Your First Item —Register a simple item
  3. Your First Block —Register a block with a BlockItem
  4. Understanding the Chain —How the fluent API works

I know the basics, show me more

Jump into intermediate tutorials for real-world patterns:

I need to do something specific

How-to guides are task-focused references:

I need API details

Reference pages provide lookup tables and method signatures:


Project Info

Version1.0.4
Minecraft26.1+ (NeoForge 26.1)
Java25
SourceRegistryLib
OrganizationGregTech-Odyssey