Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float maxSeenBound = 20f;
- List<Entity> entityList = entity.worldObj.getEntitiesWithinAABBExcludingEntity(entity, new AxisAlignedBB(entity.posX - maxSeenBound, entity.posY, entity.posZ - maxSeenBound, entity.posX + maxSeenBound, entity.posY + maxSeenBound, entity.posZ + maxSeenBound));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement