Package org.spongepowered.api.event.impl
Class AbstractEvent
- java.lang.Object
-
- org.spongepowered.api.event.impl.AbstractEvent
-
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
AbstractAffectEntityEvent
,AbstractChangeEntityEquipmentEvent
,AbstractGoalEvent
,AbstractModifierEvent
public abstract class AbstractEvent extends java.lang.Object implements Event
An abstract event that can be extended for any and all custom events as necessary.
-
-
Field Summary
Fields Modifier and Type Field Description @Nullable Order
currentOrder
This field is automatically set by the event manager.
-
Constructor Summary
Constructors Constructor Description AbstractEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init()
Called once all fields have been set by the generated constructor in a subclass.
-