And (Meta Condition Type)

Checks whether all of the provided conditions are fulfilled.

Checks whether all of the provided conditions are fulfilled.

Type ID: apoli:and

Fields

FieldTypeDefaultDescription
conditionsArray of Condition TypesAll of these condition types have to be fulfilled in order for this condition to be fulfilled.

Examples

"condition": {
    "type": "apoli:and",
    "conditions": [
        {
            "type": "apoli:sneaking"
        },
        {      
            "type": "apoli:invisible"
        }
    ]
}

This example will check if it is both daytime, and the entity is invisible.