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_295603_) static void
writeLegacyString
(io.netty.buffer.ByteBuf p_295942_, String p_294348_)
-
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
-