Skip to content

DamageSystems.FallDamageNPCs

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

public static class DamageSystems.FallDamageNPCs extends EntityTickingSystem<EntityStore>

Calculates and applies fall damage to non-player living entities. Part of the gather damage group. Only active when fall damage is enabled in the world config. Uses a quadratic curve: damage% = (0.58 * (yVelocity - minFallSpeed))^2 + 10. Rolling mitigates damage: full mitigation below maxFallSpeedRollFullMitigation, partial mitigation below maxFallSpeedToEngageRoll. Resets fall distance after landing.

FieldTypeDescription
CURVE_MODIFIERfloatFall damage curve modifier: 0.58.
CURVE_MULTIPLIERfloatFall damage curve power: 2.0.
MIN_DAMAGEdoubleMinimum damage percentage: 10.0.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.