Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/ticking.json

30 lines
1.2 KiB
JSON
Raw Normal View History

2021-08-22 00:15:58 +02:00
{
2022-06-07 21:39:02 +02:00
"$id": "blockception.minecraft.behavior.blocks.minecraft.ticking",
"title": "Ticking",
2022-07-22 19:41:04 +02:00
"description": "Describes the component that will trigger an even at a regular interval between two values.",
2021-08-22 00:15:58 +02:00
"type": "object",
"additionalProperties": false,
"properties": {
2022-07-22 19:41:04 +02:00
"looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop." },
2021-08-22 00:15:58 +02:00
"range": {
"title": "Range",
"description": "The Range between which the component will trigger his event.",
"type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }]
},
"on_tick": {
"type": "object",
"title": "On Tick",
2022-07-22 19:41:04 +02:00
"description": "Describes the component that will trigger an even at a regular interval between two values.",
2021-08-22 00:15:58 +02:00
"condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" },
"event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." },
"target": {
"title": "Target",
"description": "The target of event executed on the block.",
"type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
}
}
}
}