Team-Resourceful/ResourcefulBees

[Bug]: Bees take dmg when they go in and out of the hive and will die at a certain point.

Opened this issue · 8 comments

Bug Description

Bee's rarely take dmg when they go inside and out of a hive or apiary. I noticed that after some bees were missing and bees in there had dmg and like 50% health.

Modpack: Enigmatica 6 Expert
Server: Yes
Modpack version: 1.1.2
Mod version: 1.16.5-0.10.5

I didn't hurt my bee and didn't attack me, I also don't have any block or other bees inside the same apiary that would dmg them.

How to Reproduce?

Download engimatica 6 expert
setup a few apiary with bees
wait a few MC days.

Expected Behavior

Bees should take dmg and die later on.

Version

0.10.5

Mod Loader Version

1.16.5

Logs or additional context

No response

Acknowledgement

  • I agree that I read the terms at the top of the page.

Enigmatica 6 especially made the bees drop a larva when they die so you can craft a new bee again, because this has been a known issue.

For the record, that's not why we added the larva drop 😉

A screenshot of your setup would help; would be good to know if they're clipping things while coming out of the hive/apiary.

I have never experienced this, but it has been mentioned on rare occasions.

2022-04-10_00 20 34
That's someones base where a clockwork bee and a shepard bee disappeard
2022-04-10_00 21 50
That's my base where out of 9 bees originaly in the apiary are only 5 now (vacum hopper was added later to collect the larva)

...why are the apiary blocks down in a corner, where there are two surfaces for them to clip and get damaged on the way out of the block? Try raising it up one & moving it away from the wall.

The first one is not in a corner it is in the middle of the room with 4 sides open. I think that shouldn't be an issue in the first place, if you are able to place the apiary block everywhere in the multiblock than this should be prevented. If this is the cause of them dying. Couldn't it be possible to get the bees a short time of invurnability when they at least exit the hive? Or make them immune to suffocation all the time?

I ran into this as well, standard placement, E6E

I suspect 3 cases where this can happen.

  1. Baby bees that grow up while inside the hive clip into the hive/apiary block when they emerge because it places them according to their size as a baby. They typically take 1-2 hits of suffocation damage, but sometimes they stay in the block longer and take more. This is a known issue and reported #341

  2. Bees which are unusually large might clip into blocks because there's not enough room in front of the hive/apiary, thus taking suffocation damage. This would likely happen more when they're in a corner. If it never happens to bees smaller than 1m, I'd expect this to be the culprit.

  3. If another bee is in the way, the emerging bee might get pushed into the hive/apiary block and, again, take suffocation damage. I would only expect this to happen if emerging bees are placed clipping slightly into the hive/apiary, but not far enough to suffocate; they wouldn't be blocked from being pushed further into the block if they start out partly inside it.

These are def good test cases and worth pursuing. I’ll look into these as I have some time. I’m currently pending an update for 1.16.5 so I’ll see if I can sneak these fixes in as well. I just need to get some free time from the baby and work lol