Allow string array for minecraft:spell_effects remove_effect.

This commit is contained in:
mordud2
2021-05-13 06:31:07 +10:00
committed by GitHub
parent 13649e7317
commit 3b22297afb

View File

@@ -16,8 +16,15 @@
{ "type": "object", "properties": { "effect": { "type": "string" }, "duration": { "type": "integer" }, "display_on_screen_animation": { "type": "boolean" } } } { "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"
}
} }
} }