Skip to content

MarkSpell

MomoPewpew edited this page Jul 28, 2023 · 9 revisions

Source Code

spell-class: ".instant.MarkSpell"

Description:

Instant spell. Marks the caster's location, used with other spells. While not officially a targeted spell, MarkSpell implements "TargetedLocationSpell" and can be cast in other targeted spells.

Configuration Options:

Option Description Default Value
permanent-marks Whether the marks are permanent. true
enable-default-marks Whether to enable default marks. false
use-as-respawn-location Whether the mark should be used as a respawn location. false
default-mark Location of the default mark, format: world, x, y, z, yaw, pitch world,0,0,0

Example:

mark:
    spell-class: ".instant.MarkSpell"
    name: mark
    cast-item: stick
    cooldown: 60
    description: Marks your location.
    permanent-marks: true
    cost:
        - mana 75
        - redstone 5
    str-cost: 75 mana, 5 redstone dust.
    str-cast-self: You have marked your location.
Clone this wiki locally