On Btcmob Damage
When a BTCMob takes damage.
The BTCMob Damage Event is triggered when a BTCMob takes damage. ## How could this be used? Trigger a boss-phase transition when the damager is a player, e.g. to start an enrage cinematic below a health threshold. If the damager is a player, this triggers for that player. Otherwise (environmental damage, other mobs), it triggers for every online player within [radius] blocks.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
mobName | String | — | Only trigger when a specific mob takes damage. Empty = any BTCMob.正则表达式 |
radius | Double | 64.0 | Only trigger for players within this many blocks of the mob when the damager isn't a player. |
TypeWriter 通用字段(triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |