This commit is contained in:
DaanV2
2022-07-20 21:07:36 +02:00
parent e5802decb1
commit 33223669b1
2 changed files with 16 additions and 3 deletions

View File

@@ -16,8 +16,14 @@
},
"on_item_throw": {
"title": "on item throw",
"$ref": "../types/trigger.json",
"description": "Event(s) to run when this mob throws items."
"description": "Event(s) to run when this mob throws items.",
"oneOf": [
{ "$ref": "../types/trigger.json" },
{
"type": "array",
"items": { "$ref": "../types/trigger.json" }
}
]
},
"reach_block_distance": {
"title": "reach block distance",

View File

@@ -11,7 +11,14 @@
"on_item_throw": {
"title": "on item throw",
"$ref": "../types/trigger.json",
"description": "Event(s) to run when this mob throws items."
"description": "Event(s) to run when this mob throws items.",
"oneOf": [
{ "$ref": "../types/trigger.json" },
{
"type": "array",
"items": { "$ref": "../types/trigger.json" }
}
]
},
"reach_mob_distance": {
"title": "reach mob distance",