Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.200/components/minecraft.on_use_on.json

22 lines
800 B
JSON
Raw Normal View History

2021-01-03 18:59:21 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:",
2021-03-21 15:18:38 +01:00
"title": "On Use On",
2021-01-05 00:06:46 +01:00
"description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.",
2021-01-03 18:59:21 +01:00
"type": "object",
"additionalProperties": false,
2021-01-05 00:06:46 +01:00
"required": ["on_use_on"],
"properties": {
"on_use": {
2021-03-21 15:18:38 +01:00
"title": "On Use",
2021-01-05 00:06:46 +01:00
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["block"] }
2021-01-05 00:06:46 +01:00
}
}
}
2021-01-04 11:46:10 +01:00
}