Class Packet1Login_1_0
- java.lang.Object
-
- net.minecraft.src.Packet
-
- net.minecraft.packettrans.TranslationPacket
-
- net.minecraft.packettrans.protocol_1_0.Packet1Login_1_0
-
public class Packet1Login_1_0 extends TranslationPacket
-
-
Field Summary
Fields Modifier and Type Field Description byte
difficultySetting
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_0()
Packet1Login_1_0(java.lang.String s, int i)
Packet1Login_1_0(Packet1Login_1_1 c2s)
Packet1Login_1_0(Packet1Login_b1_7 s2c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPacketSize()
void
readPacketData(java.io.DataInputStream datainputstream)
void
writePacketData(java.io.DataOutputStream dataoutputstream)
-
Methods inherited from class net.minecraft.packettrans.TranslationPacket
processPacket
-
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
-
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)
-
Packet1Login_1_0
public Packet1Login_1_0(Packet1Login_1_1 c2s)
-
Packet1Login_1_0
public Packet1Login_1_0(Packet1Login_b1_7 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
-
getPacketSize
public int getPacketSize()
- Specified by:
getPacketSize
in classPacket
-
-