net.minecraft.world.scores

public class Score

implements ReadOnlyScoreInfo

fge
net.minecraft.world.scores.Score
net.minecraft.class_267
net.minecraft.scoreboard.ScoreboardScore

Field summary

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

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()
public void
a(int arg0)
value(int arg0)
method_55401(int arg0)
setScore(int score)
public boolean
b()
isLocked()
method_1131()
isLocked()
public void
a(boolean arg0)
setLocked(boolean arg0)
method_1125(boolean arg0)
setLocked(boolean locked)
public Component
d()
display()
method_55407()
getDisplayText()
public void
a(wy arg0)
display(Component arg0)
method_55405(class_2561 arg0)
setDisplayText(Text text)
public NumberFormat
c()
numberFormat()
method_55400()
getNumberFormat()
public void
b(yo arg0)
numberFormat(NumberFormat arg0)
method_55406(class_9022 arg0)
setNumberFormat(NumberFormat numberFormat)