
BeeBlocker
Replaces Bees with Slimes.Details
BeeBlocker (MEGABONK)
Quick summary: A BepInEx mod that prevents bees from spawning by intercepting EnemyManager.SpawnEnemy.
If the incoming spawn looks like a Bee, the mod replaces it with a Slime (preferred) or blocks the spawn if no non-bee fallback is known yet.
Install
- Copy
BeeBlocker.dlltoBepInEx/plugins/. - Launch the game.
How it works (short + dirty)
- Harmony prefix runs on both
EnemyManager.SpawnEnemyoverloads. - Uses reflection to detect “Bee” via enum-like fields, name/label strings, or the Unity asset name.
- Caches the first non-bee seen and a preferred "Slime" entry if present.
- On bee spawn:
- If Slime cached → swap to Slime.
- Else if any non-bee cached → swap to that.
- Else (first ever spawn and it’s a bee) → block spawn to keep bees out.
- Logs replacements/blocks to help with debugging.