# Entity

Generates an entity that follows you, will give effects to players in a radius and will be eliminated after the specified time.

It can also be killed; the killer will execute the totem's effects and actions.

### Options

Options available for all entities

<table><thead><tr><th width="151" align="center">Option</th><th width="142.33333333333334" align="center">Value</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center">type</td><td align="center">String</td><td align="center">Entity Type</td></tr><tr><td align="center">name</td><td align="center">String</td><td align="center">Entity Name</td></tr><tr><td align="center">nameVisible</td><td align="center">Boolean</td><td align="center">Whether or not the name is visible</td></tr><tr><td align="center">ai</td><td align="center">Boolean</td><td align="center">If the entity has IA</td></tr><tr><td align="center">collidable</td><td align="center">Boolean</td><td align="center">If the entity has collision</td></tr><tr><td align="center">gravity</td><td align="center">Boolean</td><td align="center">If the entity has gravity</td></tr><tr><td align="center">invulnerable</td><td align="center">Boolean</td><td align="center">If the entity is invulnerable</td></tr><tr><td align="center">visible</td><td align="center">Boolean</td><td align="center">If the entity is visible</td></tr><tr><td align="center"><a href="entity/equipment">equipment</a></td><td align="center">Item</td><td align="center">Defines the player's equipment (Uses the same format as a totem item).</td></tr></tbody></table>

Armor stand options

<table><thead><tr><th width="147" align="center">Option</th><th width="150" align="center">Value</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center">arms</td><td align="center">Boolean</td><td align="center">If the armor stand has arms</td></tr><tr><td align="center">basePlate</td><td align="center">Boolean</td><td align="center">If the armor stand has baseplate</td></tr><tr><td align="center">small</td><td align="center">Boolean</td><td align="center">If the armor stand is small</td></tr><tr><td align="center">marker</td><td align="center">Boolean</td><td align="center">If the armor stand is a marker</td></tr><tr><td align="center">glow</td><td align="center">Boolean</td><td align="center">If the armor stand is glowing</td></tr><tr><td align="center"><a href="entity/pose">pose</a></td><td align="center">Vector</td><td align="center">Defines the armor stand pose</td></tr></tbody></table>

### Example

```yaml
ZombieTotem:
  name: "{#3A6E3B}Zombie Totem"
  types:
    type: "Entity"
    options:
      duration: 60
      radius: 15
      giveEffect: "self"
      executeActions: "self"
      executeScripts: "self"
      entity:
        type: ZOMBIE
        name: "{#3A6E3B}Zombie Totem"
        runOnKill: true
        nameVisible: true
        ai: true
        gravity: true
        invulnerable: false
        glow: true
  item:
    material: ZOMBIE_HEAD
    name: "{#3A6E3B}Zombie Totem"
    lore:
      - ""
      - "&7I'm a zombie now!"
      - ""
  options:
    health: 20.0
    isThrowable: true
    playAnimation: true
  conditions:
    chance:
      value: 100
    permission:
      value: "plutotems.use.zombietotem"
    kether:
      - "check player food level > 10"
  actions:
    - "title: {#3A6E3B}ZOMBIE | &7You have used the {#3A6E3B}Zombie Totem &7totem!"
    - "broadcast: &7{player} has used the {#3A6E3B}Zombie Totem &7totem!"
    - "sound: ENTITY_PLAYER_LEVELUP-1-1"
  effects:
    - 'SLOW:1:600'
```

{% embed url="https://youtu.be/ZNPZxJhcT5A" %}
