Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Show whitespace changes
Inline
Side-by-side
skills/mechanics/remove.md
0 → 100644
View page @
38502e7a
## 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