Package net.md_5.bungee.protocol.packet
Class Team
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.Team
Deprecated.
not handled anymore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.Deprecated.intgetColor()Deprecated.Deprecated.byteDeprecated.bytegetMode()Deprecated.0 - create, 1 remove, 2 info update, 3 player add, 4 player remove.getName()Deprecated.Deprecated.String[]Deprecated.Deprecated.Deprecated.voidhandle(AbstractPacketHandler handler) Deprecated.inthashCode()Deprecated.voidread(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.voidsetCollisionRule(String collisionRule) Deprecated.voidsetColor(int color) Deprecated.voidsetDisplayName(String displayName) Deprecated.voidsetFriendlyFire(byte friendlyFire) Deprecated.voidsetMode(byte mode) Deprecated.0 - create, 1 remove, 2 info update, 3 player add, 4 player remove.voidDeprecated.voidsetNameTagVisibility(String nameTagVisibility) Deprecated.voidsetPlayers(String[] players) Deprecated.voidDeprecated.voidDeprecated.toString()Deprecated.voidwrite(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.Methods inherited from class net.md_5.bungee.protocol.DefinedPacket
expectedMaxLength, expectedMinLength, read, readArray, readArray, readEnumSet, readFixedBitSet, readProperties, readPublicKey, readString, readString, readStringArray, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeEnumSet, writeFixedBitSet, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarInt, writeVarShort
-
Constructor Details
-
Team
Deprecated.Packet to destroy a team.- Parameters:
name- team name
-
Team
public Team()Deprecated. -
Team
public Team(String name, byte mode, String displayName, String prefix, String suffix, String nameTagVisibility, String collisionRule, int color, byte friendlyFire, String[] players) Deprecated.
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.- Overrides:
readin classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.- Overrides:
writein classDefinedPacket
-
handle
Deprecated.- Specified by:
handlein classDefinedPacket- Throws:
Exception
-
getName
Deprecated. -
getMode
public byte getMode()Deprecated.0 - create, 1 remove, 2 info update, 3 player add, 4 player remove. -
getDisplayName
Deprecated. -
getPrefix
Deprecated. -
getSuffix
Deprecated. -
getNameTagVisibility
Deprecated. -
getCollisionRule
Deprecated. -
getColor
public int getColor()Deprecated. -
getFriendlyFire
public byte getFriendlyFire()Deprecated. -
getPlayers
Deprecated. -
setName
Deprecated. -
setMode
public void setMode(byte mode) Deprecated.0 - create, 1 remove, 2 info update, 3 player add, 4 player remove. -
setDisplayName
Deprecated. -
setPrefix
Deprecated. -
setSuffix
Deprecated. -
setNameTagVisibility
Deprecated. -
setCollisionRule
Deprecated. -
setColor
public void setColor(int color) Deprecated. -
setFriendlyFire
public void setFriendlyFire(byte friendlyFire) Deprecated. -
setPlayers
Deprecated. -
toString
Deprecated.- Specified by:
toStringin classDefinedPacket
-
equals
Deprecated.- Specified by:
equalsin classDefinedPacket
-
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classDefinedPacket
-