Skip to content

Condition Result

Provides the result of the specified condition.

Type ID: kaya:condition_result

Format

Field Type Default Description
condition Condition The condition to invoke and provide its result of.

Example

{
    "type": "kaya:condition_result",
    "condition": {
        "type": "kaya:is_entity_sneaking",
        "entity": "this"
    }
}

This example provides the result of a condition that checks if the entity provided by the kaya:this_entity context parameter is sneaking.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.