public boolean blockIsNotSafe(World world, double x, double y, double z) {
		if (world.getBlockAt((int) Math.floor(x), (int) Math.floor(y - 1.0D),
				(int) Math.floor(z)).getType() == Material.LAVA)
			return true;
		if (world.getBlockAt((int) Math.floor(x), (int) Math.floor(y - 1.0D),
				(int) Math.floor(z)).getType() == Material.FIRE)
			return true;
		if ((world.getBlockAt((int) Math.floor(x), (int) Math.floor(y),
				(int) Math.floor(z)).getType() != Material.AIR)
				|| (world.getBlockAt((int) Math.floor(x),
						(int) Math.floor(y + 1.0D), (int) Math.floor(z))
						.getType() != Material.AIR)) {
			return true;
		}
		return blockIsAboveAir(world, x, y, z);
	}