From 3b22297afb695a1689e5bf3802d2c7b43a2df2db Mon Sep 17 00:00:00 2001 From: mordud2 Date: Thu, 13 May 2021 06:31:07 +1000 Subject: [PATCH] Allow string array for minecraft:spell_effects remove_effect. --- .../1.8.0/components/minecraft.spell_effects.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json b/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json index 71166402..d05014f0 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json +++ b/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json @@ -16,8 +16,15 @@ { "type": "object", "properties": { "effect": { "type": "string" }, "duration": { "type": "integer" }, "display_on_screen_animation": { "type": "boolean" } } } ] }, - "title": "TODO Title" + "title": "Add Effects" }, - "remove_effects": { "type": "string", "description": "List of identifiers of effects to be removed from this entity after adding this component", "title": "TODO Title" } + "remove_effects": { + "type": ["array", "string"], + "description": "List of identifiers of effects to be removed from this entity after adding this component", + "items": { + "type": ["string"] + }, + "title": "Remove Effects" + } } }