32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"$id": "blockception.minecraft.behavior.blocks.minecraft.random_ticking",
|
||
|
|
"title": "Random Ticking",
|
||
|
|
"description": "[Experimental] Triggers the specified event randomly based on the random tick speed gamerule. The random tick speed determines how often blocks are updated.",
|
||
|
|
"type": "object",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"on_tick": {
|
||
|
|
"title": "On Tick",
|
||
|
|
"description": "the event that will be triggered on random ticks."
|
||
|
|
},
|
||
|
|
"condition": {
|
||
|
|
"title": "Condition",
|
||
|
|
"type": "string",
|
||
|
|
"default": "1",
|
||
|
|
"description": "A condition using Molang queries that results to true/false. If true on the random tick, the event will be triggered. If false on the random tick, the event will not be triggered."
|
||
|
|
},
|
||
|
|
"event": {
|
||
|
|
"title": "Event",
|
||
|
|
"type": "string",
|
||
|
|
"default": "set_block_property",
|
||
|
|
"description": "The event that will be triggered."
|
||
|
|
},
|
||
|
|
"target": {
|
||
|
|
"title": "Target",
|
||
|
|
"type": "string",
|
||
|
|
"default": "self",
|
||
|
|
"description": "The target of the event executed by the block"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|