net.minecraft.world.scores

public class Score

implements ReadOnlyScoreInfo

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

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(wz 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(yp arg0)
numberFormat(NumberFormat arg0)
method_55406(class_9022 arg0)
setNumberFormat(NumberFormat numberFormat)
m_306820_(C_302080_ arg0)
public CompoundTag
a(jo$a arg0)
write(HolderLookup$Provider arg0)
method_55408(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
m_305101_(C_213466_$C_254607_ arg0)
public static Score
a(ub arg0, jo$a arg1)
read(CompoundTag arg0, HolderLookup$Provider arg1)
method_55403(class_2487 arg0, class_7225$class_7874 arg1)
fromNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
m_306631_(C_4917_ p_313199_, C_213466_$C_254607_ p_329343_)