| Interface | Description |
|---|---|
| IEventHandler |
The class for handling and firing different
Event objects that can be
used by mods to hook into the game's and other mods' functionalities. |
| IEventListener<T extends Event> |
An event listener that can listen to
Event objects being fired once
they have been registered into the IEventHandler using IEventHandler.registerListener(Class, IEventListener). |
| Class | Description |
|---|---|
| Event |
This is the basic class for any kind of event that can be handled and fired
using the
IEventHandler. |
| Enum | Description |
|---|---|
| EventResult |
The result of any
Event being fired in the IEventHandler,
where EventResult.DEFAULT means that the event was unchanged, EventResult.MODIFIED
means that the data in the event was modified and EventResult.CANCELLED meaning
that the event was cancelled. |