Package net.minecraft.server.network
Class LegacyProtocolUtils
java.lang.Object
net.minecraft.server.network.LegacyProtocolUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final String
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
readLegacyString
(io.netty.buffer.ByteBuf p_297756_) static void
writeLegacyString
(io.netty.buffer.ByteBuf p_301020_, String p_300839_)
-
Field Details
-
CUSTOM_PAYLOAD_PACKET_ID
public static final int CUSTOM_PAYLOAD_PACKET_ID- See Also:
-
CUSTOM_PAYLOAD_PACKET_PING_CHANNEL
- See Also:
-
GET_INFO_PACKET_ID
public static final int GET_INFO_PACKET_ID- See Also:
-
GET_INFO_PACKET_VERSION_1
public static final int GET_INFO_PACKET_VERSION_1- See Also:
-
DISCONNECT_PACKET_ID
public static final int DISCONNECT_PACKET_ID- See Also:
-
FAKE_PROTOCOL_VERSION
public static final int FAKE_PROTOCOL_VERSION- See Also:
-
-
Constructor Details
-
LegacyProtocolUtils
public LegacyProtocolUtils()
-
-
Method Details
-
writeLegacyString
-
readLegacyString
-