PasteSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.PasteSpell"
targeting
cast argument values:
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
Description:
Targeted Spell that pastes a WorldEdit schematic at the target location. Create a .schem
file with WorldEdit and put it into MagicSpells/schematics
folder.
Configuration:
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 |
Example:
paste:
spell-class: ".targeted.PasteSpell"
schematic: schematicName.schem
y-offset: 1
undo-delay: 100
paste-air: false
remove-paste: true
paste-at-caster: false