public class ScorePlayerTeam extends Team
Team.CollisionRule, Team.EnumVisible
Constructor and Description |
---|
ScorePlayerTeam(Scoreboard scoreboardIn,
java.lang.String name) |
isSameTeam
public ScorePlayerTeam(Scoreboard scoreboardIn, java.lang.String name)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String name)
public java.util.Collection<java.lang.String> getMembershipCollection()
getMembershipCollection
in class Team
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
public java.lang.String formatString(java.lang.String input)
formatString
in class Team
public static java.lang.String formatPlayerName(@Nullable Team teamIn, java.lang.String string)
public boolean getAllowFriendlyFire()
getAllowFriendlyFire
in class Team
public void setAllowFriendlyFire(boolean friendlyFire)
public boolean getSeeFriendlyInvisiblesEnabled()
getSeeFriendlyInvisiblesEnabled
in class Team
public void setSeeFriendlyInvisiblesEnabled(boolean friendlyInvisibles)
public Team.EnumVisible getNameTagVisibility()
getNameTagVisibility
in class Team
public Team.EnumVisible getDeathMessageVisibility()
getDeathMessageVisibility
in class Team
public void setNameTagVisibility(Team.EnumVisible visibility)
public void setDeathMessageVisibility(Team.EnumVisible visibility)
public Team.CollisionRule getCollisionRule()
getCollisionRule
in class Team
public void setCollisionRule(Team.CollisionRule rule)
public int getFriendlyFlags()
public void setFriendlyFlags(int flags)
public void setColor(TextFormatting color)
public TextFormatting getColor()