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