public class ScorePlayerTeam extends Team
Team.CollisionRule, Team.EnumVisible
Modifier and Type | Field and Description |
---|---|
private boolean |
allowFriendlyFire |
private boolean |
canSeeFriendlyInvisibles |
private Team.CollisionRule |
collisionRule |
private TextFormatting |
color |
private Team.EnumVisible |
deathMessageVisibility |
private java.lang.String |
displayName |
private java.util.Set<java.lang.String> |
membershipSet |
private java.lang.String |
name |
private Team.EnumVisible |
nameTagVisibility |
private java.lang.String |
prefix |
private Scoreboard |
scoreboard |
private java.lang.String |
suffix |
Constructor and Description |
---|
ScorePlayerTeam(Scoreboard scoreboardIn,
java.lang.String name) |
isSameTeam
private final Scoreboard scoreboard
private final java.lang.String name
private final java.util.Set<java.lang.String> membershipSet
private java.lang.String displayName
private java.lang.String prefix
private java.lang.String suffix
private boolean allowFriendlyFire
private boolean canSeeFriendlyInvisibles
private Team.EnumVisible nameTagVisibility
private Team.EnumVisible deathMessageVisibility
private TextFormatting color
private Team.CollisionRule collisionRule
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()