|
|
|
## Description
|
|
|
|
Removes the targeted entity from existence. Does not work on players.
|
|
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| onRemoveSkill | onRemove, then | The Metaskill to execute once an entity is removed |<!--type:Metaskill-->|
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
This mob would despawn 10 seconds after spawning:
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- remove{delay=200} @self ~onSpawn
|
|
|
|
```
|
|
|
|
This skill despawns the mob immediately when it is right clicked.
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- remove @self ~onInteract
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] delete
|
|
|
|
|
|
|
|
|
|
|
|
<!--TAGS-->
|
|
|
|
<!--tag:Meta-->
|
|
|
|
<!--tag:Meta-Mechanic:Thenable--> |
|
|
\ No newline at end of file |