Starting on blocks (#137)
* Starting on blocks * Updated collision box * Updated block components * Fixed block/rotation * Making orbi responsible for dependencies * Updating blocks * trigger -> triggers
This commit is contained in:
21
source/behavior/blocks/format/triggers/on_interact.json
Normal file
21
source/behavior/blocks/format/triggers/on_interact.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_interact",
|
||||
"type": "object",
|
||||
"title": "On Fall On",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user