Class Team

java.lang.Object
net.minecraft.world.scores.Team
Direct Known Subclasses:
PlayerTeam

public abstract class Team extends Object
  • Constructor Details

    • Team

      public Team()
  • Method Details

    • isAlliedTo

      public boolean isAlliedTo(@Nullable Team p_83537_)
    • getName

      public abstract String getName()
    • getFormattedName

      public abstract MutableComponent getFormattedName(Component p_83538_)
    • canSeeFriendlyInvisibles

      public abstract boolean canSeeFriendlyInvisibles()
    • isAllowFriendlyFire

      public abstract boolean isAllowFriendlyFire()
    • getNameTagVisibility

      public abstract Team.Visibility getNameTagVisibility()
    • getColor

      public abstract ChatFormatting getColor()
    • getPlayers

      public abstract Collection<String> getPlayers()
    • getDeathMessageVisibility

      public abstract Team.Visibility getDeathMessageVisibility()
    • getCollisionRule

      public abstract Team.CollisionRule getCollisionRule()