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

Source Code

spell-class: ".targeted.AgeSpell"
Value Supported
entity true
location false
entity_from_location false

Description:

A spell that sets the age of animals.

Configuration:

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

Option Description Type Default
age The age negative values will give you a baby. Integer 0
set-maturity If set to false won't change the state of the animal. Boolean true
apply-age-lock If set to true locks the animal at the set age. Boolean false

Example:

age:
    spell-class: ".targeted.AgeSpell"
    age: 0
    set-maturity: true
    apply-age-lock: false
Clone this wiki locally