Mechanic
remove
Removes the target entity from existence
Aliases
delete
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| onRemove then | Optional<Skill> | — | Skill to execute when the destination is reached |
Examples & Notes
Examples
This mob would despawn 10 seconds after spawning:
Skills:
- remove{delay=200} @self ~onSpawn
This skill despawns the mob immediately when it is right clicked.
Skills:
- remove @self ~onInteract
Universal Mechanic Options
Mentioned by
MechanicauraRemove
Removes an aura from the target.
MechanicauraRemoveTagged
Removes auras that have the given tag from the target.
MechanicbarRemove
Removes a custom bossbar display
Mechanicconsumeslotitem
Removes an amount of the target's item in a specified slot
MechaniccurrencyTake
Removes an amount of vault currency
Mechanicextinguish
Removes fire on the target entity
MechanicremoveHeldItem
Removes an amount of the target's held item
Mechanictagremove
Removes a scoreboard tag from the target entity
- Author:
- Ashijin
