Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.environment_sensor.json

19 lines
692 B
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-10-08 12:54:09 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.environment_sensor",
"title": "Environment Sensor",
2021-10-08 12:52:52 +02:00
"description": "Creates a trigger based on environment conditions.",
"type": "object",
"additionalProperties": false,
2021-10-08 12:54:09 +02:00
"definitions": { "trigger": { "$ref": "../types/trigger.json" } },
2021-10-08 12:52:52 +02:00
"properties": {
"triggers": {
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"title": "Triggers",
2021-10-08 12:54:09 +02:00
"oneOf": [
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
{ "type": "object", "$ref": "#/definitions/trigger" }
2021-10-08 12:52:52 +02:00
]
2021-06-06 10:07:19 +00:00
}
2021-10-08 12:52:52 +02:00
}
2021-06-06 10:07:19 +00:00
}