public boolean checkIfAABBIsClear(AxisAlignedBB par1AxisAlignedBB)
    {
        List var2 = this.getEntitiesWithinAABBExcludingEntity((Entity)null, par1AxisAlignedBB);

        for (int var3 = 0; var3 < var2.size(); ++var3)
        {
            Entity var4 = (Entity)var2.get(var3);

            if (!var4.isDead && var4.preventEntitySpawning)
            {
                return false;
            }
        }

        return true;
    }