forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Teleport Spell
MomoPewpew edited this page Jul 28, 2023
·
6 revisions
spell-class: ".targeted.TeleportSpell"
A targeted spell that teleports the caster to the location they're looking at.
Option | Description | Default Value |
---|---|---|
relative-offset |
This offset will move the player relative to the location they're targeting with the teleport spell. By default, it moves the player up a tenth of a block to prevent falling through blocks. | 0,0.1,0 |
pitch |
The pitch to set the caster to when teleporting. Does nothing if set to 0. | 0 |
yaw |
The yaw to set the caster to when teleporting. Does nothing if set to 0. | 0 |
str-cant-teleport |
String message sent if the targeted block cannot be teleported to for some reason. | "" |
Teleport:
spell-class: ".targeted.TeleportSpell"
range: 30
cost:
- mana 50
str-cant-teleport: "You can't teleport there!"
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2