Package net.minecraftforge.event
Class RegistryEvent<T extends IForgeRegistryEntry<T>>
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.eventbus.api.GenericEvent<T>
-
- net.minecraftforge.event.RegistryEvent<T>
-
- All Implemented Interfaces:
net.minecraftforge.eventbus.api.IGenericEvent<T>
,IModBusEvent
- Direct Known Subclasses:
RegistryEvent.MissingMappings
,RegistryEvent.Register
public class RegistryEvent<T extends IForgeRegistryEntry<T>> extends net.minecraftforge.eventbus.api.GenericEvent<T> implements IModBusEvent
RegistryEvent supertype.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>
static class
RegistryEvent.NewRegistry
Register new registries when you receive this event, through theRecipeBuilder
static class
RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
Register your objects for the appropriate registry type when you receive this event.
-
Constructor Summary
Constructors Constructor Description RegistryEvent(java.lang.Class<T> clazz)
-
-
-
Constructor Detail
-
RegistryEvent
RegistryEvent(java.lang.Class<T> clazz)
-
-