public class Packet209SetPlayerTeam extends Packet
Modifier and Type | Field and Description |
---|---|
int |
friendlyFire
Only if mode = 0 or 2.
|
int |
mode
If 0 then the team is created.
|
Collection |
playerNames
Only if mode = 0 or 3 or 4.
|
String |
teamDisplayName
Only if mode = 0 or 2.
|
String |
teamName
A unique name for the team.
|
String |
teamPrefix
Only if mode = 0 or 2.
|
String |
teamSuffix
Only if mode = 0 or 2.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet209SetPlayerTeam() |
Packet209SetPlayerTeam(ScorePlayerTeam par1ScorePlayerTeam,
Collection par2Collection,
int par3) |
Packet209SetPlayerTeam(ScorePlayerTeam par1,
int par2) |
Modifier and Type | Method and Description |
---|---|
int |
getPacketSize()
Abstract.
|
void |
processPacket(NetHandler par1NetHandler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(DataInputStream par1DataInputStream)
Abstract.
|
void |
writePacketData(DataOutputStream par1DataOutputStream)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeString
public String teamName
public String teamDisplayName
public String teamPrefix
public String teamSuffix
public Collection playerNames
public int mode
public int friendlyFire
public Packet209SetPlayerTeam()
public Packet209SetPlayerTeam(ScorePlayerTeam par1, int par2)
public Packet209SetPlayerTeam(ScorePlayerTeam par1ScorePlayerTeam, Collection par2Collection, int par3)
public void readPacketData(DataInputStream par1DataInputStream) throws IOException
readPacketData
in class Packet
IOException
public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
writePacketData
in class Packet
IOException
public void processPacket(NetHandler par1NetHandler)
processPacket
in class Packet
public int getPacketSize()
getPacketSize
in class Packet