Entity Documentation - minecraft:combat_regeneration
minecraft:combat_regeneration
adds Regeneration I and removes Mining Fatigue from the entity that kills the Actor's attack target.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
regeneration_duration | 5 | Integer | The duration in seconds that the entity will gain Regeneration I. |
apply_to_self | False | Boolean | Whether the entity will grant itself Combat Regeneration if it kills the target. |
apply_to_family | False | Boolean | Whether the entity will grant mobs of the same type Combat Regeneration if they kill the target. |
Example
"minecraft:combat_regeneration":{
"regeneration_duration": 7,
"apply_to_self": true,
"apply_to_family": false
}
Vanilla Mob examples
axolotl
"minecraft:combat_regeneration": {}