> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nmentities.net/llms.txt
> Use this file to discover all available pages before exploring further.

# @self

> Targets the mob itself. The default targeter.

Targets the mob itself. This is the **default**: any effect line without a `@` targeter uses `@self`.

```yaml theme={null}
- lightning  #onDeath @self
- lightning  #onDeath          # identical, @self is implied
```

## When to use it

Use `@self` for anything that happens **to or at the mob**: visual effects at its position, self-heals, buffs, sounds coming from it, or its own death sequence.

```yaml theme={null}
toast_guardian:
  model: toast
  base: zombie
  effects:
  - particlering{particle=flame;radius=3;points=32} #onSpawn @self
  - heal{amount=5}                                  #onHurt  @self
  - fakeexplosion                                   #onDeath @self
```

## Writing it explicitly

Even though it's the default, writing `@self` explicitly is good practice on lines where the targeter matters, like damage or knockback. It makes the intent readable at a glance and avoids surprises when reordering lines later.
