Package net.minecraft.scoreboard
Class Team
- java.lang.Object
-
- net.minecraft.scoreboard.Team
-
- Direct Known Subclasses:
ScorePlayerTeam
public abstract class Team extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Team.CollisionRule
static class
Team.Visible
-
Constructor Summary
Constructors Constructor Description Team()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
canSeeFriendlyInvisibles()
abstract Team.CollisionRule
getCollisionRule()
abstract TextFormatting
getColor()
abstract Team.Visible
getDeathMessageVisibility()
abstract IFormattableTextComponent
getFormattedName(ITextComponent p_230427_1_)
abstract java.lang.String
getName()
abstract Team.Visible
getNameTagVisibility()
abstract java.util.Collection<java.lang.String>
getPlayers()
boolean
isAlliedTo(Team p_142054_1_)
abstract boolean
isAllowFriendlyFire()
-
-
-
Method Detail
-
isAlliedTo
public boolean isAlliedTo(@Nullable Team p_142054_1_)
-
getName
public abstract java.lang.String getName()
-
getFormattedName
public abstract IFormattableTextComponent getFormattedName(ITextComponent p_230427_1_)
-
canSeeFriendlyInvisibles
public abstract boolean canSeeFriendlyInvisibles()
-
isAllowFriendlyFire
public abstract boolean isAllowFriendlyFire()
-
getNameTagVisibility
public abstract Team.Visible getNameTagVisibility()
-
getColor
public abstract TextFormatting getColor()
-
getPlayers
public abstract java.util.Collection<java.lang.String> getPlayers()
-
getDeathMessageVisibility
public abstract Team.Visible getDeathMessageVisibility()
-
getCollisionRule
public abstract Team.CollisionRule getCollisionRule()
-
-