Class Packet1Login_1_1
- java.lang.Object
-
- net.minecraft.src.Packet
-
- net.minecraft.packettrans.protocol_1_1.Packet1Login_1_1
-
public class Packet1Login_1_1 extends Packet
-
-
Field Summary
Fields Modifier and Type Field Description byte
difficultySetting
WorldType
field_46032_d
long
mapSeed
byte
maxPlayers
int
protocolVersion
int
serverMode
java.lang.String
username
byte
worldHeight
byte
worldType
-
Fields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_48155_p, field_48156_n, field_48157_o, field_48158_m, isChunkDataPacket, packetClassToIdMap, packetIdToClassMap
-
-
Constructor Summary
Constructors Constructor Description Packet1Login_1_1()
Packet1Login_1_1(java.lang.String s, int i)
Packet1Login_1_1(Packet1Login_1_0 s2c)
Packet1Login_1_1(Packet1Login c2s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPacketSize()
void
processPacket(NetHandler nethandler)
void
readPacketData(java.io.DataInputStream datainputstream)
void
writePacketData(java.io.DataOutputStream dataoutputstream)
-
Methods inherited from class net.minecraft.src.Packet
getNewPacket, getNewPacket, getPacketId, readItemStack, readNBTTagCompound, readPacket, readString, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
-
-
-
Field Detail
-
protocolVersion
public int protocolVersion
-
username
public java.lang.String username
-
mapSeed
public long mapSeed
-
field_46032_d
public WorldType field_46032_d
-
serverMode
public int serverMode
-
worldType
public byte worldType
-
difficultySetting
public byte difficultySetting
-
worldHeight
public byte worldHeight
-
maxPlayers
public byte maxPlayers
-
-
Constructor Detail
-
Packet1Login_1_1
public Packet1Login_1_1()
-
Packet1Login_1_1
public Packet1Login_1_1(java.lang.String s, int i)
-
Packet1Login_1_1
public Packet1Login_1_1(Packet1Login c2s)
-
Packet1Login_1_1
public Packet1Login_1_1(Packet1Login_1_0 s2c)
-
-
Method Detail
-
readPacketData
public void readPacketData(java.io.DataInputStream datainputstream) throws java.io.IOException
- Specified by:
readPacketData
in classPacket
- Throws:
java.io.IOException
-
writePacketData
public void writePacketData(java.io.DataOutputStream dataoutputstream) throws java.io.IOException
- Specified by:
writePacketData
in classPacket
- Throws:
java.io.IOException
-
processPacket
public void processPacket(NetHandler nethandler)
- Specified by:
processPacket
in classPacket
-
getPacketSize
public int getPacketSize()
- Specified by:
getPacketSize
in classPacket
-
-