0x36 S36PacketSignEditorOpen

Opens the sign editor GUI for a specific sign position.

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S36PacketSignEditorOpen.java

Published 2026-06-18 · Updated 2026-10-14

blocksigngui
Complete 6/8

Fields

FieldTypeDescription
posBlockPosSign position

Wire Encoding

FieldTypeNotes
PositionBlockPos (long)

MCP References

MCPNetHandlerPlayClient.handleSignEditorOpen()

Handler Interface

HNDINetHandlerPlayClient

Vanilla Source

S36PacketSignEditorOpen.java50 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.server;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.play.INetHandlerPlayClient;
7
import net.minecraft.util.BlockPos;
8
9
public class S36PacketSignEditorOpen implements Packet<INetHandlerPlayClient>
10
{
11
    private BlockPos signPosition;
12
13
    public S36PacketSignEditorOpen()
14
    {
15
    }
16
17
    public S36PacketSignEditorOpen(BlockPos signPositionIn)
18
    {
19
        this.signPosition = signPositionIn;
20
    }
21
22
    /**
23
     * Passes this Packet on to the NetHandler for processing.
24
     */
25
    public void processPacket(INetHandlerPlayClient handler)
26
    {
27
        handler.handleSignEditorOpen(this);
28
    }
29
30
    /**
31
     * Reads the raw packet data from the data stream.
32
     */
33
    public void readPacketData(PacketBuffer buf) throws IOException
34
    {
35
        this.signPosition = buf.readBlockPos();
36
    }
37
38
    /**
39
     * Writes the raw packet data to the data stream.
40
     */
41
    public void writePacketData(PacketBuffer buf) throws IOException
42
    {
43
        buf.writeBlockPos(this.signPosition);
44
    }
45
46
    public BlockPos getSignPosition()
47
    {
48
        return this.signPosition;
49
    }
50
}

Deobfuscated MCP 1.8.9 source of S36PacketSignEditorOpen, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S36PacketSignEditorOpen.java) at build time and verified present.

Deep Dive

Role in the protocol

One field, one purpose: the BlockPos of a sign the player may edit. The server sends it when the player right-clicks an edit-eligible sign (EntityPlayerMP.openEditSign), and the client opens GuiEditSign over that position. It is the request half of the sign edit flow; the committed text returns as C12PacketUpdateSign. It is the only play-state packet that forces a GUI open purely from coordinates, which makes it the canonical trigger point for sign automation.

Vanilla handling

handleSignEditorOpen dispatches on the main thread, reads the tile entity at the position, and if it is not a TileEntitySign it fabricates one, attaches the world and position, then calls thePlayer.openEditSign. Because the handler constructs the tile entity, the packet works even when the sign block is not client-loaded, a quirk automation could lean on. Server side the producer is EntityPlayerMP.openEditSign, which sends S36 built from the sign's position.

Why clients touch it

Zero module hits across all 8 clients. The mined grep returns only the vanilla handler, the EntityPlayerMP producer, the EnumConnectionState registration and the packet class, plus Rise 6.x script API registration. Auto-sign modules that auto-fill shop or claim signs would hook exactly this packet and answer with C12PacketUpdateSign, but none exists in Memeware, Nekoware, Rise, Sigma, Spicy or Tenacity. The metadata draft for an AutoSign module has no corpus backing and is omitted.

Exploit surface

The packet is clientbound and only changes GUI state, so there is no exploit surface worth the name. A server can spam it to force the editor open, which is an annoyance rather than an exploit; the client honors it only while in game. Nothing validates, rate-limits or acknowledges it, and no anti-cheat measures it. The practical module use is benign: observing when the server grants edit rights, then answering with a pre-filled C12.

Server-Side Handling

EntityPlayerMP.openEditSign sends it with no validation beyond the right-click interaction; the server never tracks whether the client opened the editor. The sign text is only committed when C12PacketUpdateSign arrives, so S36 is a prompt rather than a lock: the server cannot tell an auto-filled response from a typed one.

Protocol Analysis

A single BlockPos encoded as the 1.8.9 packed long. PLAY state only. The packet implies a stateful client transition (GUI open) but carries no transaction id, so duplicates or reordered packets simply reopen the editor. This is also why modules cannot correlate a specific S36 with a specific C12 without tracking the position themselves.

Anti-Cheat Landscape

Irrelevant to anti-cheats: no movement, timing or combat signal. Servers that police auto sign filling do it by pattern-matching C12PacketUpdateSign text and measuring the latency between open and commit against human behavior. No module in the corpus exists to trigger such heuristics anyway.

implementation Implementation Cases

The sign edit prompt: one BlockPos that makes the client open GuiEditSign. It is the request half of the sign flow, with the text committed separately via C12PacketUpdateSign. No module in the 8-client corpus hooks it, so the impl is a vanilla-only story about a GUI state transition with no exploit surface.

The natural hook surface is PacketReceiveEvent, but no module in the 8-client corpus registers one for S36; Rise 6.x only adds the class to its script NetworkAPI whitelist.
All 8 clients carry the byte-identical vanilla handler; the only non-vanilla reference anywhere in the corpus is the Rise 6.x script API registration.

anticheat Anti-Cheat Checks

The sign editor open packet has an empty corpus: the sweep for S36PacketSignEditorOpen and PacketPlayOutSignEditorOpen returns zero hits across all 50 anticheats. The packet only flips GUI state, so anticheats police sign interaction on the commit side instead. NCP's AutoSign times the gap between the server granting edit rights and the C12PacketUpdateSign commit, and Intave's ItemCrashTracker.checkSign validates the returned sign lines; the open prompt itself carries no abuse signal and nothing in the corpus reads it.

Wiki Cross-Reference

Single BlockPos of a sign the player may edit. Client opens the GuiEditSign editor over that position.

Prompt only: text is committed separately via serverbound C12 UpdateSign, so the server cannot tell typed text from auto-filled.

MCP 1.8.9 S36PacketSignEditorOpen implements Packet dispatching to INetHandlerPlayClient.handleSignEditorOpen; wire serde is readPacketData/writePacketData via readBlockPos.

1.8.9 callers: EntityPlayerMP.openEditSign sends new S36PacketSignEditorOpen (line 744): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/entity/player/EntityPlayerMP.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.