public class PacketPlayOutTeams extends OutPacket
Modifier and Type | Class and Description |
---|---|
static class |
PacketPlayOutTeams.Mode |
Modifier and Type | Field and Description |
---|---|
protected short |
color |
protected short |
friendlyFire |
protected PacketPlayOutTeams.Mode |
mode |
protected String[] |
players |
protected TagVisibility |
tagVisibility |
protected String |
teamDisplay |
protected String |
teamName |
protected String |
teamPrefix |
protected String |
teamSuffix |
Constructor and Description |
---|
PacketPlayOutTeams() |
Modifier and Type | Method and Description |
---|---|
short |
color() |
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
short |
friendlyFire() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
PacketPlayOutTeams.Mode |
mode() |
String[] |
players() |
TagVisibility |
tagVisibility() |
String |
team() |
String |
teamDisplay() |
String |
teamPrefix() |
String |
teamSuffix() |
decode, direction, handleReceived, set
protected PacketPlayOutTeams.Mode mode
protected String teamDisplay
protected String teamPrefix
protected String teamSuffix
protected short friendlyFire
protected TagVisibility tagVisibility
protected short color
public PacketPlayOutTeams()
public int id()
Packet
public PacketPlayOutTeams.Mode mode()
public String teamDisplay()
public String teamPrefix()
public String teamSuffix()
public short friendlyFire()
public TagVisibility tagVisibility()
public short color()
Copyright © 2016. All rights reserved.