- Type Parameters:
T
- The registry top level type
- All Implemented Interfaces:
- net.minecraftforge.eventbus.api.IGenericEvent<T>
- Enclosing class:
- RegistryEvent<T extends IForgeRegistryEntry<T>>
public static class RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
extends RegistryEvent<T>
Register your objects for the appropriate registry type when you receive this event.
event.getRegistry().register(...)
The registries will be visited in alphabetic order of their name, except blocks and items,
which will be visited FIRST and SECOND respectively.
ObjectHolders will reload between Blocks and Items, and after all registries have been visited.