Added block components

This commit is contained in:
DaanV2
2020-11-25 10:32:34 +01:00
parent 42dfb34897
commit 84940f949e
21 changed files with 360 additions and 12 deletions

View File

@@ -0,0 +1,42 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.random_ticking",
"title": "Random 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": {
"on_tick": {
"title": "On tick",
"description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "string",
"additionalProperties": false,
"properties": {
"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."
},
"range": {
"title": "Range",
"type": "array",
"items": [
{ "type": "integer" },
{ "type": "integer" }
]
},
"target": {
"title": "Target",
"description": "The target of event executed on the block.",
"type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
}
}
}
}
}