|
Mechanic: Remove
|
|
|
|
================
|
|
================
|
|
|
|
|
|
|
|
## Description:
|
|
Removes the targeted entity from existence. Does not work on players.
|
|
Removes the targeted entity from existence. Does not work on players.
|
|
|
|
|
|
Examples
|
|
## Examples:
|
|
--------
|
|
|
|
|
|
|
|
This mob would despawn 10 seconds after spawning:
|
|
This mob would despawn 10 seconds after spawning:
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- remove{delay=200} @self ~onSpawn
|
|
- remove{delay=200} @self ~onSpawn
|
|
```
|
|
```
|
|
This skill despawns the mob immediately when it is right clicked.
|
|
This skill despawns the mob immediately when it is right clicked.
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- remove @self ~onInteract
|
|
- remove @self ~onInteract
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |