DamageSystems.ArmorDamageReduction.ArmorResistanceModifiers
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DamageSystems.ArmorDamageReduction.ArmorResistanceModifiersAccumulates flat and multiplicative damage resistance modifiers from armor pieces and entity effects. Used as the value type in the resistance modifier map computed by DamageSystems.ArmorDamageReduction.
Fields
Section titled “Fields”| Field | Type | Modifiers | Description |
|---|---|---|---|
flatModifier | int | public | Accumulated flat damage reduction. |
multiplierModifier | float | public | Accumulated multiplicative damage reduction (0.0 = no reduction, 1.0 = full reduction). |
inheritedParentId | DamageCause | public | Parent damage cause for inheritance chain traversal, or null. |
Related Types
Section titled “Related Types”- DamageSystems.ArmorDamageReduction — parent class that creates and populates these modifiers
- DamageCause — used for inheritance chain traversal
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.