net.minecraft.world.scores

public class PlayerTeam

extends Team

fcy
net.minecraft.world.scores.PlayerTeam
net.minecraft.class_268
net.minecraft.scoreboard.Team
net.minecraft.world.scores.ScoreboardTeam

Field summary

Modifier and TypeField
private static final int
a
BIT_FRIENDLY_FIRE
field_31884
field_31884
private static final int
b
BIT_SEE_INVISIBLES
field_31885
field_31885
private final Scoreboard
c
scoreboard
field_1420
scoreboard
private final String
d
name
field_1421
name
private final Set<String>
e
players
field_1415
playerList
private Component
f
displayName
field_1414
displayName
private Component
g
playerPrefix
field_1418
prefix
private Component
h
playerSuffix
field_1419
suffix
private boolean
i
allowFriendlyFire
field_1417
friendlyFire
private boolean
j
seeFriendlyInvisibles
field_1416
showFriendlyInvisibles
private Team$Visibility
k
nameTagVisibility
field_1423
nameTagVisibilityRule
private Team$Visibility
l
deathMessageVisibility
field_1422
deathMessageVisibilityRule
private ChatFormatting
m
color
field_1424
color
private Team$CollisionRule
n
collisionRule
field_1425
collisionRule
private final Style
o
displayNameStyle
field_24195
nameStyle

Constructor summary

ModifierConstructor
public (Scoreboard scoreboard, String name)

Method summary

Modifier and TypeMethod
public Scoreboard
a()
getScoreboard()
method_35594()
getScoreboard()
public String
b()
getName()
method_1197()
getName()
public Component
c()
getDisplayName()
method_1140()
getDisplayName()
public MutableComponent
d()
getFormattedDisplayName()
method_1148()
getFormattedName()
public void
a(xv arg0)
setDisplayName(Component arg0)
method_1137(class_2561 arg0)
setDisplayName(Text displayName)
public void
b(xv arg0)
setPlayerPrefix(Component arg0)
method_1138(class_2561 arg0)
setPrefix(Text prefix)
public Component
e()
getPlayerPrefix()
method_1144()
getPrefix()
public void
c(xv arg0)
setPlayerSuffix(Component arg0)
method_1139(class_2561 arg0)
setSuffix(Text suffix)
public Component
f()
getPlayerSuffix()
method_1136()
getSuffix()
public Collection<String>
g()
getPlayers()
method_1204()
getPlayerList()
public MutableComponent
d(xv arg0)
getFormattedName(Component arg0)
method_1198(class_2561 arg0)
decorateName(Text arg0)
public static MutableComponent
a(fdf arg0, xv arg1)
formatNameForTeam(Team arg0, Component arg1)
method_1142(class_270 arg0, class_2561 arg1)
decorateName(AbstractTeam team, Text name)
public boolean
h()
isAllowFriendlyFire()
method_1205()
isFriendlyFireAllowed()
public void
a(boolean arg0)
setAllowFriendlyFire(boolean arg0)
method_1135(boolean arg0)
setFriendlyFireAllowed(boolean friendlyFire)
public boolean
i()
canSeeFriendlyInvisibles()
method_1199()
shouldShowFriendlyInvisibles()
public void
b(boolean arg0)
setSeeFriendlyInvisibles(boolean arg0)
method_1143(boolean arg0)
setShowFriendlyInvisibles(boolean showFriendlyInvisible)
public Team$Visibility
j()
getNameTagVisibility()
method_1201()
getNameTagVisibilityRule()
public Team$Visibility
k()
getDeathMessageVisibility()
method_1200()
getDeathMessageVisibilityRule()
public void
a(fdf$b arg0)
setNameTagVisibility(Team$Visibility arg0)
method_1149(class_270$class_272 arg0)
setNameTagVisibilityRule(AbstractTeam$VisibilityRule nameTagVisibilityRule)
public void
b(fdf$b arg0)
setDeathMessageVisibility(Team$Visibility arg0)
method_1133(class_270$class_272 arg0)
setDeathMessageVisibilityRule(AbstractTeam$VisibilityRule deathMessageVisibilityRule)
public Team$CollisionRule
l()
getCollisionRule()
method_1203()
getCollisionRule()
public void
a(fdf$a arg0)
setCollisionRule(Team$CollisionRule arg0)
method_1145(class_270$class_271 arg0)
setCollisionRule(AbstractTeam$CollisionRule collisionRule)
public int
m()
packOptions()
method_1147()
getFriendlyFlagsBitwise()
public void
a(int arg0)
unpackOptions(int arg0)
method_1146(int arg0)
setFriendlyFlagsBitwise(int flags)
public void
a(n arg0)
setColor(ChatFormatting arg0)
method_1141(class_124 arg0)
setColor(Formatting color)
public ChatFormatting
n()
getColor()
method_1202()
getColor()