0x3D S3DPacketDisplayScoreboard
Sets which scoreboard objective is displayed in a position (sidebar, list, below name).
Published 2026-06-18 · Updated 2026-10-14
Fields
| Field | Type | Description |
|---|---|---|
| position | byte | 0=sidebar, 1=playerList, 2=belowName |
| objectiveName | String | Objective to display (empty string to clear) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Position | byte | 0=sidebar, 1=playerList, 2=belowName |
| Objective | String |
MCP References
NetHandlerPlayClient.handleDisplayScoreboard()Handler Interface
INetHandlerPlayClientVanilla Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
Deobfuscated MCP 1.8.9 source of S3DPacketDisplayScoreboard, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S3DPacketDisplayScoreboard.java) at build time and verified present.
Deep Dive
Role in the protocol
Binds an objective to a display slot: a position byte (0 sidebar, 1 player list, 2 below name) followed by the objective name string. An empty name clears the slot. The packet is tiny and is sent by ServerScoreboard whenever the display binding changes and during full replays on objective creation and removal. The HUD reads the bound objective each frame and renders its rows from the client scoreboard.
Vanilla handling
handleDisplayScoreboard sets or clears the objective in the given slot. The visible sidebar depends on the combination of S3B (objective definition), S3C (rows), and S3D (binding): S3D alone paints nothing, it only points the renderer at an objective.
Why clients touch it
Almost nothing across the 8 clients. Spicy's HideName imports the class (line 15) but its handler has no S3D branch, mirroring the dead S3B import. Rise 6.x registers the class in the script API. No module cancels the display binding; a cancel would freeze the previous objective in the slot, a HUD artifact none of the 8 clients bothers to produce.
Exploit surface
Nil for anti-cheat. The slot byte is not validated: values outside 0-2 are stored in the client's 19-entry slot array and render nowhere. Cancelling S3D only affects local rendering. The packet carries no timing or movement state, so no anti-cheat in the corpus measures it.
Server-Side Handling
ServerScoreboard sends S3D in setObjectiveInDisplaySlot (both the set and clear paths) and during full replays on objective creation and removal, with a null objective serialized as an empty name string. The server never reads the binding back from the client.
Protocol Analysis
Two fields: position byte then objective name string. An empty name clears the slot. The position byte indexes the client's 19-slot display array directly, so out-of-range values are stored but never rendered.
Anti-Cheat Landscape
Not monitored. S3D carries a slot index and a display string, no state an anti-cheat validates. Tampering is client-visual only.
implementation Implementation Cases
Display slot binding. In the 8-client corpus it is an import in Spicy's HideName and a script API entry in Rise 6.x; no module binds, clears, or blocks the slot.
Import-only reference. The module hides the player's username from rendered name surfaces, but this packet class is never branched on.
Imports S3DPacketDisplayScoreboard at the top of the file. The EventPacket pre handler only branches on S02PacketChat and S3CPacketUpdateScore; the S3D import is unused.
// ===== FILE: Spicy, info/spicyclient/modules/player/HideName.java =====
package info.spicyclient.modules.player;
import org.lwjgl.input.Keyboard;
import info.spicyclient.SpicyClient;
import info.spicyclient.events.Event;
import info.spicyclient.events.listeners.EventPacket;
import info.spicyclient.events.listeners.EventUpdate;
import info.spicyclient.modules.Module;
import info.spicyclient.settings.ModeSetting;
import info.spicyclient.settings.SettingChangeEvent;
import net.minecraft.network.play.server.S02PacketChat;
import net.minecraft.network.play.server.S3BPacketScoreboardObjective;
import net.minecraft.network.play.server.S3CPacketUpdateScore;
import net.minecraft.network.play.server.S3DPacketDisplayScoreboard;
import net.minecraft.util.ChatComponentText;
public class HideName extends Module {
public ModeSetting mode = new ModeSetting("Name", "You", "You", "MooshroomMashUp", "Fox_of_floof", "lavaflowglow", "_Floofy_Fox_");
public HideName() {
super("HideName", Keyboard.KEY_NONE, Category.PLAYER);
resetSettings();
}
@Override
public void resetSettings() {
this.settings.clear();
this.addSettings(mode);
}
@Override
public void onEvent(Event e) {
if (e instanceof EventUpdate && e.isPre()) {
this.additionalInformation = mode.getMode();
}
if (e instanceof EventPacket && e.isPre()) {
EventPacket packetEvent = (EventPacket) e;
if (packetEvent.packet instanceof S02PacketChat) {
S02PacketChat packet = (S02PacketChat) packetEvent.packet;
if (packet.getChatComponent().getUnformattedText().replaceAll("", "").contains(mc.getSession().getUsername())) {
packet.chatComponent = new ChatComponentText(packet.getChatComponent().getFormattedText().replaceAll("", "").replaceAll(mc.getSession().getUsername(), mode.getMode()));
}
}
else if (packetEvent.packet instanceof S3CPacketUpdateScore) {
S3CPacketUpdateScore packet = (S3CPacketUpdateScore) packetEvent.packet;
if (packet.getObjectiveName().replaceAll("", "").contains(mc.getSession().getUsername())){
packet.setObjective(packet.getObjectiveName().replaceAll("", "").replaceAll(mc.getSession().getUsername(), mode.getMode()));
}
if (packet.getName().replaceAll("", "").contains(mc.getSession().getUsername())){
packet.setName(packet.getName().replaceAll("", "").replaceAll(mc.getSession().getUsername(), mode.getMode()));
}
}
}
}
}
// NOTE (AI): The S3DPacketDisplayScoreboard import on line 15 is never referenced by the handler. The module's live logic is the S3CPacketUpdateScore branch on lines 52-63.Expose the packet class to Rise's JavaScript scripting API.
S3DPacketDisplayScoreboard is listed in the clientbound Class array of NetworkAPI.java (line 104).
// ===== FILE: Rise 6.1.30, com/alan/clients/script/api/NetworkAPI.java =====
package com.alan.clients.script.api;
import com.alan.clients.util.chat.ChatUtil;
import lombok.SneakyThrows;
import net.minecraft.network.EnumPacketDirection;
import net.minecraft.network.Packet;
import net.minecraft.network.play.INetHandlerPlayClient;
import net.minecraft.network.play.INetHandlerPlayServer;
import net.minecraft.network.play.client.*;
import net.minecraft.network.play.server.*;
import javax.script.ScriptException;
import java.util.Arrays;
public class NetworkAPI extends API {
public final static Class<Packet<INetHandlerPlayServer>>[] serverbound = new Class[]{
C00PacketKeepAlive.class,
C01PacketChatMessage.class,
C02PacketUseEntity.class,
C03PacketPlayer.class,
C03PacketPlayer.C04PacketPlayerPosition.class,
C03PacketPlayer.C05PacketPlayerLook.class,
C03PacketPlayer.C06PacketPlayerPosLook.class,
C07PacketPlayerDigging.class,
C08PacketPlayerBlockPlacement.class,
C09PacketHeldItemChange.class,
C0APacketAnimation.class,
C0BPacketEntityAction.class,
C0CPacketInput.class,
C0DPacketCloseWindow.class,
C0EPacketClickWindow.class,
C0FPacketConfirmTransaction.class,
C10PacketCreativeInventoryAction.class,
C11PacketEnchantItem.class,
C12PacketUpdateSign.class,
C13PacketPlayerAbilities.class,
C14PacketTabComplete.class,
C15PacketClientSettings.class,
C16PacketClientStatus.class,
C17PacketCustomPayload.class,
C18PacketSpectate.class,
C19PacketResourcePackStatus.class,
};
public final static Class<Packet<INetHandlerPlayClient>>[] clientbound = new Class[]{
S00PacketKeepAlive.class,
S01PacketJoinGame.class,
S02PacketChat.class,
S03PacketTimeUpdate.class,
S04PacketEntityEquipment.class,
S05PacketSpawnPosition.class,
S06PacketUpdateHealth.class,
S07PacketRespawn.class,
S08PacketPlayerPosLook.class,
S09PacketHeldItemChange.class,
S0APacketUseBed.class,
S0BPacketAnimation.class,
S0CPacketSpawnPlayer.class,
S0DPacketCollectItem.class,
S0EPacketSpawnObject.class,
S0FPacketSpawnMob.class,
S10PacketSpawnPainting.class,
S11PacketSpawnExperienceOrb.class,
S12PacketEntityVelocity.class,
S13PacketDestroyEntities.class,
S14PacketEntity.class,
S18PacketEntityTeleport.class,
S19PacketEntityHeadLook.class,
S19PacketEntityStatus.class,
S1BPacketEntityAttach.class,
S1CPacketEntityMetadata.class,
S1DPacketEntityEffect.class,
S1EPacketRemoveEntityEffect.class,
S1FPacketSetExperience.class,
S20PacketEntityProperties.class,
S21PacketChunkData.class,
S22PacketMultiBlockChange.class,
S23PacketBlockChange.class,
S24PacketBlockAction.class,
S25PacketBlockBreakAnim.class,
S26PacketMapChunkBulk.class,
S27PacketExplosion.class,
S28PacketEffect.class,
S29PacketSoundEffect.class,
S2APacketParticles.class,
S2BPacketChangeGameState.class,
S2CPacketSpawnGlobalEntity.class,
S2DPacketOpenWindow.class,
S2EPacketCloseWindow.class,
S2FPacketSetSlot.class,
S30PacketWindowItems.class,
S31PacketWindowProperty.class,
S32PacketConfirmTransaction.class,
S33PacketUpdateSign.class,
S34PacketMaps.class,
S35PacketUpdateTileEntity.class,
S36PacketSignEditorOpen.class,
S37PacketStatistics.class,
S38PacketPlayerListItem.class,
S39PacketPlayerAbilities.class,
S3APacketTabComplete.class,
S3BPacketScoreboardObjective.class,
S3CPacketUpdateScore.class,
S3DPacketDisplayScoreboard.class,
S3EPacketTeams.class,
S3FPacketCustomPayload.class,
S40PacketDisconnect.class,
S41PacketServerDifficulty.class,
S42PacketCombatEvent.class,
S43PacketCamera.class,
S44PacketWorldBorder.class,
S45PacketTitle.class,
S46PacketSetCompressionLevel.class,
S47PacketPlayerListHeaderFooter.class,
S48PacketResourcePackSend.class,
S49PacketUpdateEntityNBT.class
};
@SneakyThrows
private static Packet<?> instantiatePacket(final EnumPacketDirection direction, final int id, final Object... params) {
Packet<?> packet = null;
try {
if (direction == EnumPacketDirection.CLIENTBOUND) {
packet = (Packet<?>) Arrays.stream(clientbound[id].getConstructors()).filter(x -> x.getParameterCount() == params.length).findFirst().get().newInstance(params);
} else if (direction == EnumPacketDirection.SERVERBOUND) {
packet = (Packet<?>) Arrays.stream(serverbound[id].getConstructors()).filter(x -> x.getParameterCount() == params.length).findFirst().get().newInstance(params);
}
} catch (Exception ex) {
ChatUtil.display("Failed to instantiate packet!");
throw new ScriptException(ex);
}
return packet;
}
public void sendPacket(final int id, final Object... params) {
final Packet<?> packet = instantiatePacket(EnumPacketDirection.SERVERBOUND, id, params);
MC.getNetHandler().addToSendQueue(packet);
}
public void receivePacket(final int id, final Object... params) {
final Packet<?> packet = instantiatePacket(EnumPacketDirection.CLIENTBOUND, id, params);
MC.getNetHandler().addToReceiveQueue(packet);
}
public boolean isSingleplayer() {
return MC.isSingleplayer();
}
public boolean isMultiplayer() {
return !MC.isSingleplayer() && MC.getCurrentServerData() != null;
}
public String getServerIP() {
return MC.getCurrentServerData() != null
? MC.getCurrentServerData().serverIP
: null;
}
public String getServerName() {
return MC.getCurrentServerData() != null
? MC.getCurrentServerData().serverName
: null;
}
public String getServerMOTD() {
return MC.getCurrentServerData() != null
? MC.getCurrentServerData().serverMOTD
: null;
}
}
// NOTE (AI): The clientbound array lists S3DPacketDisplayScoreboard at line 104. Identical file ships in Rise 6.2.4 under Client-release2/Client/src/main/java.anticheat Anti-Cheat Checks
The display-scoreboard binding is invisible to the corpus. The only hit is Artemis HardcodeMap, which maps PacketPlayOutScoreboardDisplayObjective to the PacketPlayServerScoreboardObjectiveDisplay wrapper for the packet generator (line 59). Shard's monitor does emit and observe the display binding (WrapperPlayServerDisplayScoreboard in ScoreboardPacketBridge and ScoreboardSlotObserver), but those files were mined under the S3C corpus, so they cannot be attributed here. No anticheat validates the slot byte: the packet is client-rendering state with no timing or movement content and no serverbound counterpart.
Related Packets
Wiki Cross-Reference
Binds an objective name to a display slot: 0 list, 1 sidebar, 2 belowName. An empty name clears the slot.
Binding alone renders nothing; the header comes from S3B and the rows from S3C score packets.
MCP 1.8.9 S3DPacketDisplayScoreboard implements Packet
1.8.9 callers: ServerScoreboard.setObjectiveInDisplaySlot sends new S3DPacketDisplayScoreboard (line 65): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/scoreboard/ServerScoreboard.java
Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.
Vanilla Internals
Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.