And
Checks whether all of the provided conditions are fulfilled.
Type ID: origins:and
Fields
Field | Type | Default | Description |
---|---|---|---|
conditions |
Array of Condition Types | All of these condition types have to be fulfilled in order for this condition to be fulfilled. |
Examples
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:daytime"
},
{
"type": "origins:invisible"
}
]
}
This example will check if it is both daytime, and the entity is invisible.