0x0D S0DPacketCollectItem
Shows an item being collected (picked up) by a player entity. Plays the pickup animation.
Published 2026-06-18 · Updated 2026-10-14
Fields
| Field | Type | Description |
|---|---|---|
| itemEntityId | VarInt | The item entity being collected |
| collectorEntityId | VarInt | The player collecting the item |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Collector ID | VarInt | Item entity ID |
| Collecting Player ID | VarInt | Player entity ID |
MCP References
NetHandlerPlayClient.handleCollectItem()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 | |
Deobfuscated MCP 1.8.9 source of S0DPacketCollectItem, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S0DPacketCollectItem.java) at build time and verified present.
Deep Dive
Role in the protocol
S0D plays the item pickup animation: a VarInt item-entity id and a VarInt collector-entity id. The server emits it from EntityLivingBase.onCollideWithPlayer, which sends up to three tracking broadcasts per pickup depending on the item-count branch. The client spawns the collect particles, plays the sound and removes the item entity. It is a pure presentation packet.
Vanilla handling
NetHandlerPlayClient.handleCollectItem removes the item entity by id, spawns the pickup particles and plays the collect sound. Nothing on the client validates the collector id; the animation is cosmetic. The server side is equally dumb: three sendToAllTrackingEntity calls in onCollideWithPlayer with no rate limiting.
Why clients touch it
Almost nobody. The single functional hit is Rise 6.x AdaptiveRefreshRateComponent, which uses S0D as a cheap game-activity signal: an item pickup forces the HUD cache dirty for 5 ticks so the adaptive refresh rate does not sleep through pickups. Everything else in the corpus is vanilla. The ItemESP and ItemStealer families that one might expect to care about pickups do not hook S0D in these clients: they track item entities directly on the entity list.
Exploit surface
None. S0D carries two entity ids and drives only particles and a despawn. There is no state, no timing heuristic and no anti-cheat that measures pickups, so modules have nothing to cancel, spoof or time. The honest assessment is that S0D is the least interesting packet in this range: its only corpus use is a HUD perf component treating it as an activity tick.
Server-Side Handling
EntityLivingBase.onCollideWithPlayer sends S0D through the entity tracker in three branches covering the pickup conditions, each a sendToAllTrackingEntity with the item entity id and the collector's own id. No server-side rate limit or validation exists.
Protocol Analysis
Two VarInts: collected item entity id first, collector player id second (the vanilla constructor takes (collectedItemEntityId, entityId)). Clientbound in PLAY state. The collector id is not required to be the local player, which is why the packet also animates other players' pickups.
Anti-Cheat Landscape
Nothing to flag. No anti-cheat measures item pickups, and the packet carries no position or timing data. The only ecosystem interaction is visual: a client that suppresses S0D would still receive the items in inventory, so even packet-cancelling modules would gain nothing.
implementation Implementation Cases
The pickup animation packet: item entity id plus collector id, driving particles, sound and a despawn. Module interest is essentially zero: the only functional use in the whole corpus is Rise's AdaptiveRefreshRateComponent, which treats S0D as a game-activity signal to keep the HUD refresh awake.
Keep the HUD refresh awake around pickups: an S0D forces the HUD cache dirty for 5 ticks so the adaptive refresh does not sleep through game activity.
On PacketReceiveEvent, S0D sets disabledFor = 5, which disables the adaptive refresh for that many ticks in PreMotionEvent; S02 chat, S30 window items and S2F slot updates drive the same dirty path. The component runs at component level in the HUD module tree.
// ===== FILE: Rise 6.1.30, com/alan/clients/component/impl/hud/AdaptiveRefreshRateComponent.java =====
package com.alan.clients.component.impl.hud;
import com.alan.clients.component.Component;
import com.alan.clients.event.Listener;
import com.alan.clients.event.annotations.EventLink;
import com.alan.clients.event.impl.motion.PreMotionEvent;
import com.alan.clients.event.impl.packet.PacketReceiveEvent;
import com.alan.clients.event.impl.render.Render2DEvent;
import com.alan.clients.ui.ingame.GuiIngameCache;
import net.minecraft.network.Packet;
import net.minecraft.network.play.server.S02PacketChat;
import net.minecraft.network.play.server.S0DPacketCollectItem;
import net.minecraft.network.play.server.S2FPacketSetSlot;
import net.minecraft.network.play.server.S30PacketWindowItems;
import rip.vantage.commons.util.time.StopWatch;
public class AdaptiveRefreshRateComponent extends Component {
private boolean playerList, debugInfo;
private boolean setDirty;
private int disabledFor;
private float health;
public final StopWatch stopWatch = new StopWatch();
@EventLink
public final Listener<PreMotionEvent> onPreMotionEvent = event -> {
if (mc.thePlayer.ticksExisted % 100 == 0 || setDirty ||
mc.gameSettings.keyBindPlayerList.isKeyDown() != playerList || mc.gameSettings.showDebugInfo != debugInfo ||
mc.thePlayer.ticksExisted <= 10 || disabledFor > 0) {
GuiIngameCache.dirty = true;
playerList = mc.gameSettings.keyBindPlayerList.isKeyDown();
debugInfo = mc.gameSettings.showDebugInfo;
setDirty = false;
}
if (health != mc.thePlayer.getHealth()) {
disabledFor = 3;
health = mc.thePlayer.getHealth();
}
disabledFor--;
};
@EventLink
public final Listener<Render2DEvent> onRender2D = event -> {
if (mc.currentScreen != null) {
setDirty = true;
GuiIngameCache.dirty = true;
}
};
@EventLink
public final Listener<PacketReceiveEvent> onPacketReceiveEvent = event -> {
Packet packet = event.getPacket();
if (packet instanceof S02PacketChat || packet instanceof S30PacketWindowItems || packet instanceof S2FPacketSetSlot) {
stopWatch.reset();
setDirty = true;
}
if (packet instanceof S0DPacketCollectItem) {
disabledFor = 5;
}
};
}
// NOTE (AI): A HUD performance component, not a cheat module. S0D is used as a cheap game-activity signal: when an item is collected, the HUD cache is forced dirty for 5 ticks so the adaptive refresh does not sleep through pickups. Chat, window items, slot updates and health changes drive the same dirty path. This is the only functional use of S0D in the entire 8-client corpus; every other reference is vanilla.anticheat Anti-Cheat Checks
The collect-item packet has zero hits in the 50-anticheat corpus. It carries two entity ids and drives only a particle burst, a sound and a despawn; there is nothing to measure and nothing to flag. The honest summary is that no anticheat references S0D, matching its role as pure presentation.
Related Packets
Wiki Cross-Reference
The packet only plays the pickup animation flying the item toward the collector and does not destroy the entity in client memory or add it to the inventory, so a destroy packet handles removal.
The collector and collected entities can be any entity, though the vanilla server only uses it for items, experience orbs and projectiles such as arrows.
MCP 1.8.9 S0DPacketCollectItem implements Packet
1.8.9 callers: EntityLivingBase.onItemPickup sends new S0DPacketCollectItem (line 2137): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/entity/EntityLivingBase.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.