---
title: Remove Mob Effect
description: "Play 0x4E, server → client."
---

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

Removes a status effect from an entity. The server sends it when the effect expires or is cleared. The client stops rendering the effect and, for the local player, removes it from the HUD.

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

## Fields

| Field | Type | Notes |
|---|---|---|
| `entityId` | VarInt |  |
| `effectId` | VarInt |  |

## Send it

```ts
await client.sendPacket("RemoveMobEffect", {
  entityId: /* VarInt */,
  effectId: /* VarInt */,
});
```

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

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