Package org.geysermc.geyser.scoreboard
Class Score
java.lang.Object
org.geysermc.geyser.scoreboard.Score
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe data that is currently displayed to the Bedrock client.org.cloudburstmc.protocol.bedrock.data.ScoreInfoChanges that have been made since the last cached data.longgetId()getName()com.github.steveice10.mc.protocol.data.game.chat.numbers.NumberFormatintgetScore()getTeam()setDisplayName(net.kyori.adventure.text.Component displayName) setNumberFormat(com.github.steveice10.mc.protocol.data.game.chat.numbers.NumberFormat numberFormat) setScore(int score) setUpdateType(UpdateType updateType) booleanvoid
-
Constructor Details
-
Score
-
-
Method Details
-
getDisplayName
-
getScore
public int getScore() -
setScore
-
getTeam
-
setTeam
-
setDisplayName
-
getNumberFormat
public com.github.steveice10.mc.protocol.data.game.chat.numbers.NumberFormat getNumberFormat() -
setNumberFormat
public Score setNumberFormat(com.github.steveice10.mc.protocol.data.game.chat.numbers.NumberFormat numberFormat) -
getUpdateType
-
setUpdateType
-
shouldUpdate
public boolean shouldUpdate() -
update
-
getId
public long getId() -
getName
-
getCachedInfo
public org.cloudburstmc.protocol.bedrock.data.ScoreInfo getCachedInfo() -
getCurrentData
Changes that have been made since the last cached data. -
getCachedData
The data that is currently displayed to the Bedrock client.
-