Package net.neoforged.neoforge.registries
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.registries
-
ClassDescriptionFired when datapack registries can be registered.DeferredBlock<T extends Block>DeferredHolder<R,
T extends R> A Deferred Holder is aHolder
that is constructed with only a ResourceKey.DeferredItem<T extends Item>A helper class to aid in registering objects to modded and vanilla registries and provide deferred suppliers to access those objects.Specialized DeferredRegister forBlocks
that uses the specializedDeferredBlock
as the return type forDeferredRegister.Blocks.register(java.lang.String, java.util.function.Function<net.minecraft.resources.ResourceLocation, ? extends B>)
.Specialized DeferredRegister forDataComponentTypes
.Specialized DeferredRegister forItems
that uses the specializedDeferredItem
as the return type forDeferredRegister.Items.register(java.lang.String, java.util.function.Function<net.minecraft.resources.ResourceLocation, ? extends I>)
.Called whenever the ID mapping might have changed.An extension forRegistry
, adding some additional functionality to vanilla registries, such as callbacks and ID limits.Fired during startup after builtin registries are constructed.A class that exposes static references to NeoForge registries.Fired when new registries can be constructed and registered.Fired for each registry when it is ready to have modded objects registered.