Package net.md_5.bungee.api.score
Class Team
- java.lang.Object
-
- net.md_5.bungee.api.score.Team
-
public class Team extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPlayer(String name)
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCollisionRule()
int
getColor()
String
getDisplayName()
byte
getFriendlyFire()
@NonNull String
getName()
String
getNameTagVisibility()
Collection<String>
getPlayers()
String
getPrefix()
String
getSuffix()
int
hashCode()
void
removePlayer(String name)
void
setCollisionRule(String collisionRule)
void
setColor(int color)
void
setDisplayName(String displayName)
void
setFriendlyFire(byte friendlyFire)
void
setNameTagVisibility(String nameTagVisibility)
void
setPlayers(Set<String> players)
void
setPrefix(String prefix)
void
setSuffix(String suffix)
String
toString()
-
-
-
Constructor Detail
-
Team
public Team(@NonNull @NonNull String name)
-
-
Method Detail
-
getPlayers
public Collection<String> getPlayers()
-
addPlayer
public void addPlayer(String name)
-
removePlayer
public void removePlayer(String name)
-
getName
@NonNull public @NonNull String getName()
-
getDisplayName
public String getDisplayName()
-
getPrefix
public String getPrefix()
-
getSuffix
public String getSuffix()
-
getFriendlyFire
public byte getFriendlyFire()
-
getNameTagVisibility
public String getNameTagVisibility()
-
getCollisionRule
public String getCollisionRule()
-
getColor
public int getColor()
-
setDisplayName
public void setDisplayName(String displayName)
-
setPrefix
public void setPrefix(String prefix)
-
setSuffix
public void setSuffix(String suffix)
-
setFriendlyFire
public void setFriendlyFire(byte friendlyFire)
-
setNameTagVisibility
public void setNameTagVisibility(String nameTagVisibility)
-
setCollisionRule
public void setCollisionRule(String collisionRule)
-
setColor
public void setColor(int color)
-
canEqual
protected boolean canEqual(Object other)
-
-