← Type index

ChangePlayerScore

Object datagramWire order
0Actionstring · variable
1Scoreboard IdScoreboardId · variable
2Objective Namestring · variable
3Score Valueint32 · 4 bytes
4Player Unique IdPlayerScoreboardId · variable

Fields

5 top-level fields
  1. 0ActionScorePacketEntryActionas string
    1. "Remove"Remove
    2. "ChangePlayer"ChangePlayer
    3. "ChangeEntity"ChangeEntity
    4. "ChangeFakePlayer"ChangeFakePlayer
  2. 1Scoreboard IdScoreboard entry identifier this score belongs to.ScoreboardId
    1. 0Scoreboard IdCompressionvarint64
  3. 2Objective NameName of the objective whose score is being changed.string
  4. 3Score ValueThe new score value.int32
  5. 4Player Unique IdUnique ID of the player this score is for.PlayerScoreboardId
    1. 0Player Unique IdCompressionvarint64

Packet references

1 reference
  1. SetScorePacket
    Score Info › ChangePlayerScore › ChangePlayerScore

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.