Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bees pathfinding stuck at trying to fly through "Honey Glass (Player)" #358

Open
1 task done
TheFlyron opened this issue Oct 24, 2022 · 2 comments
Open
1 task done
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@TheFlyron
Copy link

TheFlyron commented Oct 24, 2022

Bug Description

The Honey Glass (Player) correctly let's me pass through and blocks the bees. But the bees also get kind of stuck at the honey glass when trying to reach a flower outside of any building I create to keep them, observable in my own early-game constructions as in apiaries.

When I replace the Honey Glass (Player) by f.e. "Mob Filter (Player)" by Dark Utilities, I have functionally the same block and the bees don't try to fly through it all the time.

Perhaps for some reason the bees see the Honey Glass (Player) as passable block even if it is not? Is there a fix for that? Not every modpack with Resourceful Bees also has Dark Utilities. And I find the Honey Glass nicer to look at and work with.

How to Reproduce?

  1. Build an enclosed space with "Honey Glass (Player)" blocks as entrance.
  2. Set free bees inside the space.
  3. Place Bee Flowers (flowers/blocks) outside the enclosed space.
  4. Bees constantly try to fly through the honey glass to no avail.

Expected Behavior

Bees roam inside a bee building and don't crowd the honey glass entrance.

Version

0.10.7

Mod Loader Version

1.16.5 - 36.2.39

Logs or additional context

No response

Acknowledgement

  • I agree that I read the terms at the top of the page.
@TheFlyron TheFlyron added the bug Something isn't working label Oct 24, 2022
@TheFlyron
Copy link
Author

Test setup:
grafik

  1. An Iron Bee Nectarblock outside the enclosure.
  2. A 1x2 door made out of Honey Glass (Player).
  3. Any hive (or apiary)
  4. Another Iron Bee Nectarblock inside the enclosure the bees only rarely find.
  5. All the Iron Bees sticking to the Honey Glass to try reach the nectarblock outside.

(image taken in Sky Bees 2, current version: https://www.curseforge.com/minecraft/modpacks/sky-bees-2 )

For this case the solution is just "remove the outside nectarblock, duh". But what for the Cobblestone Bee? Not build anything out of cobblestone outside? Or any bee that flies to any #minecraft:flower.

@Epic428 Epic428 added the help wanted Extra attention is needed label Oct 25, 2022
@Epic428
Copy link
Member

Epic428 commented Oct 25, 2022

yeah so this is a known issue. for one the honey glass behaves oddly with the bees and no matter how much debugging I've done I simply can't figure out how to actually correct it. what's more is I'm not entirely sure how it isn't an issue with ethereal glass from glassentials since the code is practically the same. really the only difference is that we single out bees specifically rather than all mobs.

the other thing though is that bees should pathfind to the nearest "flower" however in some cases they may not and they may try to pathfind to a flower that's not accessible. the difference though is that with honey glass not involved the bee will eventually pick a new path. however bc honey glass is involved they detect that it doesn't have a collision box for the pathfinding and thus create a path through it, the collision box doesn't actually affect the bee until it collides with the block and prevents it from moving through. but yet I can't replicate the issue with ethereal glass and yet they have identical block properties.

It's particularly bizarre and if anyone has a solution to correcting it I would be fine with fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants