> For the complete documentation index, see [llms.txt](https://voxel-inc.gitbook.io/voxel-inc-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://voxel-inc.gitbook.io/voxel-inc-docs/mechanics/affected-entities.md).

# ↳ Affected entities

Having the possibility to choose between who's going to be affected from the kill effect is a fundamental aspect of its properties, which include mobs, players, both.

<figure><img src="https://2175010478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglWNFDJNGZfCxpNMetLw%2Fuploads%2Fhna88eahKantzVXoxa2s%2FAffected.png?alt=media&amp;token=76aec8ee-15b5-4e2c-aa71-c6a2d85a12e0" alt="" width="128"><figcaption></figcaption></figure>

### About the feature

The "Affected Entities" icon, which is <mark style="background-color:yellow;">inside the creation menu</mark>, defines what **kind** of entities will be able to **trigger** the kill effect you're creating.

<figure><img src="https://2175010478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglWNFDJNGZfCxpNMetLw%2Fuploads%2FsAwbGqGvC9R40fZzQf9D%2FAE-P.png?alt=media&amp;token=599cba10-e25e-4a70-ab95-d5d7eda64ee3" alt="" width="375"><figcaption></figcaption></figure>

The value can either be: **Players Only** (default), **Mobs Only** or **Players & Mobs**.

{% hint style="warning" %}
When set to **Players & Mobs** / **Mobs Only**, effects triggered by mobs will activate **only** the Kill Effect Style
{% endhint %}

{% stepper %}
{% step %}

### Players Only

Triggers the effect along with <mark style="background-color:yellow;">related actions</mark> (commands, messages, sounds) when a player is killed.
{% endstep %}

{% step %}

### Mobs Only

Triggers **only** the <mark style="background-color:yellow;">aesthetics</mark> style of the effect when a mob is killed.
{% endstep %}

{% step %}

### Players & Mobs

Depending on the <mark style="background-color:yellow;">victim</mark>, the effect gets triggered following **one** of the cases above.
{% endstep %}
{% endstepper %}

{% hint style="danger" %}
When set to **Players & Mobs** / **Mobs Only**, the following kill effect styles won't work if triggered on mobs:

* **Flying Puppy**
* **Rockethead**
* **Dracula**
* **Humiliation**
* **Rotting Corpse**
  {% endhint %}

***

### Selecting specific mobs

<figure><img src="https://2175010478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglWNFDJNGZfCxpNMetLw%2Fuploads%2FdJXMBGN7LuGOcN2O3QTw%2FSelectMobsPR.gif?alt=media&amp;token=1154d555-c652-44dd-989c-ce36001890f8" alt="" width="563"><figcaption></figcaption></figure>

While creating (or editing) a kill effect you're able to select **which** mobs can trigger it. Inside this menu you can choose between <mark style="background-color:yellow;">passive</mark> / <mark style="background-color:yellow;">hostile</mark> / <mark style="background-color:yellow;">all</mark> mobs or insert **specific** entities via chat.

{% hint style="info" %}
To open the menu, you must activate either Mobs Only or Players & Mobs under the "Affected Entities"
{% endhint %}

***
