net.minecraft.world.scores

public class Objective

exy
net.minecraft.world.scores.Objective
net.minecraft.class_266
net.minecraft.scoreboard.ScoreboardObjective
net.minecraft.src.C_3073_
net.minecraft.world.scores.ScoreboardObjective

Field summary

Modifier and TypeField
private final Scoreboard
a
scoreboard
field_1404
scoreboard
f_83301_
private final String
b
name
field_1405
name
f_83302_
private final ObjectiveCriteria
c
criteria
field_1406
criterion
f_83303_
private Component
d
displayName
field_1402
displayName
f_83304_
private Component
e
formattedDisplayName
field_24194
bracketedDisplayName
f_83305_
private ObjectiveCriteria$RenderType
f
renderType
field_1403
renderType
f_83306_
private boolean
g
displayAutoUpdate
field_47527
displayAutoUpdate
f_302739_
private NumberFormat
h
numberFormat
field_47528
numberFormat
f_302905_

Constructor summary

ModifierConstructor
public (Scoreboard scoreboard, String name, ObjectiveCriteria criterion, Component displayName, ObjectiveCriteria$RenderType renderType, boolean displayAutoUpdate, NumberFormat numberFormat)

Method summary

Modifier and TypeMethod
public Scoreboard
a()
getScoreboard()
method_1117()
getScoreboard()
m_83313_()
public String
b()
getName()
method_1113()
getName()
m_83320_()
public ObjectiveCriteria
c()
getCriteria()
method_1116()
getCriterion()
m_83321_()
public Component
d()
getDisplayName()
method_1114()
getDisplayName()
m_83322_()
public boolean
e()
displayAutoUpdate()
method_55383()
shouldDisplayAutoUpdate()
m_305930_()
public NumberFormat
f()
numberFormat()
method_55384()
getNumberFormat()
m_306659_()
public NumberFormat
a(yp arg0)
numberFormatOrDefault(NumberFormat arg0)
method_55380(class_9022 arg0)
getNumberFormatOr(NumberFormat format)
m_305063_(C_302080_ arg0)
private Component
i()
createFormattedDisplayName()
method_27441()
generateBracketedDisplayName()
m_83325_()
public Component
g()
getFormattedDisplayName()
method_1120()
toHoverableText()
m_83323_()
public void
a(wz arg0)
setDisplayName(Component arg0)
method_1121(class_2561 arg0)
setDisplayName(Text name)
m_83316_(C_4996_ arg0)
public ObjectiveCriteria$RenderType
h()
getRenderType()
method_1118()
getRenderType()
m_83324_()
public void
a(eyj$a arg0)
setRenderType(ObjectiveCriteria$RenderType arg0)
method_1115(class_274$class_275 arg0)
setRenderType(ScoreboardCriterion$RenderType renderType)
m_83314_(C_3081_$C_3082_ arg0)
public void
a(boolean arg0)
setDisplayAutoUpdate(boolean arg0)
method_55381(boolean arg0)
setDisplayAutoUpdate(boolean displayAutoUpdate)
m_307898_(boolean arg0)
public void
b(yp arg0)
setNumberFormat(NumberFormat arg0)
method_55382(class_9022 arg0)
setNumberFormat(NumberFormat numberFormat)
m_305060_(C_302080_ arg0)