TransmuteSpell - MomoPewpew/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.TransmuteSpell"

Description:

A targeted spell that sets the targeted block to another material.

Configuration:

Option Description Default Value
transmute-type What block should it change to? gold_block
transmutable-types List of blocks which this spell can target. null

Example:

transmute:
    spell-class: ".targeted.TransmuteSpell"
    transmutable-types:
        - GRASS_BLOCK
    transmute-type: GOLD_BLOCK