Package com.binaris.wizardry.core.event
Class WizardryEventBus
java.lang.Object
com.binaris.wizardry.core.event.WizardryEventBus
- All Implemented Interfaces:
EventRegistry
Internal use for Electroblob's Wizardry
Help to register and fire all the events used in the mod.
You don't need to use or access to this interface, this could help you if you want to make events for you mod
Help to register and fire all the events used in the mod.
- Use
register(Class, EventListener)to register your custom event listeners inside your mod init - Use
fire(IWizardryEvent)to fire any event when you want it - Check
WizardryCancelableEventandWizardryEventto create custom events
You don't need to use or access to this interface, this could help you if you want to make events for you mod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E extends IWizardryEvent>
booleanfire(E event) static WizardryEventBus<E extends IWizardryEvent>
voidregister(Class<E> eventClass, EventListener<E> listener)
-
Constructor Details
-
WizardryEventBus
public WizardryEventBus()
-
-
Method Details
-
getInstance
-
register
- Specified by:
registerin interfaceEventRegistry
-
fire
- Specified by:
firein interfaceEventRegistry
-