Package net.minecraft.scoreboard
Class Team
java.lang.Object
net.minecraft.scoreboard.AbstractTeam
net.minecraft.scoreboard.Team
public class Team extends AbstractTeam
- Mappings:
Namespace Name official djq
intermediary net/minecraft/class_268
named net/minecraft/scoreboard/Team
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.scoreboard.AbstractTeam
AbstractTeam.CollisionRule, AbstractTeam.VisibilityRule
-
Field Summary
Fields Modifier and Type Field Description private AbstractTeam.CollisionRule
collisionRule
private Formatting
color
private AbstractTeam.VisibilityRule
deathMessageVisibilityRule
private Text
displayName
private boolean
friendlyFire
private String
name
private Style
nameStyle
private AbstractTeam.VisibilityRule
nameTagVisibilityRule
private Set<String>
playerList
private Text
prefix
private Scoreboard
scoreboard
private boolean
showFriendlyInvisibles
private Text
suffix
-
Constructor Summary
Constructors Constructor Description Team(Scoreboard scoreboard, String name)
-
Method Summary
Methods inherited from class net.minecraft.scoreboard.AbstractTeam
isEqual
-
Field Details
-
scoreboard
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a:Ldjs;
intermediary field_1420
Lnet/minecraft/class_268;field_1420:Lnet/minecraft/class_269;
named scoreboard
Lnet/minecraft/scoreboard/Team;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
-
name
- Mappings:
Namespace Name Mixin selector official b
Ldjq;b:Ljava/lang/String;
intermediary field_1421
Lnet/minecraft/class_268;field_1421:Ljava/lang/String;
named name
Lnet/minecraft/scoreboard/Team;name:Ljava/lang/String;
-
playerList
- Mappings:
Namespace Name Mixin selector official c
Ldjq;c:Ljava/util/Set;
intermediary field_1415
Lnet/minecraft/class_268;field_1415:Ljava/util/Set;
named playerList
Lnet/minecraft/scoreboard/Team;playerList:Ljava/util/Set;
-
displayName
- Mappings:
Namespace Name Mixin selector official d
Ldjq;d:Loi;
intermediary field_1414
Lnet/minecraft/class_268;field_1414:Lnet/minecraft/class_2561;
named displayName
Lnet/minecraft/scoreboard/Team;displayName:Lnet/minecraft/text/Text;
-
prefix
- Mappings:
Namespace Name Mixin selector official e
Ldjq;e:Loi;
intermediary field_1418
Lnet/minecraft/class_268;field_1418:Lnet/minecraft/class_2561;
named prefix
Lnet/minecraft/scoreboard/Team;prefix:Lnet/minecraft/text/Text;
-
suffix
- Mappings:
Namespace Name Mixin selector official f
Ldjq;f:Loi;
intermediary field_1419
Lnet/minecraft/class_268;field_1419:Lnet/minecraft/class_2561;
named suffix
Lnet/minecraft/scoreboard/Team;suffix:Lnet/minecraft/text/Text;
-
friendlyFire
private boolean friendlyFire- Mappings:
Namespace Name Mixin selector official g
Ldjq;g:Z
intermediary field_1417
Lnet/minecraft/class_268;field_1417:Z
named friendlyFire
Lnet/minecraft/scoreboard/Team;friendlyFire:Z
-
showFriendlyInvisibles
private boolean showFriendlyInvisibles- Mappings:
Namespace Name Mixin selector official h
Ldjq;h:Z
intermediary field_1416
Lnet/minecraft/class_268;field_1416:Z
named showFriendlyInvisibles
Lnet/minecraft/scoreboard/Team;showFriendlyInvisibles:Z
-
nameTagVisibilityRule
- Mappings:
Namespace Name Mixin selector official i
Ldjq;i:Ldju$b;
intermediary field_1423
Lnet/minecraft/class_268;field_1423:Lnet/minecraft/class_270$class_272;
named nameTagVisibilityRule
Lnet/minecraft/scoreboard/Team;nameTagVisibilityRule:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
deathMessageVisibilityRule
- Mappings:
Namespace Name Mixin selector official j
Ldjq;j:Ldju$b;
intermediary field_1422
Lnet/minecraft/class_268;field_1422:Lnet/minecraft/class_270$class_272;
named deathMessageVisibilityRule
Lnet/minecraft/scoreboard/Team;deathMessageVisibilityRule:Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
color
- Mappings:
Namespace Name Mixin selector official k
Ldjq;k:Lk;
intermediary field_1424
Lnet/minecraft/class_268;field_1424:Lnet/minecraft/class_124;
named color
Lnet/minecraft/scoreboard/Team;color:Lnet/minecraft/util/Formatting;
-
collisionRule
- Mappings:
Namespace Name Mixin selector official l
Ldjq;l:Ldju$a;
intermediary field_1425
Lnet/minecraft/class_268;field_1425:Lnet/minecraft/class_270$class_271;
named collisionRule
Lnet/minecraft/scoreboard/Team;collisionRule:Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
nameStyle
- Mappings:
Namespace Name Mixin selector official m
Ldjq;m:Los;
intermediary field_24195
Lnet/minecraft/class_268;field_24195:Lnet/minecraft/class_2583;
named nameStyle
Lnet/minecraft/scoreboard/Team;nameStyle:Lnet/minecraft/text/Style;
-
-
Constructor Details
-
Team
- Mappings:
Namespace Name Mixin selector official <init>
Ldjq;<init>(Ldjs;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_268;<init>(Lnet/minecraft/class_269;Ljava/lang/String;)V
named <init>
Lnet/minecraft/scoreboard/Team;<init>(Lnet/minecraft/scoreboard/Scoreboard;Ljava/lang/String;)V
-
-
Method Details
-
getName
- Specified by:
getName
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official b
Ldju;b()Ljava/lang/String;
intermediary method_1197
Lnet/minecraft/class_270;method_1197()Ljava/lang/String;
named getName
Lnet/minecraft/scoreboard/AbstractTeam;getName()Ljava/lang/String;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official c
Ldjq;c()Loi;
intermediary method_1140
Lnet/minecraft/class_268;method_1140()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/scoreboard/Team;getDisplayName()Lnet/minecraft/text/Text;
-
getFormattedName
- Mappings:
Namespace Name Mixin selector official d
Ldjq;d()Loo;
intermediary method_1148
Lnet/minecraft/class_268;method_1148()Lnet/minecraft/class_5250;
named getFormattedName
Lnet/minecraft/scoreboard/Team;getFormattedName()Lnet/minecraft/text/MutableText;
-
setDisplayName
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Loi;)V
intermediary method_1137
Lnet/minecraft/class_268;method_1137(Lnet/minecraft/class_2561;)V
named setDisplayName
Lnet/minecraft/scoreboard/Team;setDisplayName(Lnet/minecraft/text/Text;)V
-
setPrefix
- Mappings:
Namespace Name Mixin selector official b
Ldjq;b(Loi;)V
intermediary method_1138
Lnet/minecraft/class_268;method_1138(Lnet/minecraft/class_2561;)V
named setPrefix
Lnet/minecraft/scoreboard/Team;setPrefix(Lnet/minecraft/text/Text;)V
-
getPrefix
- Mappings:
Namespace Name Mixin selector official e
Ldjq;e()Loi;
intermediary method_1144
Lnet/minecraft/class_268;method_1144()Lnet/minecraft/class_2561;
named getPrefix
Lnet/minecraft/scoreboard/Team;getPrefix()Lnet/minecraft/text/Text;
-
setSuffix
- Mappings:
Namespace Name Mixin selector official c
Ldjq;c(Loi;)V
intermediary method_1139
Lnet/minecraft/class_268;method_1139(Lnet/minecraft/class_2561;)V
named setSuffix
Lnet/minecraft/scoreboard/Team;setSuffix(Lnet/minecraft/text/Text;)V
-
getSuffix
- Mappings:
Namespace Name Mixin selector official f
Ldjq;f()Loi;
intermediary method_1136
Lnet/minecraft/class_268;method_1136()Lnet/minecraft/class_2561;
named getSuffix
Lnet/minecraft/scoreboard/Team;getSuffix()Lnet/minecraft/text/Text;
-
getPlayerList
- Specified by:
getPlayerList
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official g
Ldju;g()Ljava/util/Collection;
intermediary method_1204
Lnet/minecraft/class_270;method_1204()Ljava/util/Collection;
named getPlayerList
Lnet/minecraft/scoreboard/AbstractTeam;getPlayerList()Ljava/util/Collection;
-
decorateName
Decorates the name of an entity with the prefix, suffix and color of this team.- Specified by:
decorateName
in classAbstractTeam
- Parameters:
name
- the name to be decorated- Mappings:
Namespace Name Mixin selector official d
Ldju;d(Loi;)Loo;
intermediary method_1198
Lnet/minecraft/class_270;method_1198(Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;
named decorateName
Lnet/minecraft/scoreboard/AbstractTeam;decorateName(Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
-
decorateName
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 nullname
- the name to be decorated- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Ldju;Loi;)Loo;
intermediary method_1142
Lnet/minecraft/class_268;method_1142(Lnet/minecraft/class_270;Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;
named decorateName
Lnet/minecraft/scoreboard/Team;decorateName(Lnet/minecraft/scoreboard/AbstractTeam;Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;
-
isFriendlyFireAllowed
public boolean isFriendlyFireAllowed()- Specified by:
isFriendlyFireAllowed
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official h
Ldju;h()Z
intermediary method_1205
Lnet/minecraft/class_270;method_1205()Z
named isFriendlyFireAllowed
Lnet/minecraft/scoreboard/AbstractTeam;isFriendlyFireAllowed()Z
-
setFriendlyFireAllowed
public void setFriendlyFireAllowed(boolean friendlyFire)- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Z)V
intermediary method_1135
Lnet/minecraft/class_268;method_1135(Z)V
named setFriendlyFireAllowed
Lnet/minecraft/scoreboard/Team;setFriendlyFireAllowed(Z)V
-
shouldShowFriendlyInvisibles
public boolean shouldShowFriendlyInvisibles()- Specified by:
shouldShowFriendlyInvisibles
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official i
Ldju;i()Z
intermediary method_1199
Lnet/minecraft/class_270;method_1199()Z
named shouldShowFriendlyInvisibles
Lnet/minecraft/scoreboard/AbstractTeam;shouldShowFriendlyInvisibles()Z
-
setShowFriendlyInvisibles
public void setShowFriendlyInvisibles(boolean showFriendlyInvisible)- Mappings:
Namespace Name Mixin selector official b
Ldjq;b(Z)V
intermediary method_1143
Lnet/minecraft/class_268;method_1143(Z)V
named setShowFriendlyInvisibles
Lnet/minecraft/scoreboard/Team;setShowFriendlyInvisibles(Z)V
-
getNameTagVisibilityRule
- Specified by:
getNameTagVisibilityRule
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official j
Ldju;j()Ldju$b;
intermediary method_1201
Lnet/minecraft/class_270;method_1201()Lnet/minecraft/class_270$class_272;
named getNameTagVisibilityRule
Lnet/minecraft/scoreboard/AbstractTeam;getNameTagVisibilityRule()Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
getDeathMessageVisibilityRule
- Specified by:
getDeathMessageVisibilityRule
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official k
Ldju;k()Ldju$b;
intermediary method_1200
Lnet/minecraft/class_270;method_1200()Lnet/minecraft/class_270$class_272;
named getDeathMessageVisibilityRule
Lnet/minecraft/scoreboard/AbstractTeam;getDeathMessageVisibilityRule()Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;
-
setNameTagVisibilityRule
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Ldju$b;)V
intermediary method_1149
Lnet/minecraft/class_268;method_1149(Lnet/minecraft/class_270$class_272;)V
named setNameTagVisibilityRule
Lnet/minecraft/scoreboard/Team;setNameTagVisibilityRule(Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)V
-
setDeathMessageVisibilityRule
- Mappings:
Namespace Name Mixin selector official b
Ldjq;b(Ldju$b;)V
intermediary method_1133
Lnet/minecraft/class_268;method_1133(Lnet/minecraft/class_270$class_272;)V
named setDeathMessageVisibilityRule
Lnet/minecraft/scoreboard/Team;setDeathMessageVisibilityRule(Lnet/minecraft/scoreboard/AbstractTeam$VisibilityRule;)V
-
getCollisionRule
- Specified by:
getCollisionRule
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official l
Ldju;l()Ldju$a;
intermediary method_1203
Lnet/minecraft/class_270;method_1203()Lnet/minecraft/class_270$class_271;
named getCollisionRule
Lnet/minecraft/scoreboard/AbstractTeam;getCollisionRule()Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;
-
setCollisionRule
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Ldju$a;)V
intermediary method_1145
Lnet/minecraft/class_268;method_1145(Lnet/minecraft/class_270$class_271;)V
named setCollisionRule
Lnet/minecraft/scoreboard/Team;setCollisionRule(Lnet/minecraft/scoreboard/AbstractTeam$CollisionRule;)V
-
getFriendlyFlagsBitwise
public int getFriendlyFlagsBitwise()- Mappings:
Namespace Name Mixin selector official m
Ldjq;m()I
intermediary method_1147
Lnet/minecraft/class_268;method_1147()I
named getFriendlyFlagsBitwise
Lnet/minecraft/scoreboard/Team;getFriendlyFlagsBitwise()I
-
setFriendlyFlagsBitwise
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(I)V
intermediary method_1146
Lnet/minecraft/class_268;method_1146(I)V
named setFriendlyFlagsBitwise
Lnet/minecraft/scoreboard/Team;setFriendlyFlagsBitwise(I)V
-
setColor
- Mappings:
Namespace Name Mixin selector official a
Ldjq;a(Lk;)V
intermediary method_1141
Lnet/minecraft/class_268;method_1141(Lnet/minecraft/class_124;)V
named setColor
Lnet/minecraft/scoreboard/Team;setColor(Lnet/minecraft/util/Formatting;)V
-
getColor
- Specified by:
getColor
in classAbstractTeam
- Mappings:
Namespace Name Mixin selector official n
Ldju;n()Lk;
intermediary method_1202
Lnet/minecraft/class_270;method_1202()Lnet/minecraft/class_124;
named getColor
Lnet/minecraft/scoreboard/AbstractTeam;getColor()Lnet/minecraft/util/Formatting;
-