On Btcmob Despawn
When a BTCMob despawns without being killed by a player.
The BTCMob Despawn Event is triggered when a tracked BTCMob leaves the world for good without being killed (natural despawn, removal by a plugin, transformation, falling out of the world...). It does not fire for a death (see BTCMob Death Event), nor when the mob's chunk merely unloads: the mob is adopted again when the chunk loads back, so it has not left. ## How could this be used? Clean up boss-fight state, or reset a fact when a timed-out mob disappears before being defeated. Since despawning isn't tied to a single player, this triggers for every online player within [radius] blocks of the despawn location.
Felder
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
mobName | String | — | Only trigger when a specific mob despawns. Empty = any BTCMob.Regex |
radius | Double | 64.0 | Only trigger for players within this many blocks of the despawn location. |
Gemeinsame TypeWriter-Felder (triggers)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |