Skip to content
JasperLorelai edited this page May 19, 2024 · 8 revisions

Source Code

spell-class: ".targeted.TransmuteSpell"
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
Clone this wiki locally