Skip to main content

Element

An element defines an independent aura kind, the elements it overcomes and is adapted to, and the aura kind markers used by environment and cultivation conditions.

File Location

Element files go in data/<namespace>/mxt/element/ within your datapack.

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

Fields

FieldTypeDefaultDescription
overcomesHolderOrTag<element>[][]The elements that the current element overcomes.
adapted_toHolderOrTag<element>[][]The relations the current element is adapted to.
aura_kindsIdentifier[][]Aura kind markers; used for environment and cultivation condition checks.
colorRGBColor#FFFFFFColour used when the element is shown, such as in aura cost text. Accepts #RRGGBB or an integer.
Relations and Colours

An element defines an independent aura kind and its colour, and all aura values use maps grouped by resource. Element relations may contain cycles, so do not rely on tag value order. A spirit root binds exactly one element through its element field.

Example

{
"overcomes": ["example:metal", "#example:wood"],
"adapted_to": ["example:water"],
"aura_kinds": ["example:fire_aura"],
"color": "#FF6600"
}