RegrowSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.RegrowSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that regrows a Sheep's wool. Since 4.0 Beta 17 this spell can target Sheep and Bogged.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
force-wool-color If this is false, a Sheep will regrow its natural wool color. Boolean false
wool-color If force-wool-color is true, this defines the color of the wool. DyeColor
random-wool-color If force-wool-color and this is true, the Sheep's color will be randomised. Boolean false

Example:

RegrowSpell:
    spell-class: ".targeted.RegrowSpell"
    force-wool-color: true
    wool-color: white