Class Team


public class Team extends AbstractTeam
Mappings:
Namespace Name
named net/minecraft/scoreboard/Team
intermediary net/minecraft/class_268
official fcx
  • Field Details

    • field_31884

      private static final int field_31884
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31884 Lnet/minecraft/scoreboard/Team;field_31884:I
      intermediary field_31884 Lnet/minecraft/class_268;field_31884:I
      official a Lfcx;a:I
    • field_31885

      private static final int field_31885
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31885 Lnet/minecraft/scoreboard/Team;field_31885:I
      intermediary field_31885 Lnet/minecraft/class_268;field_31885:I
      official b Lfcx;b:I
    • scoreboard

      private final Scoreboard scoreboard
      Mappings:
      Namespace Name Mixin selector
      named scoreboard Lnet/minecraft/scoreboard/Team;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
      intermediary field_1420 Lnet/minecraft/class_268;field_1420:Lnet/minecraft/class_269;
      official c Lfcx;c:Lfdc;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/scoreboard/Team;name:Ljava/lang/String;
      intermediary field_1421 Lnet/minecraft/class_268;field_1421:Ljava/lang/String;
      official d Lfcx;d:Ljava/lang/String;
    • playerList

      private final Set<String> playerList
      Mappings:
      Namespace Name Mixin selector
      named playerList Lnet/minecraft/scoreboard/Team;playerList:Ljava/util/Set;
      intermediary field_1415 Lnet/minecraft/class_268;field_1415:Ljava/util/Set;
      official e Lfcx;e:Ljava/util/Set;
    • displayName

      private Text displayName
      Mappings:
      Namespace Name Mixin selector
      named displayName Lnet/minecraft/scoreboard/Team;displayName:Lnet/minecraft/text/Text;
      intermediary field_1414 Lnet/minecraft/class_268;field_1414:Lnet/minecraft/class_2561;
      official f Lfcx;f:Lxv;
    • prefix

      private Text prefix
      Mappings:
      Namespace Name Mixin selector
      named prefix Lnet/minecraft/scoreboard/Team;prefix:Lnet/minecraft/text/Text;
      intermediary field_1418 Lnet/minecraft/class_268;field_1418:Lnet/minecraft/class_2561;
      official g Lfcx;g:Lxv;
    • suffix

      private Text suffix
      Mappings:
      Namespace Name Mixin selector
      named suffix Lnet/minecraft/scoreboard/Team;suffix:Lnet/minecraft/text/Text;
      intermediary field_1419 Lnet/minecraft/class_268;field_1419:Lnet/minecraft/class_2561;
      official h Lfcx;h:Lxv;
    • friendlyFire

      private boolean friendlyFire
      Mappings:
      Namespace Name Mixin selector
      named friendlyFire Lnet/minecraft/scoreboard/Team;friendlyFire:Z
      intermediary field_1417 Lnet/minecraft/class_268;field_1417:Z
      official i Lfcx;i:Z
    • showFriendlyInvisibles

      private boolean showFriendlyInvisibles
      Mappings:
      Namespace Name Mixin selector
      named showFriendlyInvisibles Lnet/minecraft/scoreboard/Team;showFriendlyInvisibles:Z
      intermediary field_1416 Lnet/minecraft/class_268;field_1416:Z
      official j Lfcx;j:Z
    • nameTagVisibilityRule

      private AbstractTeam.VisibilityRule nameTagVisibilityRule
      Mappings:
      Namespace Name Mixin selector
      named nameTagVisibilityRule Lnet/minecraft/scoreboard/Team;nameTagVisibilityRule:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1423 Lnet/minecraft/class_268;field_1423:Lnet/minecraft/class_270$class_272;
      official k Lfcx;k:Lfde$b;
    • deathMessageVisibilityRule

      private AbstractTeam.VisibilityRule deathMessageVisibilityRule
      Mappings:
      Namespace Name Mixin selector
      named deathMessageVisibilityRule Lnet/minecraft/scoreboard/Team;deathMessageVisibilityRule:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary field_1422 Lnet/minecraft/class_268;field_1422:Lnet/minecraft/class_270$class_272;
      official l Lfcx;l:Lfde$b;
    • color

      private Formatting color
      Mappings:
      Namespace Name Mixin selector
      named color Lnet/minecraft/scoreboard/Team;color:Lnet/minecraft/util/Formatting;
      intermediary field_1424 Lnet/minecraft/class_268;field_1424:Lnet/minecraft/class_124;
      official m Lfcx;m:Ln;
    • collisionRule

      private AbstractTeam.CollisionRule collisionRule
      Mappings:
      Namespace Name Mixin selector
      named collisionRule Lnet/minecraft/scoreboard/Team;collisionRule:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary field_1425 Lnet/minecraft/class_268;field_1425:Lnet/minecraft/class_270$class_271;
      official n Lfcx;n:Lfde$a;
    • nameStyle

      private final Style nameStyle
      Mappings:
      Namespace Name Mixin selector
      named nameStyle Lnet/minecraft/scoreboard/Team;nameStyle:Lnet/minecraft/text/Style;
      intermediary field_24195 Lnet/minecraft/class_268;field_24195:Lnet/minecraft/class_2583;
      official o Lfcx;o:Lys;
  • Constructor Details

    • Team

      public Team(Scoreboard scoreboard, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/Team;<init>(Lnet/minecraft/scoreboard/Scoreboard;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_268;<init>(Lnet/minecraft/class_269;Ljava/lang/String;)V
      official <init> Lfcx;<init>(Lfdc;Ljava/lang/String;)V
  • Method Details

    • getScoreboard

      public Scoreboard getScoreboard()
      Mappings:
      Namespace Name Mixin selector
      named getScoreboard Lnet/minecraft/scoreboard/Team;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
      intermediary method_35594 Lnet/minecraft/class_268;method_35594()Lnet/minecraft/class_269;
      official a Lfcx;a()Lfdc;
    • getName

      public String getName()
      Specified by:
      getName in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/scoreboard/AbstractTeam;getName()Ljava/lang/String;
      intermediary method_1197 Lnet/minecraft/class_270;method_1197()Ljava/lang/String;
      official b Lfde;b()Ljava/lang/String;
    • getDisplayName

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayName Lnet/minecraft/scoreboard/Team;getDisplayName()Lnet/minecraft/text/Text;
      intermediary method_1140 Lnet/minecraft/class_268;method_1140()Lnet/minecraft/class_2561;
      official c Lfcx;c()Lxv;
    • getFormattedName

      public MutableText getFormattedName()
      Mappings:
      Namespace Name Mixin selector
      named getFormattedName Lnet/minecraft/scoreboard/Team;getFormattedName()Lnet/minecraft/text/MutableText;
      intermediary method_1148 Lnet/minecraft/class_268;method_1148()Lnet/minecraft/class_5250;
      official d Lfcx;d()Lyj;
    • setDisplayName

      public void setDisplayName(Text displayName)
      Mappings:
      Namespace Name Mixin selector
      named setDisplayName Lnet/minecraft/scoreboard/Team;setDisplayName(Lnet/minecraft/text/Text;)V
      intermediary method_1137 Lnet/minecraft/class_268;method_1137(Lnet/minecraft/class_2561;)V
      official a Lfcx;a(Lxv;)V
    • setPrefix

      public void setPrefix(@Nullable @Nullable Text prefix)
      Mappings:
      Namespace Name Mixin selector
      named setPrefix Lnet/minecraft/scoreboard/Team;setPrefix(Lnet/minecraft/text/Text;)V
      intermediary method_1138 Lnet/minecraft/class_268;method_1138(Lnet/minecraft/class_2561;)V
      official b Lfcx;b(Lxv;)V
    • getPrefix

      public Text getPrefix()
      Mappings:
      Namespace Name Mixin selector
      named getPrefix Lnet/minecraft/scoreboard/Team;getPrefix()Lnet/minecraft/text/Text;
      intermediary method_1144 Lnet/minecraft/class_268;method_1144()Lnet/minecraft/class_2561;
      official e Lfcx;e()Lxv;
    • setSuffix

      public void setSuffix(@Nullable @Nullable Text suffix)
      Mappings:
      Namespace Name Mixin selector
      named setSuffix Lnet/minecraft/scoreboard/Team;setSuffix(Lnet/minecraft/text/Text;)V
      intermediary method_1139 Lnet/minecraft/class_268;method_1139(Lnet/minecraft/class_2561;)V
      official c Lfcx;c(Lxv;)V
    • getSuffix

      public Text getSuffix()
      Mappings:
      Namespace Name Mixin selector
      named getSuffix Lnet/minecraft/scoreboard/Team;getSuffix()Lnet/minecraft/text/Text;
      intermediary method_1136 Lnet/minecraft/class_268;method_1136()Lnet/minecraft/class_2561;
      official f Lfcx;f()Lxv;
    • getPlayerList

      public Collection<String> getPlayerList()
      Specified by:
      getPlayerList in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getPlayerList Lnet/minecraft/scoreboard/AbstractTeam;getPlayerList()Ljava/util/Collection;
      intermediary method_1204 Lnet/minecraft/class_270;method_1204()Ljava/util/Collection;
      official g Lfde;g()Ljava/util/Collection;
    • decorateName

      public MutableText decorateName(Text name)
      Decorates the name of an entity with the prefix, suffix and color of this team.
      Specified by:
      decorateName in class AbstractTeam
      Parameters:
      name - the name to be decorated
      Mappings:
      Namespace Name Mixin selector
      named decorateName Lnet/minecraft/scoreboard/AbstractTeam;decorateName(Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
      intermediary method_1198 Lnet/minecraft/class_270;method_1198(Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;
      official d Lfde;d(Lxv;)Lyj;
    • decorateName

      public static MutableText decorateName(@Nullable @Nullable AbstractTeam team, Text name)
      Decorates the name of an entity with the prefix, suffix and color of the team. If the team is null, returns a copy of the name.
      Parameters:
      team - the team, can be null
      name - the name to be decorated
      Mappings:
      Namespace Name Mixin selector
      named decorateName Lnet/minecraft/scoreboard/Team;decorateName(Lnet/minecraft/scoreboard/AbstractTeam;Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
      intermediary method_1142 Lnet/minecraft/class_268;method_1142(Lnet/minecraft/class_270;Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;
      official a Lfcx;a(Lfde;Lxv;)Lyj;
    • isFriendlyFireAllowed

      public boolean isFriendlyFireAllowed()
      Specified by:
      isFriendlyFireAllowed in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named isFriendlyFireAllowed Lnet/minecraft/scoreboard/AbstractTeam;isFriendlyFireAllowed()Z
      intermediary method_1205 Lnet/minecraft/class_270;method_1205()Z
      official h Lfde;h()Z
    • setFriendlyFireAllowed

      public void setFriendlyFireAllowed(boolean friendlyFire)
      Mappings:
      Namespace Name Mixin selector
      named setFriendlyFireAllowed Lnet/minecraft/scoreboard/Team;setFriendlyFireAllowed(Z)V
      intermediary method_1135 Lnet/minecraft/class_268;method_1135(Z)V
      official a Lfcx;a(Z)V
    • shouldShowFriendlyInvisibles

      public boolean shouldShowFriendlyInvisibles()
      Specified by:
      shouldShowFriendlyInvisibles in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named shouldShowFriendlyInvisibles Lnet/minecraft/scoreboard/AbstractTeam;shouldShowFriendlyInvisibles()Z
      intermediary method_1199 Lnet/minecraft/class_270;method_1199()Z
      official i Lfde;i()Z
    • setShowFriendlyInvisibles

      public void setShowFriendlyInvisibles(boolean showFriendlyInvisible)
      Mappings:
      Namespace Name Mixin selector
      named setShowFriendlyInvisibles Lnet/minecraft/scoreboard/Team;setShowFriendlyInvisibles(Z)V
      intermediary method_1143 Lnet/minecraft/class_268;method_1143(Z)V
      official b Lfcx;b(Z)V
    • getNameTagVisibilityRule

      public AbstractTeam.VisibilityRule getNameTagVisibilityRule()
      Specified by:
      getNameTagVisibilityRule in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getNameTagVisibilityRule Lnet/minecraft/scoreboard/AbstractTeam;getNameTagVisibilityRule()Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary method_1201 Lnet/minecraft/class_270;method_1201()Lnet/minecraft/class_270$class_272;
      official j Lfde;j()Lfde$b;
    • getDeathMessageVisibilityRule

      public AbstractTeam.VisibilityRule getDeathMessageVisibilityRule()
      Specified by:
      getDeathMessageVisibilityRule in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getDeathMessageVisibilityRule Lnet/minecraft/scoreboard/AbstractTeam;getDeathMessageVisibilityRule()Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
      intermediary method_1200 Lnet/minecraft/class_270;method_1200()Lnet/minecraft/class_270$class_272;
      official k Lfde;k()Lfde$b;
    • setNameTagVisibilityRule

      public void setNameTagVisibilityRule(AbstractTeam.VisibilityRule nameTagVisibilityRule)
      Mappings:
      Namespace Name Mixin selector
      named setNameTagVisibilityRule Lnet/minecraft/scoreboard/Team;setNameTagVisibilityRule(Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)V
      intermediary method_1149 Lnet/minecraft/class_268;method_1149(Lnet/minecraft/class_270$class_272;)V
      official a Lfcx;a(Lfde$b;)V
    • setDeathMessageVisibilityRule

      public void setDeathMessageVisibilityRule(AbstractTeam.VisibilityRule deathMessageVisibilityRule)
      Mappings:
      Namespace Name Mixin selector
      named setDeathMessageVisibilityRule Lnet/minecraft/scoreboard/Team;setDeathMessageVisibilityRule(Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)V
      intermediary method_1133 Lnet/minecraft/class_268;method_1133(Lnet/minecraft/class_270$class_272;)V
      official b Lfcx;b(Lfde$b;)V
    • getCollisionRule

      public AbstractTeam.CollisionRule getCollisionRule()
      Specified by:
      getCollisionRule in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getCollisionRule Lnet/minecraft/scoreboard/AbstractTeam;getCollisionRule()Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
      intermediary method_1203 Lnet/minecraft/class_270;method_1203()Lnet/minecraft/class_270$class_271;
      official l Lfde;l()Lfde$a;
    • setCollisionRule

      public void setCollisionRule(AbstractTeam.CollisionRule collisionRule)
      Mappings:
      Namespace Name Mixin selector
      named setCollisionRule Lnet/minecraft/scoreboard/Team;setCollisionRule(Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)V
      intermediary method_1145 Lnet/minecraft/class_268;method_1145(Lnet/minecraft/class_270$class_271;)V
      official a Lfcx;a(Lfde$a;)V
    • getFriendlyFlagsBitwise

      public int getFriendlyFlagsBitwise()
      Mappings:
      Namespace Name Mixin selector
      named getFriendlyFlagsBitwise Lnet/minecraft/scoreboard/Team;getFriendlyFlagsBitwise()I
      intermediary method_1147 Lnet/minecraft/class_268;method_1147()I
      official m Lfcx;m()I
    • setFriendlyFlagsBitwise

      public void setFriendlyFlagsBitwise(int flags)
      Mappings:
      Namespace Name Mixin selector
      named setFriendlyFlagsBitwise Lnet/minecraft/scoreboard/Team;setFriendlyFlagsBitwise(I)V
      intermediary method_1146 Lnet/minecraft/class_268;method_1146(I)V
      official a Lfcx;a(I)V
    • setColor

      public void setColor(Formatting color)
      Mappings:
      Namespace Name Mixin selector
      named setColor Lnet/minecraft/scoreboard/Team;setColor(Lnet/minecraft/util/Formatting;)V
      intermediary method_1141 Lnet/minecraft/class_268;method_1141(Lnet/minecraft/class_124;)V
      official a Lfcx;a(Ln;)V
    • getColor

      public Formatting getColor()
      Specified by:
      getColor in class AbstractTeam
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/scoreboard/AbstractTeam;getColor()Lnet/minecraft/util/Formatting;
      intermediary method_1202 Lnet/minecraft/class_270;method_1202()Lnet/minecraft/class_124;
      official n Lfde;n()Ln;