Advertisement
TitanChase

Untitled

Apr 6th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity)
  2. {
  3. AxisAlignedBB axis = AxisAlignedBB.getBoundingBox(-1, -1, -1, 1, 1, 1);
  4. List entities = player.worldObj.getEntitiesWithinAABB(EntityLiving.class, axis);
  5. return false;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement