30 lines
816 B
JSON
30 lines
816 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.16.100.minecraft.environment_sensor",
|
|
"title": "Environment sensor",
|
|
"description": "Creates a trigger based on environment conditions.",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"trigger": { "$ref": "../types/trigger.json" }
|
|
},
|
|
"properties": {
|
|
"triggers": {
|
|
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
|
|
"title": "Triggers",
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/trigger"
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"$ref": "#/definitions/trigger"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|