Skip to main content

Creature Profile

A Creature Profile defines the cultivation profile of an existing creature type: its realm stage, intelligence, inner core, loot table, the aura elements it prefers and the minimum aura it needs to spawn or be strengthened. A profile does not create an entity type.

File Location

Creature Profile JSON files go in data/<namespace>/mxt/creature_profile/ within your data pack.

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

Fields

FieldTypeDefaultDescription
realm_stagesHolder<realm_stage>[][]The creature's realm stage profile, written as an array.
intelligenceNumberProvider0The intelligence value.
conditionEntity Conditionmxt:always_trueThe condition under which the profile applies; a single condition or an array of conditions may be written, and it does not replace the vanilla spawning rules.
inner_coreIdentifiernoneThe inner core item ID.
loot_tableIdentifiernoneThe creature loot table ID.
contract_tagsIdentifier[][]The tags that can be used for contract matching.
entity_type_tagsHolderOrTag<EntityType>[][]The creature types or tags this profile applies to.
preferred_aura_elementsHolderOrTag<element>[][]The preferred aura elements.
minimum_auraMap<Holder<resource>, NumberProvider>{}The minimum value of each resource required to spawn or be strengthened.
note

The realm stage field is named realm_stages and takes an array of realm stages in the mod's codec, which is the form used by the shipped data files and by the example below.

Example

{
"realm_stages": ["example:foundation"],
"intelligence": 12,
"condition": { "type": "mxt:always_true" },
"inner_core": "minecraft:amethyst_shard",
"contract_tags": ["example:contract/master_servant"],
"entity_type_tags": ["minecraft:wolf", "#example:spirit_wolves"],
"preferred_aura_elements": ["example:fire", "#example:warm_elements"],
"minimum_aura": { "example:spirit_power": 10.0 }
}