Jump to content

[1.7.10] getEntitiesWithinAABB returns empty list


Recommended Posts

Hello there, i encountered strange issue:

world.getEntitiesWithinAABB returns empty list even if within this bounding box there are entities...

For example if i give as args:

Entity.class, AxisAlignedBB.getBoundingBox(127.99876129051927, 94.54184844685155, 270.3603175168877, 87.99876129051927, 54.541848446851546, 230.36031751688765)

And go to that location in world, spawn pigs around me, run code then list returned will be empty...

Any ideas of what is going wrong???


Thanks for help!

If you have any questions - just ask!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.