Bumblegum - Bee fixes
Solving bee-related issues
This modification focuses on addressing persistent problems with bee behavior in the game. The primary objective is to prevent situations where insects fly into the void on skyblock-type maps, get stuck in unexpected places, and occupy the mob cap without being able to return to their activities.
Specific fixes implemented:
- Complete replacement of the bee wandering algorithm with an improved version that prevents them from leaving safe zones near solid surfaces, especially crucial for worlds without continuous ground
- Roaming radius around the hive reduced from 22 to 8 blocks for more predictable behavior
- Insects now check for supporting surfaces when choosing routes - there must be either a platform below or above them
- If a bee finds itself below the level where blocks are located in a chunk, it automatically attempts to rise higher
- When encountering impassable obstacles, the insect tries to turn around and find an alternative route instead of endlessly attempting to pass through barriers
The implemented corrections make bee behavior more logical and efficient, freeing players from constantly having to track down and rescue lost insects.