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

43 lines
1.7 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.rail_sensor",
2020-11-01 17:22:42 +01:00
"description": "Defines the behavior of the entity when the rail gets activated or deactivated.",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Rail Sensor 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-05-18 23:32:44 +02:00
"check_block_types": {
"type": "boolean",
"default": false,
"description": "If true, on tick this entity will trigger its on_deactivate behavior",
"title": "TODO Title"
},
2020-11-01 17:22:42 +01:00
"eject_on_activate": {
"type": "boolean",
"default": true,
"description": "If true, this entity will eject all of its riders when it passes over an activated rail",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
"eject_on_deactivate": {
"type": "boolean",
"default": false,
"description": "If true, this entity will eject all of its riders when it passes over a deactivated rail",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"on_activate": { "$ref": "../types/event.json", "description": "Event to call when the rail is activated", "title": "TODO Title" },
"on_deactivate": { "$ref": "../types/event.json", "description": "Event to call when the rail is deactivated", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
"tick_command_block_on_activate": {
"type": "boolean",
"default": true,
"description": "If true, command blocks will start ticking when passing over an activated rail",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
"tick_command_block_on_deactivate": {
"type": "boolean",
"default": false,
"description": "If false, command blocks will stop ticking when passing over a deactivated rail",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
}
}
}