31 lines
887 B
JSON
31 lines
887 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.1.16.200.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"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|