Class Packet1Login_1_0

    • Field Detail

      • protocolVersion

        public int protocolVersion
      • username

        public java.lang.String username
      • mapSeed

        public long mapSeed
      • serverMode

        public int serverMode
      • worldType

        public byte worldType
      • difficultySetting

        public byte difficultySetting
      • worldHeight

        public byte worldHeight
      • maxPlayers

        public byte maxPlayers
    • Constructor Detail

      • Packet1Login_1_0

        public Packet1Login_1_0()
      • Packet1Login_1_0

        public Packet1Login_1_0​(java.lang.String s,
                                int i)
    • Method Detail

      • readPacketData

        public void readPacketData​(java.io.DataInputStream datainputstream)
                            throws java.io.IOException
        Specified by:
        readPacketData in class Packet
        Throws:
        java.io.IOException
      • writePacketData

        public void writePacketData​(java.io.DataOutputStream dataoutputstream)
                             throws java.io.IOException
        Specified by:
        writePacketData in class Packet
        Throws:
        java.io.IOException