protected static class BundleEventHandler.EventWrapper<E extends org.bukkit.event.Event,T>
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected @NotNull java.lang.Class<E> |
eventClass |
protected org.bukkit.event.EventPriority |
priority |
protected @NotNull java.util.function.Function<E,T> |
wrapper |
| 构造器和说明 |
|---|
EventWrapper(@NotNull java.lang.Class<E> eventClass,
org.bukkit.event.EventPriority priority,
@NotNull java.util.function.Function<E,T> wrapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel(@NotNull EasyListener source,
@NotNull java.util.function.BiPredicate<T,? super E> predicate,
@NotNull java.util.function.BiConsumer<T,? super E> afterCancelled) |
void |
handle(@NotNull EasyListener source,
@NotNull java.util.function.BiPredicate<T,? super E> predicate,
@NotNull java.util.function.BiConsumer<T,? super E> consumer) |
@NotNull protected final @NotNull java.lang.Class<E extends org.bukkit.event.Event> eventClass
@NotNull protected final @NotNull java.util.function.Function<E extends org.bukkit.event.Event,T> wrapper
protected final org.bukkit.event.EventPriority priority
public void handle(@NotNull
@NotNull EasyListener source,
@NotNull
@NotNull java.util.function.BiPredicate<T,? super E> predicate,
@NotNull
@NotNull java.util.function.BiConsumer<T,? super E> consumer)
public void cancel(@NotNull
@NotNull EasyListener source,
@NotNull
@NotNull java.util.function.BiPredicate<T,? super E> predicate,
@NotNull
@NotNull java.util.function.BiConsumer<T,? super E> afterCancelled)
Copyright © 2022. All rights reserved.