SlimeSizeSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.SlimeSizeSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

Sets slime's size.

Configuration:

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

Option Description Type Default
size Modifies the Slime's size through Assignment as if it was a numeric variable. String =5
min-size Minimum size. Integer 0
max-size Maximum size. Integer 20

Example:

slime: 
    spell-class: ".targeted.SlimeSizeSpell"
    cast-item: stick
    cooldown: 15
    size: "=2"