0x10 S10PacketSpawnPainting
Spawns a painting entity with type, position, and facing direction.
Published 2026-06-18 · Updated 2026-10-14
Fields
| Field | Type | Description |
|---|---|---|
| entityId | VarInt | Entity ID |
| title | String | Painting art name |
| pos | BlockPos | Painting anchor position |
| direction | byte | 0=south, 1=west, 2=north, 3=east |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Entity ID | VarInt | |
| Title | String | Art name ("Kebab", "Alban", etc.) |
| Position | BlockPos (long) | |
| Direction | byte | 0-3 |
MCP References
NetHandlerPlayClient.handleSpawnPainting()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 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
Deobfuscated MCP 1.8.9 source of S10PacketSpawnPainting, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S10PacketSpawnPainting.java) at build time and verified present.
Deep Dive
Role in the protocol
The spawn packet for painting entities, and the only spawn packet that identifies its entity by a String art title instead of a numeric type code. The payload is entity id, the art name (Kebab, Alban, Aztec and friends), a BlockPos anchor and a direction byte (0=south, 1=west, 2=north, 3=east). EntityTrackerEntry.getPacket emits it for EntityPainting, and the client resolves the title through the EnumArt table, which fixes the artwork's pixel dimensions and therefore how much wall space the painting occupies.
Vanilla handling
handleSpawnPainting reads the title, position and direction, then constructs an EntityPainting at the anchor block with the facing applied. The client-side placement uses the EnumArt dimensions to compute the entity's bounding box against the wall; a title that does not map to a known art falls back to the default 16x16 Kebab art. Server side the packet is produced straight from the tracked EntityPainting.
Why clients touch it
None of the 8 reference clients reference S10 outside the bundled vanilla files and Rise 6.1.30/6.2.4 NetworkAPI.java, which lists the class in the scripting registry. This is the honest, expected outcome: paintings are stationary cosmetic entities with no combat value, ESP implementations filter them from entity lists, and KillAura never targets them. In this corpus the packet is pure vanilla.
Exploit surface
Minimal. The art-title String is a lookup key into a fixed EnumArt table, so a bogus title degrades to default art rather than crashing. The direction byte is used as an index into a facing array and is not range-checked by the vanilla handler, the only hardening gap of note. Realistically there is nothing here for either cheats or anti-cheats; the packet matters only for protocol completeness and for proxies that must re-serialize it verbatim.
Server-Side Handling
EntityTrackerEntry.getPacket returns new S10PacketSpawnPainting((EntityPainting) trackedEntity) when the tracked entity is a painting; the constructor snapshots the art title from the EntityPainting's EnumArt, the block position and the facing direction. The client handler creates the entity and places it against the wall using the EnumArt dimensions.
Protocol Analysis
VarInt entity id, then a length-prefixed String art title, then a BlockPos packed as a single long, then a direction byte. Direction semantics are reversed from the visual: 0 faces south, 1 west, 2 north, 3 east. The title string is not validated against EnumArt by the handler, so unknown art names silently fall back to the default painting.
Anti-Cheat Landscape
Nothing to flag: the packet is clientbound, cosmetic and server-authored. Anti-cheats and anti-exploit plugins ignore paintings entirely, and no reference client touches the packet. The only mitigation in the wider ecosystem is the generic entity-spawn rate cap that also covers painting floods used as a minor lag vector.
implementation Implementation Cases
The spawn packet for paintings, identified by art title rather than type code. Zero module hits across the 8 clients: the only non-vanilla reference is Rise's NetworkAPI script registry. Documented honestly as a pure-vanilla packet whose only notable detail is the EnumArt dimension lookup and the unvalidated direction byte.
anticheat Anti-Cheat Checks
The painting spawn packet has zero hits in the 50-anticheat corpus. Paintings are cosmetic stationary entities; the packet carries an art title, a BlockPos and a direction byte, and no anticheat references it. The only hardening gap of note, the unvalidated direction byte, is an exploit-surface footnote, not a detection surface.
Related Packets
Wiki Cross-Reference
VarInt entityId, art-title string (Kebab, Alban, etc.), anchor BlockPos as long, direction byte 0 south 1 west 2 north 3 east.
Client resolves size from the EnumArt table; unknown titles fall back to default art instead of crashing.
MCP 1.8.9 S10PacketSpawnPainting implements Packet
1.8.9 callers: EntityTrackerEntry.? sends new S10PacketSpawnPainting (line 603): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/entity/EntityTrackerEntry.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.