| Package | Description |
|---|---|
| me.lucko.helper.event.functional.protocol |
| Modifier and Type | Method and Description |
|---|---|
default ProtocolSubscription |
ProtocolSubscriptionBuilder.biHandler(BiConsumer<ProtocolSubscription,? super com.comphenix.protocol.events.PacketEvent> handler)
Builds and registers the Handler.
|
default ProtocolSubscription |
ProtocolSubscriptionBuilder.handler(Consumer<? super com.comphenix.protocol.events.PacketEvent> handler)
Builds and registers the Handler.
|
| Modifier and Type | Method and Description |
|---|---|
ProtocolHandlerList |
ProtocolHandlerList.biConsumer(BiConsumer<ProtocolSubscription,? super com.comphenix.protocol.events.PacketEvent> handler) |
default ProtocolSubscription |
ProtocolSubscriptionBuilder.biHandler(BiConsumer<ProtocolSubscription,? super com.comphenix.protocol.events.PacketEvent> handler)
Builds and registers the Handler.
|
ProtocolSubscriptionBuilder |
ProtocolSubscriptionBuilder.expireIf(BiPredicate<ProtocolSubscription,com.comphenix.protocol.events.PacketEvent> predicate,
ExpiryTestStage... testPoints)
Add a expiry predicate.
|
Copyright © 2022. All rights reserved.