diff --git a/source/behavior/entities/1.16.0/behaviors/minecraft.behavior.go_home.json b/source/behavior/entities/1.16.0/behaviors/minecraft.behavior.go_home.json index 994ccc93..cc130ebf 100644 --- a/source/behavior/entities/1.16.0/behaviors/minecraft.behavior.go_home.json +++ b/source/behavior/entities/1.16.0/behaviors/minecraft.behavior.go_home.json @@ -22,7 +22,7 @@ "on_home": { "description": "Event to run when this mob gets home.", "title": "On Home", - "$ref": "../types/trigger.json" + "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }] }, "on_failed": { "$ref": "../types/event.json", diff --git a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.go_home.json b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.go_home.json index 8733d3ba..72dcec96 100644 --- a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.go_home.json +++ b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.go_home.json @@ -20,6 +20,10 @@ "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "title": "Interval" }, - "on_home": { "$ref": "../types/event.json", "description": "Event to run when this mob gets home.", "title": "On Home" } + "on_home": { + "description": "Event to run when this mob gets home.", + "title": "On Home", + "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }] + } } } diff --git a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.ram_attack.json b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.ram_attack.json index 7b6f4585..b3a20290 100644 --- a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.ram_attack.json +++ b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.ram_attack.json @@ -78,7 +78,7 @@ "title": "On Start", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "$ref": "../types/event.json" + "oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }] } } }