Skip to content

DamageSystems.CanBreathe

Package: com.hypixel.hytale.server.core.modules.entity.damage

public static class DamageSystems.CanBreathe extends DelayedEntitySystem<EntityStore>

A ticking system in the gather damage group that inflicts drowning or suffocation damage on living entities that cannot breathe. Ticks every 1.0 seconds. Checks the entity’s oxygen stat: if at minimum and the entity cannot breathe at its breathing height, deals 10 damage (DROWNING) if in fluid, or 20 damage (SUFFOCATION) if in a solid block.

FieldTypeDescription
DAMAGE_AMOUNT_DROWNINGfloatDrowning damage per tick: 10.0.
DAMAGE_AMOUNT_SUFFOCATIONfloatSuffocation damage per tick: 20.0.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.