Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.200/components/minecraft.on_use.json
2021-06-06 10:07:19 +00:00

21 lines
737 B
JSON

{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:on_use",
"title": "On Use",
"description": "The on_use item component allows you to receive an event when the item is used.",
"type": "object",
"additionalProperties": false,
"required": ["on_use"],
"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": ["self"] }
}
}
}
}