net.minecraft.world.scores

public class Score

implements ReadOnlyScoreInfo

fhe
net.minecraft.world.scores.Score
net.minecraft.class_267
net.minecraft.scoreboard.ScoreboardScore
net.minecraft.src.C_3075_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<Score>
a
MAP_CODEC
field_56483
CODEC
f_380533_
private int
b
value
field_47534
score
f_303612_
private boolean
c
locked
field_1411
locked
f_83385_
private Component
d
display
field_47535
displayText
f_303295_
private NumberFormat
e
numberFormat
field_47536
numberFormat
f_303570_

Constructor summary

ModifierConstructor
public ()
private (int score, boolean locked, Optional<Component> displayText, Optional<NumberFormat> numberFormat)

Method summary

Modifier and TypeMethod
public int
a()
value()
method_55397()
getScore()
m_305685_()
public void
a(int arg0)
value(int arg0)
method_55401(int arg0)
setScore(int score)
m_307037_(int arg0)
public boolean
b()
isLocked()
method_1131()
isLocked()
m_83407_()
public void
a(boolean arg0)
setLocked(boolean arg0)
method_1125(boolean arg0)
setLocked(boolean locked)
m_83398_(boolean arg0)
public Component
d()
display()
method_55407()
getDisplayText()
m_307077_()
public void
a(xg arg0)
display(Component arg0)
method_55405(class_2561 arg0)
setDisplayText(Text text)
m_306495_(C_4996_ arg0)
public NumberFormat
c()
numberFormat()
method_55400()
getNumberFormat()
m_305750_()
public void
b(yw arg0)
numberFormat(NumberFormat arg0)
method_55406(class_9022 arg0)
setNumberFormat(NumberFormat numberFormat)
m_306820_(C_302080_ arg0)