| Package | Description |
|---|---|
| me.lucko.helper.event.functional.protocol | |
| me.lucko.helper.protocol |
| Modifier and Type | Method and Description |
|---|---|
ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.exceptionConsumer(BiConsumer<? super com.comphenix.protocol.events.PacketEvent,Throwable> consumer)
Sets the exception consumer for the handler.
|
default ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.expireAfter(long maxCalls) |
default ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.expireAfter(long duration,
TimeUnit unit) |
ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.expireIf(BiPredicate<ProtocolSubscription,com.comphenix.protocol.events.PacketEvent> predicate,
ExpiryTestStage... testPoints)
Add a expiry predicate.
|
default ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.expireIf(Predicate<com.comphenix.protocol.events.PacketEvent> predicate) |
ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.filter(Predicate<com.comphenix.protocol.events.PacketEvent> predicate) |
static ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.newBuilder(com.comphenix.protocol.events.ListenerPriority priority,
com.comphenix.protocol.PacketType... packets)
Makes a HandlerBuilder for the given packets
|
static ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.newBuilder(com.comphenix.protocol.PacketType... packets)
Makes a HandlerBuilder for the given packets
|
| Modifier and Type | Method and Description |
|---|---|
static ProtocolSubscriptionBuilder |
Protocol.subscribe(com.comphenix.protocol.events.ListenerPriority priority,
com.comphenix.protocol.PacketType... packets)
Makes a HandlerBuilder for the given packets
|
static ProtocolSubscriptionBuilder |
Protocol.subscribe(com.comphenix.protocol.PacketType... packets)
Makes a HandlerBuilder for the given packets
|
Copyright © 2022. All rights reserved.