Advertisement
Guest User

Untitled

a guest
Apr 28th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. float maxSeenBound = 20f;
  2. 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