Team-Resourceful / ResourcefulBees

Minecraft Mod for creating highly customized bees
https://www.resourcefulbees.com
GNU Lesser General Public License v3.0
75 stars 31 forks source link

[Bug]: Baby bees take damage when leaving hives/apiaries if they grow up while inside #341

Open NielsPilgaard opened 2 years ago

NielsPilgaard commented 2 years ago

Bug Description

Baby bees take damage when leaving hives/apiaries if they grow up while inside

How to Reproduce?

  1. Acquire a baby bee
  2. Give it a hive
  3. Wait for it to grow up while inside the hive (may require a bit of luck)

Expected Behavior

For it not to be damaged

Version

1.16.5-0.10.7

Mod Loader Version

1.16.5-36.2.34

Logs or additional context

No response

Acknowledgement

Epic428 commented 2 years ago

I imagine this should be easily reproducible using the apiary as they both should have the same exit logic. I would also imagine this would happen in vanilla as well since we use the same logic when exiting the hives and apiaries.

def something I’ll test out and work on a fix for. If it happens with vanilla too, it would be a good bug report for mojang.

mouseas commented 2 years ago

They also sometimes are able to escape the apiary structure when this happens because they're clipping through the Apairy block and sometimes they'll wander through its far side.