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

44 lines
1.4 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.block.events",
2021-08-22 00:15:58 +02:00
"title": "Events",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"properties": {
"minecraft:on_fall_on": { "$ref": "#/definitions/event_base" },
2022-06-07 21:49:23 +02:00
"minecraft:on_interact": { "$ref": "#/definitions/event_base" },
2021-08-22 00:15:58 +02:00
"minecraft:on_placed": { "$ref": "#/definitions/event_base" },
"minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" },
2022-06-07 21:49:23 +02:00
"minecraft:on_player_placing": { "$ref": "#/definitions/event_base" },
"minecraft:on_step_off": { "$ref": "#/definitions/event_base" },
"minecraft:on_step_on": { "$ref": "#/definitions/event_base" }
2021-08-22 00:15:58 +02:00
},
"definitions": {
"event_base": {
"title": "Event",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
2022-06-07 21:49:23 +02:00
"condition": {
"title": "Condition",
"description": "The condition of event to be executed on the block.",
"type": "string"
2021-08-22 00:15:58 +02:00
},
2022-06-07 21:49:23 +02:00
"event": {
"title": "Event",
"description": "The event executed on the block.",
"type": "string"
2021-08-22 00:15:58 +02:00
},
2022-06-07 21:49:23 +02:00
"target": {
"title": "Target",
"description": "The target of event executed on the block.",
"type": "string",
"default": "self"
}
2021-08-22 00:15:58 +02:00
}
}
}
}