Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.100/components/minecraft.on_use_on.json
2021-05-26 01:23:51 +02:00

21 lines
745 B
JSON

{
"$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:",
"title": "On Use On",
"description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.",
"type": "object",
"additionalProperties": false,
"required": ["on_use_on"],
"properties": {
"on_use": {
"title": "On Use",
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["block"] }
}
}
}
}