0x35 S35PacketUpdateTileEntity
Updates NBT data for a tile entity (sign, skull, beacon, command block, etc.).
Published 2026-06-18 · Updated 2026-10-14
Fields
| Field | Type | Description |
|---|---|---|
| pos | BlockPos | Tile entity position |
| action | byte | Update action type |
| nbtData | NBTTagCompound | Tile entity NBT data |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Position | BlockPos (long) | |
| Action | unsigned byte | 1=update sign, 2=update skull, 3=update beacon, 4=update skull+base, 7=update endGateway |
| NBT Data | NBT Tag |
MCP References
NetHandlerPlayClient.handleUpdateTileEntity()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 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
Deobfuscated MCP 1.8.9 source of S35PacketUpdateTileEntity, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S35PacketUpdateTileEntity.java) at build time and verified present.
Deep Dive
Role in the protocol
Server-pushed NBT updates for tile entities: a BlockPos, a one-byte action type, and an NBT tag. The action discriminates the tile entity class (1 mob spawner, 2 command block, 3 beacon, 4 skull, 5 flower pot, 6 banner), and the client applies the tag only when the loaded tile entity at that position matches the action. It is the per-block complement to the block change packets: S22 and S23 carry block ids and metadata, while S35 carries the full compound for the entity attached to a block. Sign line edits, skull owner changes, beacon effect retunes and spawner entity swaps all arrive here.
Vanilla handling
NetHandlerPlayClient.handleUpdateTileEntity dispatches on the main thread (PacketThreadUtil), checks isBlockLoaded(pos), fetches the tile entity, and calls readFromNBT only when the action matches the tile entity class; an unloaded position or a mismatched type is silently dropped, so a forged packet cannot create tile entities out of thin air. The producers are the tile entities themselves: TileEntityMobSpawner emits action 1, TileEntityCommandBlock 2, TileEntityBeacon 3, TileEntitySkull 4, TileEntityFlowerPot 5, TileEntityBanner 6.
Why clients touch it
In this corpus they do not. The mined grep across all 8 clients returns only the vanilla handler, the EnumConnectionState registration, the INetHandlerPlayClient declaration and the tile entity producers; the only non-vanilla hit is Rise 6.1.30 and 6.2.4 NetworkAPI.java registering S35PacketUpdateTileEntity.class for the script engine. There is no SignESP, chest tracker or beacon ESP module referencing S35 in Memeware, Nekoware, Rise, Sigma, Spicy or Tenacity. The metadata drafts for Tenacity 6.0 ChestESP and SpawnerFinder fail corpus verification and are deliberately not listed.
Exploit surface
Because the handler requires a loaded chunk and a matching tile entity class, the packet is a poor injection surface and no anti-cheat measures it. The realistic module use would be read-only: sniffing sign text players type, or tracking spawner and beacon changes for ESP. Their absence in these clients is a corpus fact rather than a protocol limitation; nothing about the wire format stops a client from observing the stream.
Server-Side Handling
The server never validates the payload beyond construction: each tile entity builds its own packet from its NBT via getUpdatePacket, and the server sends it to the relevant players. The readFromNBT gate on the client is the only enforcement point. The action byte is read as unsigned, so the vanilla set of 1-6 is a convention rather than a wire constraint; modded servers reuse the channel for custom tile entities.
Protocol Analysis
Wire layout: BlockPos (a packed long, x << 38 | z << 12 | y in the 1.8.9 encoding), an unsigned byte action, then a length-prefixed NBT compound. The NBT payload dominates the size: a banner pattern list or a long command block command can push the packet past the server compression threshold. Frequent beacon or spawner updates are a known bandwidth cost on chunk-heavy servers.
Anti-Cheat Landscape
No anti-cheat watches S35; it is server-trusted data flowing clientbound. The only abuse vector is a malicious server shipping crafted NBT to crash or lag clients, which is a server-side concern outside module scope. Clients gain nothing by spoofing it because the direction is clientbound and the handler discards mismatches, so the packet contributes nothing to detection or evasion.
implementation Implementation Cases
The tile entity state channel: the server pushes NBT diffs for signs, spawners, command blocks, beacons, skulls, flower pots and banners, and the client applies them only when the loaded tile entity matches the action byte. None of the 8 clients ships a module that reads or cancels this packet; the corpus holds only vanilla handler and producer hits plus Rise 6.x script API registration.
anticheat Anti-Cheat Checks
No anti-cheat consumes S35. Every corpus hit matches the TileEntity keyword rather than the packet: Grim's chunk readers and CompensatedWorld pass TileEntity arrays embedded in map-chunk data, NCP's BlockCache implementations call world.getTileEntity to read server-side block state, Kauri's BlockUpdateHandler forwards the same chunk-embedded array, Photon's WorldDownloaderSentinel writes a disable-tile-entity-saving option into the WorldDownloader channel, and intave's EntityTypeDataRegistry is a misnamed entity-type hitbox table. The only direct packet references are plumbing: Negativity's TILE_ENTITY_DATA constant, and Artemis' PacketRepository entry with the PacketPlayServerTileEntityData wrapper interface. Tile-entity policing runs on the commit side of sign edits instead: NCP AutoSign and Intave ItemCrashTracker.checkSign watch C12PacketUpdateSign, because S35 is server-trusted NBT the client applies only when the loaded tile entity matches the action byte.
Related Packets
Wiki Cross-Reference
BlockPos, unsigned-byte action, full NBT compound. 1.8.9 actions: 1 spawner, 2 command block, 3 beacon, 4 skull, 5 flower pot, 6 banner.
Client applies NBT only if a matching tile entity is loaded at the pos; mismatches and unloaded positions are silently dropped.
MCP 1.8.9 S35PacketUpdateTileEntity implements Packet
1.8.9 callers: TileEntityBanner.getDescriptionPacket sends new S35PacketUpdateTileEntity (line 98) +5 more: https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/tileentity/TileEntityBanner.java
Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.