Skip to main content

Spirit Root

A spirit_root is a stackable source attached to an entity that is strongly bound to one element and modifies cultivation and element affinity.

File Location

Spirit root files go in data/<namespace>/mxt/spirit_root/ within your datapack.

The filename corresponds to its ID. For example, data/example/mxt/spirit_root/fire_root.json has the ID example:fire_root.

Fields

FieldTypeDefaultDescription
elementHolder<element>requiredThe element the spirit root belongs to.
cultivation_multiplierNumberProvider1Cultivation multiplier.
element_ability_modifierNumberProvider1Element affinity ability multiplier.
rarityStringcommonRarity marker used by content packs.
granted_abilitiesHolderOrTag<ability>[][]Granted abilities.
Grouping and Filtering

Spirit root grouping, compatibility and filtering use vanilla tags at data/<namespace>/tags/mxt/spirit_root/<name>.json. There are no duplicate custom grouping fields.

Example

{
"element": "example:fire",
"cultivation_multiplier": 1.25,
"element_ability_modifier": 1.1,
"rarity": "rare",
"granted_abilities": ["example:fire_control"]
}