Interface PlayerEvent

All Known Implementing Classes:
PacketConfigReceiveEvent, PacketConfigSendEvent, PacketHandshakeReceiveEvent, PacketHandshakeSendEvent, PacketLoginReceiveEvent, PacketLoginSendEvent, PacketPlayReceiveEvent, PacketPlaySendEvent, PacketReceiveEvent, PacketSendEvent, PacketStatusReceiveEvent, PacketStatusSendEvent, ProtocolPacketEvent, UserLoginEvent

public interface PlayerEvent
Every event that has an associated player is recommended to implement this interface.
Since:
1.6.9
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    Associated player.
  • Method Details

    • getPlayer

      <T> T getPlayer()
      Associated player.
      Returns:
      Player.