Entity Documentation - minecraft:damage_over_time

Applies defined amount of damage to the entity at specified intervals.

Damage Over Time Properties

Name Default Value Type Description Example Values
damage_per_hurt 1 Integer number Amount of damage caused each hurt. Axolotl: 1
time_between_hurt 0 Decimal number Time in seconds between damage. Vex: 1

Samples

"minecraft:damage_over_time": {
  "damage_per_hurt": 1,
  "time_between_hurt": 0
}
"minecraft:damage_over_time": {
  "damage_per_hurt": 1,
  "time_between_hurt": 1
}