public class ScorePlayerTeam extends Team
Team.CollisionRule, Team.EnumVisible
Constructor and Description |
---|
ScorePlayerTeam(Scoreboard theScoreboardIn,
java.lang.String name) |
isSameTeam
public ScorePlayerTeam(Scoreboard theScoreboardIn, java.lang.String name)
public java.lang.String getRegisteredName()
getRegisteredName
in class Team
public java.lang.String getTeamName()
public void setTeamName(java.lang.String name)
public java.util.Collection<java.lang.String> getMembershipCollection()
getMembershipCollection
in class Team
public java.lang.String getColorPrefix()
public void setNamePrefix(java.lang.String prefix)
public java.lang.String getColorSuffix()
public void setNameSuffix(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 setChatFormat(TextFormatting format)
public TextFormatting getChatFormat()
getChatFormat
in class Team