public static AxisAlignedBB getWorkingArea(BlockPos pos, EnumFacing face){
int x = pos.getX();
int y = pos.getY();
int z = pos.getZ();
BlockPos cornerFront;
BlockPos cornerBack;
switch (face) {
case NORTH:
cornerFront = new BlockPos(x - 2, y, z - 5);
cornerBack = new BlockPos(x + 2, y + 2, z - 1);
break;
case SOUTH:
cornerFront = new BlockPos(x + 2, y, z + 5);
cornerBack = new BlockPos(x - 2, y + 2, z + 1);
break;
case WEST:
cornerFront = new BlockPos(x - 5, y, z + 2);
cornerBack = new BlockPos(x - 1, y + 2, z - 2);
break;
case EAST:
cornerFront = new BlockPos(x + 5, y, z - 2);
cornerBack = new BlockPos(x + 1, y + 2, z + 2);
break;
default:
cornerFront = new BlockPos(x, y, z);
cornerBack = new BlockPos(x, y + 2, z);
break;
}
return new AxisAlignedBB(cornerFront, cornerBack);
}
Only return a BB for a 5x2x5 Quad.
I also tried spamming Zombies in a 3x3 area. Not all Zombies are dammaged the max i saw was about 8 or so.