public class PacketStateCodec
extends com.github.steveice10.packetlib.packet.PacketProtocol
| Modifier and Type | Class and Description |
|---|---|
static class |
PacketStateCodec.Builder |
| Constructor and Description |
|---|
PacketStateCodec() |
| Modifier and Type | Method and Description |
|---|---|
static PacketStateCodec.Builder |
builder() |
com.github.steveice10.packetlib.packet.PacketHeader |
getPacketHeader() |
String |
getSRVRecordPrefix() |
void |
newClientSession(com.github.steveice10.packetlib.Session session) |
void |
newServerSession(com.github.steveice10.packetlib.Server server,
com.github.steveice10.packetlib.Session session) |
clearPackets, createClientboundPacket, createServerboundPacket, getClientboundClass, getClientboundId, getClientboundId, getServerboundClass, getServerboundId, getServerboundId, register, register, registerClientbound, registerClientbound, registerServerbound, registerServerboundpublic static PacketStateCodec.Builder builder()
public String getSRVRecordPrefix()
getSRVRecordPrefix in class com.github.steveice10.packetlib.packet.PacketProtocolpublic com.github.steveice10.packetlib.packet.PacketHeader getPacketHeader()
getPacketHeader in class com.github.steveice10.packetlib.packet.PacketProtocolpublic void newClientSession(com.github.steveice10.packetlib.Session session)
newClientSession in class com.github.steveice10.packetlib.packet.PacketProtocolpublic void newServerSession(com.github.steveice10.packetlib.Server server,
com.github.steveice10.packetlib.Session session)
newServerSession in class com.github.steveice10.packetlib.packet.PacketProtocolCopyright © 2021. All rights reserved.