> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/events/totempopevent.md).

# TotemPopEvent

Gets called when an entity uses up a totem of undying.

### Properties

#### entity

> `readonly` **entity**: [`Entity`](/newgen/api/net/minecraft/world/entity/entity.md)

The entity whose totem popped, or null if it is not loaded.

***

#### entityId

> `readonly` **entityId**: `number`

The id of the entity whose totem popped.
