Skip to main content

Glossary

TermDefinition
AttachmentA modular behavior unit (ItemAttachment) that can be composed onto a ComponentItem via .attach(...).
BlockEntryA typed wrapper around DeferredHolder<Block, T> returned by .register() on a block chain.
BlockItemThe Item form of a Block. Created explicitly via .simpleItem() or .item(...) — not automatic.
BuilderA fluent configuration object (e.g., ItemBuilder, BlockBuilder) that collects settings and submits them at .register().
BuilderCallbackThe internal mechanism that receives a completed builder and submits its content to the NeoForge registry and datagen providers.
ChainA sequence of fluent method calls starting from an entry point (e.g., .item(...)) and ending with .register().
ComponentItemAn Item subclass that implements IComponentItem, supporting the attachment composition system.
DatagenData generation — the runData Gradle task that produces JSON assets (models, lang, loot, recipes, tags, advancements) from code.
EntryA typed wrapper (e.g., ItemEntry, FluidEntry) around a DeferredHolder that provides convenience accessors.
FluidEntryA typed wrapper for fluids that exposes .getSource(), .getType(), .getBlock(), .getBucket(), etc.
GroupA shared-defaults layer around RegistryCore that applies common properties, tags, and tabs to all entries registered through it.
ItemEntryA typed wrapper around DeferredHolder<Item, T> with helpers like .asStack() and .readOnlyStack().
LangLanguage / localization. RegistryLib generates en_us.json (and optional extra locales) during datagen.
NeoForgeThe Minecraft modding framework that RegistryLib targets (successor to MinecraftForge for 1.21+).
ProviderTypeA key identifying a datagen provider (e.g., ProviderType.LANG, ProviderType.RECIPE, ProviderType.LOOT).
RegistryCoreThe main entry point for RegistryLib. Created via RegistryCore.create(MOD_ID). Provides all builder factory methods.
RootNode / RootNodeRefTooltip layout containers. A RootNode groups SubNode entries; RootNodeRef is a reference handle for a named root.
Sub-entryAn entry created within another builder's chain (e.g., .item(...) inside a BlockBuilder creates a sub-entry ItemBuilder).
SubNodeThe smallest tooltip rendering unit — a line of text, icon, progress bar, or custom element.
TooltipNodeCollectorThe collector that merges tooltip nodes from multiple sources (builder, attachments, BlockItem) during rendering.