@Nonnull
    public static <T extends Cancellable> Consumer<T> cancel() {
        return (Consumer<T>) SET_CANCELLED;
    }
Returns a consumer which cancels the event

@param <T> the event type
@return a consumer which cancels the event
helper/src/main/java/me/lucko/helper/event/filter/EventHandlers.java