Added block components
This commit is contained in:
45
behaviour/blocks/1.10.0/components/minecraft.ticking.json
Normal file
45
behaviour/blocks/1.10.0/components/minecraft.ticking.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.ticking",
|
||||
"title": "Ticking 1.10.0",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"looping": {
|
||||
"type": "boolean",
|
||||
"title": "Looping",
|
||||
"description": "Does the event loop"
|
||||
},
|
||||
"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",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user