---
title: Remove Entities
description: "Play 0x4D, server → client."
---

`play` · `0x4D` · **clientbound** (server → client)

Tells the client to destroy the listed entities. The server sends it when entities die, unload, or leave the client's tracking range. The client removes them from the world.

Sent by the server, read by the client. Listen for it with `client.on("RemoveEntities", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `entityIds` | Array |  |

## Send it

```ts
await client.sendPacket("RemoveEntities", { entityIds: [100, 101] });
```

Removes the listed entities from the client. Unknown IDs are ignored. Pair with the IDs you passed to `AddEntity`.

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/RemoveEntities.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/RemoveEntities.ts)
