Class SkyBlockPacketClientListener

java.lang.Object
net.swofty.packet.SkyBlockPacketClientListener
Direct Known Subclasses:
PacketListenerAirJump, PacketListenerNameItem, PacketListenerPlayerDig, PacketListenerSignUpdate

public abstract class SkyBlockPacketClientListener extends Object
  • Constructor Details

    • SkyBlockPacketClientListener

      public SkyBlockPacketClientListener()
  • Method Details

    • getPacket

      public abstract Class<? extends net.minestom.server.network.packet.client.ClientPacket> 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)