0x13 S13PacketDestroyEntities
Removes one or more entities from the client's render list.
Fields
| Field | Type | Description |
|---|---|---|
| entityIDs | VarInt[] | Array of entity IDs to destroy |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Count | VarInt | Number of entities |
| Entity IDs | VarInt array | One VarInt per entity |
MCP References
MCP
NetHandlerPlayClient.handleDestroyEntities()Handler Interface
HND
INetHandlerPlayClientNotes
This is how entities are removed when they die, despawn, or players disconnect.
implementation Implementation Cases
ESP
(Tenacity 6.0, Sigma 3.9)
Remove destroyed entities from target/ESP lists.
if (event.getPacket() instanceof S13PacketDestroyEntities) {
S13PacketDestroyEntities s13 = (S13PacketDestroyEntities) event.getPacket();
for (int id : s13.getEntityIDs()) targetList.remove(id);
}TargetManager
(Tenacity 6.0, Sigma 3.9)
Remove destroyed entities from target/ESP lists.
if (event.getPacket() instanceof S13PacketDestroyEntities) {
S13PacketDestroyEntities s13 = (S13PacketDestroyEntities) event.getPacket();
for (int id : s13.getEntityIDs()) targetList.remove(id);
}KillAura
(Tenacity 6.0, Sigma 3.9)
Remove destroyed entities from target/ESP lists.
if (event.getPacket() instanceof S13PacketDestroyEntities) {
S13PacketDestroyEntities s13 = (S13PacketDestroyEntities) event.getPacket();
for (int id : s13.getEntityIDs()) targetList.remove(id);
}