Package net.minecraft.scoreboard
Class ScorePlayerTeam
- java.lang.Object
-
- net.minecraft.scoreboard.Team
-
- net.minecraft.scoreboard.ScorePlayerTeam
-
public class ScorePlayerTeam extends Team
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.scoreboard.Team
Team.CollisionRule, Team.Visible
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
allowFriendlyFire
private Team.CollisionRule
collisionRule
private TextFormatting
color
private Team.Visible
deathMessageVisibility
private ITextComponent
displayName
private Style
displayNameStyle
private java.lang.String
name
private Team.Visible
nameTagVisibility
private ITextComponent
playerPrefix
private java.util.Set<java.lang.String>
players
private ITextComponent
playerSuffix
private Scoreboard
scoreboard
private boolean
seeFriendlyInvisibles
-
Constructor Summary
Constructors Constructor Description ScorePlayerTeam(Scoreboard p_i2308_1_, java.lang.String p_i2308_2_)
-
Method Summary
-
Methods inherited from class net.minecraft.scoreboard.Team
isAlliedTo
-
-
-
-
Field Detail
-
scoreboard
private final Scoreboard scoreboard
-
name
private final java.lang.String name
-
players
private final java.util.Set<java.lang.String> players
-
displayName
private ITextComponent displayName
-
playerPrefix
private ITextComponent playerPrefix
-
playerSuffix
private ITextComponent playerSuffix
-
allowFriendlyFire
private boolean allowFriendlyFire
-
seeFriendlyInvisibles
private boolean seeFriendlyInvisibles
-
nameTagVisibility
private Team.Visible nameTagVisibility
-
deathMessageVisibility
private Team.Visible deathMessageVisibility
-
color
private TextFormatting color
-
collisionRule
private Team.CollisionRule collisionRule
-
displayNameStyle
private final Style displayNameStyle
-
-
Constructor Detail
-
ScorePlayerTeam
public ScorePlayerTeam(Scoreboard p_i2308_1_, java.lang.String p_i2308_2_)
-
-
Method Detail
-
getDisplayName
public ITextComponent getDisplayName()
-
getFormattedDisplayName
public IFormattableTextComponent getFormattedDisplayName()
-
setDisplayName
public void setDisplayName(ITextComponent p_96664_1_)
-
setPlayerPrefix
public void setPlayerPrefix(@Nullable ITextComponent p_207408_1_)
-
getPlayerPrefix
public ITextComponent getPlayerPrefix()
-
setPlayerSuffix
public void setPlayerSuffix(@Nullable ITextComponent p_207409_1_)
-
getPlayerSuffix
public ITextComponent getPlayerSuffix()
-
getPlayers
public java.util.Collection<java.lang.String> getPlayers()
- Specified by:
getPlayers
in classTeam
-
getFormattedName
public IFormattableTextComponent getFormattedName(ITextComponent p_230427_1_)
- Specified by:
getFormattedName
in classTeam
-
formatNameForTeam
public static IFormattableTextComponent formatNameForTeam(@Nullable Team p_237500_0_, ITextComponent p_237500_1_)
-
isAllowFriendlyFire
public boolean isAllowFriendlyFire()
- Specified by:
isAllowFriendlyFire
in classTeam
-
setAllowFriendlyFire
public void setAllowFriendlyFire(boolean p_96660_1_)
-
canSeeFriendlyInvisibles
public boolean canSeeFriendlyInvisibles()
- Specified by:
canSeeFriendlyInvisibles
in classTeam
-
setSeeFriendlyInvisibles
public void setSeeFriendlyInvisibles(boolean p_98300_1_)
-
getNameTagVisibility
public Team.Visible getNameTagVisibility()
- Specified by:
getNameTagVisibility
in classTeam
-
getDeathMessageVisibility
public Team.Visible getDeathMessageVisibility()
- Specified by:
getDeathMessageVisibility
in classTeam
-
setNameTagVisibility
public void setNameTagVisibility(Team.Visible p_178772_1_)
-
setDeathMessageVisibility
public void setDeathMessageVisibility(Team.Visible p_178773_1_)
-
getCollisionRule
public Team.CollisionRule getCollisionRule()
- Specified by:
getCollisionRule
in classTeam
-
setCollisionRule
public void setCollisionRule(Team.CollisionRule p_186682_1_)
-
packOptions
public int packOptions()
-
unpackOptions
public void unpackOptions(int p_98298_1_)
-
setColor
public void setColor(TextFormatting p_178774_1_)
-
getColor
public TextFormatting getColor()
-
-