Interface IArmorHurtParams

interface IArmorHurtParams {
    attacker: number;
    bool1: boolean;
    bool2: boolean;
    damage: number;
    type: number;
}

Properties

attacker: number

Attacker entity or -1 if the damage was not caused by an entity.

bool1: boolean

TODO: Unknown param!

bool2: boolean

TODO: Unknown param!

damage: number

Damage amount that was applied to the player.

type: number

Damage type.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.