forked from nisovin/MagicSpells
PasteSpell
JasperLorelai edited this page May 19, 2024
·
8 revisions
spell-class: ".targeted.PasteSpell"
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
Targeted Spell that pastes a WorldEdit schematic at the target location. Create a .schem
file with WorldEdit and put it into MagicSpells/schematics
folder.
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports expressions |
---|---|---|---|---|
schematic |
Name of the schematic file. | String | "none" |
false |
y-offset |
Modifies the start height location. | Integer | 0 |
true |
undo-delay |
Delay before removing the schematic. | Integer | 0 |
true |
paste-air |
Should the schematic paste air? | Boolean | false |
true |
remove-paste |
Should the schematic be removed on server stop/reload? | Boolean | true |
true |
paste-at-caster |
Should the schematic be pasted at the caster's location? | Boolean | false |
true |
paste:
spell-class: ".targeted.PasteSpell"
schematic: schematicName.schem
y-offset: 1
undo-delay: 100
paste-air: false
remove-paste: true
paste-at-caster: false