Block Documentation - add_mob_effect
add_mob_effect
is an Event Response that applies a mob effect to a target.
Extra Parameters
add_mob_effect
can use the following parameters
Name | Default Value | Type | Description |
---|---|---|---|
amplifier | 0 | Integer | The amplifier for the mob effect. |
duration | 0.0 | Decimal | The duration of the mob effect. |
effect | not set | String | The mob effect to apply. |
target | self | Minecraft Filter | The target context to execute against. |
Example
"add_mob_effect":{
"amplifier": 0,
"duration" : 0.0,
"effect" : "poison",
"target" : "self"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for