Files
minecraft-bedrock-json-schemas/behaviour/blocks/1.16.100/events/add_mob_effect.json
2021-01-18 01:29:00 +01:00

35 lines
899 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.add_mob_effect",
"type": "object",
"description": "Apply mob effect to target.",
"title": "Add mob effect",
"additionalProperties": false,
"properties": {
"amplifier": {
"type": "integer",
"default": 0,
"description": "The amplifier for the mob effect.",
"title": "Amplifier"
},
"duration": {
"type": "number",
"default": 0,
"description": "The duration of the mob effect.",
"title": "Duration"
},
"effect": {
"type": "string",
"default": "",
"description": "The mob effect to apply.",
"title": "Effect"
},
"target": {
"type": "object",
"default": "self",
"description": "The target context to execute against.",
"title": "Target"
}
}
}