跳到主要内容

Despawn Mob

The despawn_btcmobs_mob action removes BTCMobs entities from the world. You can target specific mob types and control the scope of removal.

Configuration

despawn_btcmobs_mobMap

Configuration for the despawn mob action.

Properties

mobName

The internal name of the BTCMob type to despawn. despawnAllBoolean

If true, despawns all instances of this mob type in the context (e.g., near the player). If false, behavior depends on implementation (often removes the most recent or nearest).

Examples

# Remove all "Rat" mobs
despawn_btcmobs_mob:
mobName: "Rat"
despawnAll: true