All Of
Checks if all of the conditions are fulfilled.
Type ID: kaya:all_of
Format
| Field | Type | Default | Description |
|---|---|---|---|
conditions |
Array of Conditions | The conditions to check. |
Example
{
"type": "kaya:all_of",
"conditions": [
{
"type": "kaya:is_entity_sneaking",
"entity": "this"
},
{
"type": "kaya:check_block_type",
"key": "minecraft:oak_log",
"block": "broken_block"
}
]
}
This example will check if the entity provided by the kaya:this_entity context parameter is sneaking and if the block provided by the kaya:broken_block context parameter is an Oak log.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |