TransmuteSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.TransmuteSpell"
targeting
cast argument values:
Value | Supported |
---|---|
entity |
false |
location |
true |
entity_from_location |
false |
Description:
A targeted spell that sets the targeted block to another material.
Configuration:
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports expressions |
---|---|---|---|---|
transmute-type |
Block to change to. | String | "gold_block" |
true |
transmutable-types |
List of blocks which this spell can target. | String | ["iron_block"] |
false |
Example:
transmute:
spell-class: ".targeted.TransmuteSpell"
transmutable-types:
- GRASS_BLOCK
transmute-type: GOLD_BLOCK