Class Packet1Login


  • public class Packet1Login
    extends Packet
    • Field Detail

      • protocolVersion

        public int protocolVersion
      • username

        public java.lang.String username
      • serverMode

        public int serverMode
      • field_48170_e

        public int field_48170_e
      • difficultySetting

        public byte difficultySetting
      • worldHeight

        public byte worldHeight
      • maxPlayers

        public byte maxPlayers
    • Constructor Detail

      • Packet1Login

        public Packet1Login()
      • Packet1Login

        @Client
        public Packet1Login​(java.lang.String var1,
                            int var2)
      • Packet1Login

        public Packet1Login​(java.lang.String string,
                            int i,
                            WorldType worldType,
                            int j,
                            int k,
                            byte b,
                            byte c,
                            byte d)
    • Method Detail

      • readPacketData

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

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