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 par1ScorePlayerTeam,
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(DataInput par1DataInput)
Abstract.
|
void |
writePacketData(DataOutput par1DataOutput)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeStringpublic 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 par1ScorePlayerTeam, int par2)
public Packet209SetPlayerTeam(ScorePlayerTeam par1ScorePlayerTeam, Collection par2Collection, int par3)
public void readPacketData(DataInput par1DataInput) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutput par1DataOutput) throws IOException
writePacketData in class PacketIOExceptionpublic void processPacket(NetHandler par1NetHandler)
processPacket in class Packetpublic int getPacketSize()
getPacketSize in class Packet