MarkSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".instant.MarkSpell"

targeting cast argument values:

Value Supported
entity false
location true
entity_from_location false

Description:

Marks the caster's location, used with other spells. MarkSpell implements "TargetedLocationSpell" and can be cast by other targeted spells.

Configuration:

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

Example:

Mark:
    spell-class: ".instant.MarkSpell"
    cast-item: paper 
    cooldown: 20
    description: Marks your location.
    permanent-marks: false 
    enable-default-marks: false 
    use-as-respawn-location: false 
    default-mark: "world,0,0,0"
    cost:
        - torch 1
        - redstone 5
    str-cost: 1 torch, 5 redstone dust.
    str-cast-self: You have marked your location.