public class STeamsPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private int |
action |
private java.lang.String |
collisionRule |
private TextFormatting |
color |
private ITextComponent |
displayName |
private int |
friendlyFlags |
private java.lang.String |
name |
private java.lang.String |
nameTagVisibility |
private java.util.Collection<java.lang.String> |
players |
private ITextComponent |
prefix |
private ITextComponent |
suffix |
Constructor and Description |
---|
STeamsPacket() |
STeamsPacket(ScorePlayerTeam teamIn,
java.util.Collection<java.lang.String> playersIn,
int actionIn) |
STeamsPacket(ScorePlayerTeam teamIn,
int actionIn) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
java.lang.String |
getCollisionRule() |
TextFormatting |
getColor() |
ITextComponent |
getDisplayName() |
int |
getFriendlyFlags() |
java.lang.String |
getName() |
java.lang.String |
getNameTagVisibility() |
java.util.Collection<java.lang.String> |
getPlayers() |
ITextComponent |
getPrefix() |
ITextComponent |
getSuffix() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private java.lang.String name
private ITextComponent displayName
private ITextComponent prefix
private ITextComponent suffix
private java.lang.String nameTagVisibility
private java.lang.String collisionRule
private TextFormatting color
private final java.util.Collection<java.lang.String> players
private int action
private int friendlyFlags
public STeamsPacket()
public STeamsPacket(ScorePlayerTeam teamIn, int actionIn)
public STeamsPacket(ScorePlayerTeam teamIn, java.util.Collection<java.lang.String> playersIn, int actionIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public java.lang.String getName()
public ITextComponent getDisplayName()
public java.util.Collection<java.lang.String> getPlayers()
public int getAction()
public int getFriendlyFlags()
public TextFormatting getColor()
public java.lang.String getNameTagVisibility()
public java.lang.String getCollisionRule()
public ITextComponent getPrefix()
public ITextComponent getSuffix()