forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
EntombSpell
JasperLorelai edited this page Jan 10, 2024
·
14 revisions
spell-class: ".targeted.EntombSpell"| Value | Supported |
|---|---|
entity |
true |
location |
false |
entity_from_location |
false |
-
special- Plays the effect at the center of every block making up the tomb when the tomb is placed. -
blockdestruction- Plays the effect at the center of every block making up the tomb when the spell ends.
Targeted Spell which entombs the target.
| Option | Description | Type | Default | Supports Expressions |
|---|---|---|---|---|
block-type |
Block data used for the tomb. | String | "glass" |
true |
duration |
Duration of the entomb (in ticks). | Integer | 20 |
true |
power-affects-duration |
Since Beta 13. | Boolean | true |
true |
allow-breaking |
If the target is allowed to break the tomb. | Boolean | true |
false |
close-top-and-bottom |
Determines if the top and bottom of the tomb are open or not. | Boolean | true |
true |
block-destroy-message |
Message to send when someone tries to break the entomb. | String | false |
Entomb:
spell-class: ".targeted.EntombSpell"
name: Entomb
cast-item: stick
cooldown: 20
allow-breaking: false
block-type: stone
duration: 120
str-cast-target: "%a has entombed you."