net.minecraft.world.scores

public class Score

implements ReadOnlyScoreInfo

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

Field summary

Modifier and TypeField
private static final String
a
TAG_SCORE
field_47530
SCORE_NBT_KEY
private static final String
b
TAG_LOCKED
field_47531
LOCKED_NBT_KEY
private static final String
c
TAG_DISPLAY
field_47532
DISPLAY_NBT_KEY
private static final String
d
TAG_FORMAT
field_47533
FORMAT_NBT_KEY
private int
e
value
field_47534
score
private boolean
f
locked
field_1411
locked
private Component
g
display
field_47535
displayText
private NumberFormat
h
numberFormat
field_47536
numberFormat

Constructor summary

ModifierConstructor
public ()

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(wp arg0)
display(Component arg0)
method_55405(class_2561 arg0)
setDisplayText(Text text)
public NumberFormat
c()
numberFormat()
method_55400()
getNumberFormat()
public void
b(yf arg0)
numberFormat(NumberFormat arg0)
method_55406(class_9022 arg0)
setNumberFormat(NumberFormat numberFormat)
public CompoundTag
a(jt$a arg0)
write(HolderLookup$Provider arg0)
method_55408(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
public static Score
a(tq arg0, jt$a arg1)
read(CompoundTag arg0, HolderLookup$Provider arg1)
method_55403(class_2487 arg0, class_7225$class_7874 arg1)
fromNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)