类 LegacyProtocolUtils

java.lang.Object
net.minecraft.server.network.LegacyProtocolUtils

public class LegacyProtocolUtils extends Object
  • 字段详细资料

    • CUSTOM_PAYLOAD_PACKET_ID

      public static final int CUSTOM_PAYLOAD_PACKET_ID
      另请参阅:
    • CUSTOM_PAYLOAD_PACKET_PING_CHANNEL

      public static final String CUSTOM_PAYLOAD_PACKET_PING_CHANNEL
      另请参阅:
    • GET_INFO_PACKET_ID

      public static final int GET_INFO_PACKET_ID
      另请参阅:
    • GET_INFO_PACKET_VERSION_1

      public static final int GET_INFO_PACKET_VERSION_1
      另请参阅:
    • DISCONNECT_PACKET_ID

      public static final int DISCONNECT_PACKET_ID
      另请参阅:
    • FAKE_PROTOCOL_VERSION

      public static final int FAKE_PROTOCOL_VERSION
      另请参阅:
  • 构造器详细资料

    • LegacyProtocolUtils

      public LegacyProtocolUtils()
  • 方法详细资料

    • writeLegacyString

      public static void writeLegacyString(io.netty.buffer.ByteBuf p_295942_, String p_294348_)
    • readLegacyString

      public static String readLegacyString(io.netty.buffer.ByteBuf p_295603_)