Package org.spongepowered.api.event.filter
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.filter
Event filter annotations.
These annotations can be applied to event
@Listener
methods to control
which events are received and extract data from the event.
-
ClassDescriptionAnnotates a parameter in an event listener whose value should be fetched from a getter on the event type with the specified name.Filters out events which do not match the specified cancellation state (represented by a
Tristate
).