net.minecraft.world.scores

public class PlayerTeam

extends Team

eyb
net.minecraft.world.scores.PlayerTeam
net.minecraft.class_268
net.minecraft.scoreboard.Team
net.minecraft.src.C_3074_
net.minecraft.world.scores.ScoreboardTeam

Field summary

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

Constructor summary

ModifierConstructor
public (Scoreboard scoreboard, String name)

Method summary

Modifier and TypeMethod
public Scoreboard
a()
getScoreboard()
method_35594()
getScoreboard()
m_166086_()
public String
b()
getName()
method_1197()
getName()
m_5758_()
public Component
c()
getDisplayName()
method_1140()
getDisplayName()
m_83364_()
public MutableComponent
d()
getFormattedDisplayName()
method_1148()
getFormattedName()
m_83367_()
public void
a(wz arg0)
setDisplayName(Component arg0)
method_1137(class_2561 arg0)
setDisplayName(Text displayName)
m_83353_(C_4996_ arg0)
public void
b(wz arg0)
setPlayerPrefix(Component arg0)
method_1138(class_2561 arg0)
setPrefix(Text prefix)
m_83360_(C_4996_ arg0)
public Component
e()
getPlayerPrefix()
method_1144()
getPrefix()
m_83370_()
public void
c(wz arg0)
setPlayerSuffix(Component arg0)
method_1139(class_2561 arg0)
setSuffix(Text suffix)
m_83365_(C_4996_ arg0)
public Component
f()
getPlayerSuffix()
method_1136()
getSuffix()
m_83371_()
public Collection<String>
g()
getPlayers()
method_1204()
getPlayerList()
m_6809_()
public MutableComponent
d(wz arg0)
getFormattedName(Component arg0)
method_1198(class_2561 arg0)
decorateName(Text arg0)
m_6870_(C_4996_ arg0)
public static MutableComponent
a(eyi arg0, wz arg1)
formatNameForTeam(Team arg0, Component arg1)
method_1142(class_270 arg0, class_2561 arg1)
decorateName(AbstractTeam team, Text name)
m_83348_(C_3078_ p_83349_, C_4996_ p_83350_)
public boolean
h()
isAllowFriendlyFire()
method_1205()
isFriendlyFireAllowed()
m_6260_()
public void
a(boolean arg0)
setAllowFriendlyFire(boolean arg0)
method_1135(boolean arg0)
setFriendlyFireAllowed(boolean friendlyFire)
m_83355_(boolean arg0)
public boolean
i()
canSeeFriendlyInvisibles()
method_1199()
shouldShowFriendlyInvisibles()
m_6259_()
public void
b(boolean arg0)
setSeeFriendlyInvisibles(boolean arg0)
method_1143(boolean arg0)
setShowFriendlyInvisibles(boolean showFriendlyInvisible)
m_83362_(boolean arg0)
public Team$Visibility
j()
getNameTagVisibility()
method_1201()
getNameTagVisibilityRule()
m_7470_()
public Team$Visibility
k()
getDeathMessageVisibility()
method_1200()
getDeathMessageVisibilityRule()
m_7468_()
public void
a(eyi$b arg0)
setNameTagVisibility(Team$Visibility arg0)
method_1149(class_270$class_272 arg0)
setNameTagVisibilityRule(AbstractTeam$VisibilityRule nameTagVisibilityRule)
m_83346_(C_3078_$C_3080_ arg0)
public void
b(eyi$b arg0)
setDeathMessageVisibility(Team$Visibility arg0)
method_1133(class_270$class_272 arg0)
setDeathMessageVisibilityRule(AbstractTeam$VisibilityRule deathMessageVisibilityRule)
m_83358_(C_3078_$C_3080_ arg0)
public Team$CollisionRule
l()
getCollisionRule()
method_1203()
getCollisionRule()
m_7156_()
public void
a(eyi$a arg0)
setCollisionRule(Team$CollisionRule arg0)
method_1145(class_270$class_271 arg0)
setCollisionRule(AbstractTeam$CollisionRule collisionRule)
m_83344_(C_3078_$C_3079_ arg0)
public int
m()
packOptions()
method_1147()
getFriendlyFlagsBitwise()
m_83378_()
public void
a(int arg0)
unpackOptions(int arg0)
method_1146(int arg0)
setFriendlyFlagsBitwise(int flags)
m_83342_(int arg0)
public void
a(n arg0)
setColor(ChatFormatting arg0)
method_1141(class_124 arg0)
setColor(Formatting color)
m_83351_(C_4856_ arg0)
public ChatFormatting
n()
getColor()
method_1202()
getColor()
m_7414_()