44 lines
1.7 KiB
JSON
44 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.rail_sensor",
|
|
"description": "Defines the behavior of the entity when the rail gets activated or deactivated.",
|
|
"type": "object",
|
|
"title": "Rail sensor 1.8.0",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"check_block_types": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If true, on tick this entity will trigger its on_deactivate behavior",
|
|
"title": "TODO title"
|
|
},
|
|
"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",
|
|
"title": "TODO title"
|
|
},
|
|
"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",
|
|
"title": "TODO title"
|
|
},
|
|
"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" },
|
|
"tick_command_block_on_activate": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "If true, command blocks will start ticking when passing over an activated rail",
|
|
"title": "TODO title"
|
|
},
|
|
"tick_command_block_on_deactivate": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If false, command blocks will stop ticking when passing over a deactivated rail",
|
|
"title": "TODO title"
|
|
}
|
|
}
|
|
}
|