Package net.minecraft.src
Class Packet1Login
- java.lang.Object
-
- net.minecraft.src.Packet
-
- net.minecraft.src.Packet1Login
-
public class Packet1Login extends Packet
-
-
Field Summary
Fields Modifier and Type Field Description byte
difficultySetting
int
field_48170_e
byte
maxPlayers
int
protocolVersion
int
serverMode
WorldType
terrainType
java.lang.String
username
byte
worldHeight
-
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()
Packet1Login(java.lang.String var1, int var2)
Packet1Login(java.lang.String string, int i, WorldType worldType, int j, int k, byte b, byte c, byte d)
Packet1Login(Packet1Login_1_1 s2c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPacketSize()
void
processPacket(NetHandler var1)
void
readPacketData(java.io.DataInputStream var1)
void
writePacketData(java.io.DataOutputStream var1)
-
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
-
terrainType
public WorldType terrainType
-
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)
-
Packet1Login
@Client public Packet1Login(Packet1Login_1_1 s2c)
-
-
Method Detail
-
readPacketData
public void readPacketData(java.io.DataInputStream var1) throws java.io.IOException
- Specified by:
readPacketData
in classPacket
- Throws:
java.io.IOException
-
writePacketData
public void writePacketData(java.io.DataOutputStream var1) throws java.io.IOException
- Specified by:
writePacketData
in classPacket
- Throws:
java.io.IOException
-
processPacket
public void processPacket(NetHandler var1)
- Specified by:
processPacket
in classPacket
-
getPacketSize
public int getPacketSize()
- Specified by:
getPacketSize
in classPacket
-
-