Package net.swofty.packet
Class SkyBlockPacketClientListener
java.lang.Object
net.swofty.packet.SkyBlockPacketClientListener
- Direct Known Subclasses:
PacketListenerAirJump
,PacketListenerNameItem
,PacketListenerPlayerDig
,PacketListenerSignUpdate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract Class<? extends net.minestom.server.network.packet.client.ClientPacket>
static void
register
(net.minestom.server.event.GlobalEventHandler eventHandler) abstract void
run
(net.minestom.server.event.player.PlayerPacketEvent event, net.minestom.server.network.packet.client.ClientPacket packet, SkyBlockPlayer player)
-
Constructor Details
-
SkyBlockPacketClientListener
public SkyBlockPacketClientListener()
-
-
Method Details
-
getPacket
-
run
public abstract void run(net.minestom.server.event.player.PlayerPacketEvent event, net.minestom.server.network.packet.client.ClientPacket packet, SkyBlockPlayer player) -
cacheListener
public void cacheListener() -
register
public static void register(net.minestom.server.event.GlobalEventHandler eventHandler)
-