BlinkSpell - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
spell-class: ".targeted.BlinkSpell"
| Value |
Supported |
entity |
false |
location |
true |
entity_from_location |
false |
Description:
Teleports the caster to the targeted block.
- If the bottom side of the block is targeted,
pass-through-ceiling controls whether the caster is teleported above or below the ceiling. The two blocks above have to be passable to check if the caster fits in the space.
- Otherwise, the spell will first check above the target block and then on the targeted side to see if the caster fits in the two blocks.
Configuration:
| Option |
Description |
Type |
Default |
str-cant-blink |
If the Blink fails, it will send this message. |
Rich Text |
"You can't blink there." |
pass-through-ceiling |
Defines whether or not to pass through ceilings if the bottom side of the block is targeted. If false, the caster will teleport below the ceiling instead. |
Boolean |
false |
Example:
blink:
spell-class: ".targeted.BlinkSpell"
range: 20