Class ServerboundHello

java.lang.Object
org.polyfrost.oneclient.common.protocol.packet.ServerboundHello
All Implemented Interfaces:
Packet

public final class ServerboundHello extends Object implements Packet
  • Constructor Details

    • ServerboundHello

      public ServerboundHello(int protocolVersion, String clientVersion, String minecraftVersion)
  • Method Details

    • read

      public static ServerboundHello read(PacketReader reader)
    • write

      public void write(PacketWriter writer)
      Specified by:
      write in interface Packet
    • getProtocolVersion

      public int getProtocolVersion()
    • getClientVersion

      public String getClientVersion()
    • getMinecraftVersion

      public String getMinecraftVersion()