Posted June 6, 201510 yr 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!!! Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
June 6, 201510 yr Author You've got your coordinates reversed, your min is bigger than your max. Oooops... Thanks! Haven't noticed that... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
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.