class

ServerHandler

Inherits Packets < Reference < Object

Constructors

new

Initialize the packet parser

Source

Instance methods

handle(id : String, state : ProtocolState, data : Bytes)

Define the handler for raw packet data

Source
handle(id : String, packet : Handshaking::S::Handshake)

Define packet handlers for each packet type

Source
handle(id : String, packet : Status::S::Request)

Generate the ServerHandler class

Source
handle(id : String, packet : Status::S::Ping)

Generate the ServerHandler class

Source
handle(id : String, packet : Login::S::LoginStart)

Generate the ServerHandler class

Source
handle(id : String, packet : Login::S::EncryptionResponse)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::KeepAlive)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::Chat)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::UseEntity)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::Player)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerPosition)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerLook)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerPosLook)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerDigging)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerBlockPlacement)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::HeldItemChange)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::Animation)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::EntityAction)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::SteerInput)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::CloseWindow)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::ClickWindow)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::ConfirmTransaction)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::CreativeInventoryAction)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::EnchantItem)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::UpdateSign)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::PlayerAbilities)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::TabComplete)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::ClientSettings)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::ClientStatus)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::CustomPayload)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::Spectate)

Generate the ServerHandler class

Source
handle(id : String, packet : Play::S::ResourcePackStatus)

Generate the ServerHandler class

Source