Skip to content
JasperLorelai edited this page Jul 27, 2023 · 8 revisions

Source Code

spell-class: ".targeted.PasteSpell"

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 Options:

Option Description Default Value
schematic Name of the schematic file. "none"
y-offset Modifies the start height location. 0
undo-delay Delay before removing the schematic. 0
paste-air Should the schematic paste air? false
remove-paste Should the schematic be removed on server stop/reload? true
paste-at-caster Should the schematic be pasted at the caster's location? false

Spell 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
Clone this wiki locally