@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PipeEventHandler
PipeEvent
.
@PipeEventHandler
public void sideCheck(PipeEventItem.SideCheck sideCheck) {
// Logic omitted
}
Modifier and Type | Optional Element and Description |
---|---|
PipeEventPriority |
priority
Designates the priority that the handler will be given.
|
boolean |
receiveCancelled
If true then the event handler will be called even if an event has already been cancelled.
|
public abstract PipeEventPriority priority
PipeEventPriority.NORMAL
, so this is given for other pipe mods to fire before or after all BC logic has
taken place.