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
Modifier and TypeClassDescriptionstatic class
RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>
static class
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.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.GenericEvent
getGenericType
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
RegistryEvent
-