Remove Effect
The arc:remove_effect reward type removes a specified effect from the player.
Parameters
This reward type does not have any parameters.
Example
The following example will instantly remove any Poison effect the player receives.
data/my_datapack/arc/poison_immunity.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_effect_added",
"conditions": [
{
"type": "arc:effect",
"effect": "minecraft:poison"
}
],
"rewards": [
{
"type": "arc:remove_effect"
}
]
}
## Compatible Action Types
<CompatibleActionTypes />