Changes
Page history
added ClearTarget mechanic
authored
Oct 01, 2025
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/remove.md
0 → 100644
View page @
1f8283a3
## 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