SoulFire TypeScript SDK 2.10.8
    Preparing search index...
    BotDamageEvent: Message<"soulfire.v1.BotDamageEvent"> & {
        amount: number;
        damageType?: string;
        health: number;
        previousHealth: number;
    }

    Damage observed by the bot.

    Type Declaration

    • amount: number

      from field: float amount = 3;

    • OptionaldamageType?: string

      Damage type id, such as minecraft:freeze or minecraft:fall, when the server reported one.

      from field: optional string damage_type = 4;

    • health: number

      from field: float health = 2;

    • previousHealth: number

      from field: float previous_health = 1;

    from message soulfire.v1.BotDamageEvent