public abstract class Team
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Team.CollisionRule |
static class |
Team.EnumVisible |
Constructor and Description |
---|
Team() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
formatString(java.lang.String input)
Formats the given text as a member of this team, using the prefix and suffix.
|
abstract boolean |
getAllowFriendlyFire()
Checks whether friendly fire (PVP between members of the team) is allowed.
|
abstract Team.CollisionRule |
getCollisionRule()
Gets the rule to be used for handling collisions with members of this team.
|
abstract TextFormatting |
getColor()
Gets the color for this team.
|
abstract Team.EnumVisible |
getDeathMessageVisibility()
Gets the visibility flags for player death messages.
|
abstract java.util.Collection<java.lang.String> |
getMembershipCollection()
Gets a collection of all members of this team.
|
abstract java.lang.String |
getName()
Retrieve the name by which this team is registered in the scoreboard
|
abstract Team.EnumVisible |
getNameTagVisibility()
Gets the visibility flags for player name tags.
|
abstract boolean |
getSeeFriendlyInvisiblesEnabled()
Checks whether members of this team can see other members that are invisible.
|
boolean |
isSameTeam(Team other)
Same as ==
|
public boolean isSameTeam(Team other)
public abstract java.lang.String getName()
public abstract java.lang.String formatString(java.lang.String input)
public abstract boolean getSeeFriendlyInvisiblesEnabled()
public abstract boolean getAllowFriendlyFire()
public abstract Team.EnumVisible getNameTagVisibility()
public abstract TextFormatting getColor()
public abstract java.util.Collection<java.lang.String> getMembershipCollection()
public abstract Team.EnumVisible getDeathMessageVisibility()
public abstract Team.CollisionRule getCollisionRule()