public class ScorePlayerTeam extends Team
Team.CollisionRule, Team.Visible
Modifier and Type | Field and Description |
---|---|
private boolean |
allowFriendlyFire |
private boolean |
canSeeFriendlyInvisibles |
private Team.CollisionRule |
collisionRule |
private TextFormatting |
color |
private Team.Visible |
deathMessageVisibility |
private ITextComponent |
displayName |
private java.util.Set<java.lang.String> |
membershipSet |
private java.lang.String |
name |
private Team.Visible |
nameTagVisibility |
private ITextComponent |
prefix |
private Scoreboard |
scoreboard |
private ITextComponent |
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 ITextComponent displayName
private ITextComponent prefix
private ITextComponent suffix
private boolean allowFriendlyFire
private boolean canSeeFriendlyInvisibles
private Team.Visible nameTagVisibility
private Team.Visible deathMessageVisibility
private TextFormatting color
private Team.CollisionRule collisionRule
public ScorePlayerTeam(Scoreboard scoreboardIn, java.lang.String name)
public ITextComponent getDisplayName()
public ITextComponent getCommandName()
public void setDisplayName(ITextComponent name)
public void setPrefix(@Nullable ITextComponent p_207408_1_)
public ITextComponent getPrefix()
public void setSuffix(@Nullable ITextComponent p_207409_1_)
public ITextComponent getSuffix()
public java.util.Collection<java.lang.String> getMembershipCollection()
getMembershipCollection
in class Team
public ITextComponent format(ITextComponent p_200540_1_)
public static ITextComponent formatMemberName(@Nullable Team p_200541_0_, ITextComponent p_200541_1_)
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.Visible getNameTagVisibility()
getNameTagVisibility
in class Team
public Team.Visible getDeathMessageVisibility()
getDeathMessageVisibility
in class Team
public void setNameTagVisibility(Team.Visible visibility)
public void setDeathMessageVisibility(Team.Visible 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()