0x3B S3BPacketScoreboardObjective
Creates or removes a scoreboard objective (the scoreboard itself, not individual scores).
Fields
| Field | Type | Description |
|---|---|---|
| name | String | Objective internal name |
| value | String | Objective display text (JSON, for create/update) |
| action | byte | 0=CREATE, 1=REMOVE, 2=UPDATE |
| type | String | integer or hearts (for create) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Objective Name | String | |
| Mode | byte | 0=create, 1=remove, 2=update |
| Objective Value | String | Display text (Chat Component) |
| Type | String | integer or hearts |
MCP References
MCP
NetHandlerPlayClient.handleScoreboardObjective()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
Scoreboard
(Gugustus)
Track scoreboard creation for HUD or cancel for clean display.
if (event.getPacket() instanceof S3BPacketScoreboardObjective) event.setCancelled(true);AntiScoreboard
(Gugustus)
Track scoreboard creation for HUD or cancel for clean display.
if (event.getPacket() instanceof S3BPacketScoreboardObjective) event.setCancelled(true);