Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.08 KB

minecraftComponent_damage_over_time.md

File metadata and controls

43 lines (32 loc) · 1.08 KB
author ms.author title description ms.service
JimSeaman42
mikeam
Entity Documentation - minecraft:damage_over_time
A reference document detailing the 'damage_over_time' entity component
minecraft-bedrock-edition

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