Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.environment_sensor.json
2021-05-26 01:23:51 +02:00

19 lines
674 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.16.0.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" }
]
}
}
}