Package | Description |
---|---|
net.tridentsdk.server.netty |
Contains the pipeline classes for connections to/from the server
|
net.tridentsdk.server.netty.packet |
Has channel handlers which decode and encode packets
|
net.tridentsdk.server.netty.protocol |
Packet registry
|
net.tridentsdk.server.packets.handshake |
Packet relating to the handshake that the client sends to the server
|
net.tridentsdk.server.packets.login |
Packets related to the authentication and logging in of a client.l
|
net.tridentsdk.server.packets.play.in |
Packets related to the gameplay on the server that are sent by the client
|
net.tridentsdk.server.packets.play.out |
Packets related to the gameplay of the server sent from the server
|
net.tridentsdk.server.packets.status |
Packets related to the client requesting server status
|
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConnection.sendPacket(Packet packet)
Sends protocol data through the client stream
|
Modifier and Type | Class and Description |
---|---|
class |
InPacket
Provides the basis for a packet that is being received by the server
|
class |
OutPacket |
class |
UnknownPacket
Used to represent any erroneous inPackets received
|
Modifier and Type | Method and Description |
---|---|
Packet |
UnknownPacket.decode(ByteBuf buf) |
Packet |
Packet.decode(ByteBuf buf)
Sets the fields of the packet from the data serialized into the buffer
|
Packet |
OutPacket.decode(ByteBuf buf)
Sets the fields of the packet from the data serialized into the buffer
|
Modifier and Type | Method and Description |
---|---|
Packet |
Protocol.getPacket(int id,
Protocol.ClientStage stage,
PacketDirection type) |
Modifier and Type | Class and Description |
---|---|
class |
LegacyPacketHandshakeIn |
class |
PacketHandshakeIn
The handshake packet from the client defining information about said client
|
Modifier and Type | Method and Description |
---|---|
Packet |
PacketHandshakeIn.decode(ByteBuf buf) |
Packet |
LegacyPacketHandshakeIn.decode(ByteBuf buf) |
Modifier and Type | Class and Description |
---|---|
class |
PacketLoginInEncryptionResponse |
class |
PacketLoginInStart |
class |
PacketLoginOutDisconnect
Packet used to disconnect the client from the login stage for whatsoever reason
|
class |
PacketLoginOutEncryptionRequest |
class |
PacketLoginOutSetCompression |
class |
PacketLoginOutSuccess
Indicates a successful login
|
Modifier and Type | Method and Description |
---|---|
Packet |
PacketLoginOutDisconnect.decode(ByteBuf buf)
Sets the fields of the packet from the data serialized into the buffer
|
Packet |
PacketLoginInStart.decode(ByteBuf buf) |
Packet |
PacketLoginInEncryptionResponse.decode(ByteBuf buf) |
Packet |
PacketLoginOutDisconnect.setJsonMessage(String jsonMessage) |
Modifier and Type | Class and Description |
---|---|
class |
PacketPlayInAnimation
This packet is sent when a player swings his arms
|
class |
PacketPlayInBlockPlace |
class |
PacketPlayInChat |
class |
PacketPlayInClientSettings |
class |
PacketPlayInClientStatus
Sent by the client when it's ready to login or respawn after death
|
class |
PacketPlayInEntityAction
Sent by the client when doing any of the action types below.
|
class |
PacketPlayInEntityInteract |
class |
PacketPlayInKeepAlive
Sent by the packet to keep the connection alive
|
class |
PacketPlayInPackStatus
Sent by the client to state the status of downloading the resource pack
|
class |
PacketPlayInPlayerAbilities
Packet is sent when the player starts/stops flying with the second parameter changed accordingly.
|
class |
PacketPlayInPlayerClickWindow
Packet sent by the player when it clicks on a slot in a inventory.
|
class |
PacketPlayInPlayerCloseWindow
Packet sent by the client when closed a Inventory
|
class |
PacketPlayInPlayerCompleteMove
Packet sent when player moved both x, y, z and yaw, and pitch.
|
class |
PacketPlayInPlayerConfirmTransaction |
class |
PacketPlayInPlayerCreativeAction
While the user is in the standard inventory (i.e., not a crafting bench) on a creative-mode server, then this packet
will be sent: If an item is dropped into the quick bar If an item is picked up from the quick bar (item id is
-1)
|
class |
PacketPlayInPlayerDig |
class |
PacketPlayInPlayerEnchant |
class |
PacketPlayInPlayerFall
This packet is used to indicate whether the player is on ground (walking/swimming), or airborne (jumping/falling).
|
class |
PacketPlayInPlayerHeldItemChange
Packet sent when player changes selected slot
|
class |
PacketPlayInPlayerLook
Packet sent when only Yaw + Pitch is sent by the client
|
class |
PacketPlayInPlayerMove
This packet is sent when the player wishes updates the player's XYZ position on the server.
|
class |
PacketPlayInPlayerSpectate
Packet sent when player is spectating, need to research more about this packet
|
class |
PacketPlayInPluginMessage
Mods and plugins can use this to send their data.
|
class |
PacketPlayInSteerVehicle
Packet is sent when player steers his vehicle
|
class |
PacketPlayInTabComplete
Sent when the user presses tab while writing text.
|
class |
PacketPlayInTeleportConfirm
Confirms a teleport response from the client
|
class |
PacketPlayInUpdateSign
Packet is sent when a player wishes to update a sign
|
Modifier and Type | Method and Description |
---|---|
Packet |
PacketPlayInUpdateSign.decode(ByteBuf buf) |
Packet |
PacketPlayInTeleportConfirm.decode(ByteBuf buf) |
Packet |
PacketPlayInTabComplete.decode(ByteBuf buf) |
Packet |
PacketPlayInSteerVehicle.decode(ByteBuf buf) |
Packet |
PacketPlayInPluginMessage.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerSpectate.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerMove.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerLook.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerHeldItemChange.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerFall.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerEnchant.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerDig.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerCreativeAction.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerConfirmTransaction.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerCompleteMove.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerCloseWindow.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerClickWindow.decode(ByteBuf buf) |
Packet |
PacketPlayInPlayerAbilities.decode(ByteBuf buf) |
Packet |
PacketPlayInPackStatus.decode(ByteBuf buf) |
Packet |
PacketPlayInKeepAlive.decode(ByteBuf buf) |
Packet |
PacketPlayInEntityInteract.decode(ByteBuf buf) |
Packet |
PacketPlayInEntityAction.decode(ByteBuf buf) |
Packet |
PacketPlayInClientStatus.decode(ByteBuf buf) |
Packet |
PacketPlayInClientSettings.decode(ByteBuf buf) |
Packet |
PacketPlayInChat.decode(ByteBuf buf) |
Packet |
PacketPlayInBlockPlace.decode(ByteBuf buf) |
Packet |
PacketPlayInAnimation.decode(ByteBuf buf) |
Modifier and Type | Class and Description |
---|---|
class |
PacketStatusInPing
Represents a ping packet sent in from the client
|
class |
PacketStatusInRequest
Packet sent by the client to request PacketStatusOutResponse
|
class |
PacketStatusOutPing
The response sent by the server for PacketStatusInPing
|
class |
PacketStatusOutResponse
Status response to PacketStatusInRequest
|
Modifier and Type | Method and Description |
---|---|
Packet |
PacketStatusInRequest.decode(ByteBuf buf) |
Packet |
PacketStatusInPing.decode(ByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
static void |
TridentPlayer.sendAll(Packet packet) |
static void |
TridentPlayer.sendFiltered(Packet packet,
java.util.function.Predicate<Player> predicate) |
void |
PlayerConnection.sendPacket(Packet packet) |
Copyright © 2016. All rights reserved.