Package net.minecraft.world.scores
Class Score
java.lang.Object
net.minecraft.world.scores.Score
- All Implemented Interfaces:
- ReadOnlyScoreInfo
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondisplay()voidbooleanisLocked()voidnumberFormat(NumberFormat p_313931_) static Scoreread(CompoundTag p_313855_) voidsetLocked(boolean p_83399_) intvalue()voidvalue(int p_313791_) write()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.scores.ReadOnlyScoreInfoformatValue
- 
Field Details- 
TAG_SCORE- See Also:
 
- 
TAG_LOCKED- See Also:
 
- 
TAG_DISPLAY- See Also:
 
- 
TAG_FORMAT- See Also:
 
- 
valueprivate int value
- 
lockedprivate boolean locked
- 
display
- 
numberFormat
 
- 
- 
Constructor Details- 
Scorepublic Score()
 
- 
- 
Method Details- 
valuepublic int value()- Specified by:
- valuein interface- ReadOnlyScoreInfo
 
- 
valuepublic void value(int p_313791_) 
- 
isLockedpublic boolean isLocked()- Specified by:
- isLockedin interface- ReadOnlyScoreInfo
 
- 
setLockedpublic void setLocked(boolean p_83399_) 
- 
display
- 
display
- 
numberFormat- Specified by:
- numberFormatin interface- ReadOnlyScoreInfo
 
- 
numberFormat
- 
write
- 
read
 
-