Entity Documentation - minecraft:damage_over_time
minecraft:damage_over_time
applies a defined amount of damage to the entity at specified intervals.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
damage_per_hurt | 1 | Integer | Amount of damage caused each hurt. |
time_between_hurt | 0.0 | Decimal | Time in seconds between damage. |
Example
"minecraft:damage_over_time":{
"damage_per_hurt": 1,
"time_between_hurt": 0.0
}
Vanilla entities examples
axolotl
"minecraft:damage_over_time": {
"damage_per_hurt": 1,
"time_between_hurt": 0
}
Vanilla entities using minecraft:damage_over_time
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