private void finishSnake(World world, Random random,
		ArrayList<Block> snakeBlocks) {
		for (Block block : snakeBlocks) {
			Vector center = new BlockVector(block.getX(), block.getY(), block.getZ());
			if (block.getType() != Material.AIR) {
				int radius = 1 + random.nextInt(3);
				for (int x = -radius; x <= radius; x++) {
					for (int z = -radius; z <= radius; z++) {
						for (int y = -radius; y <= radius; y++) {
							Vector position = center.clone().add(new Vector(x, y, z));

							if (center.distance(position) <= radius + 0.5) {
								if (canPlaceBlock(world, position.getBlockX(), position.getBlockY(), position.getBlockZ())) {
									Block b = world.getBlockAt(position.toLocation(world));
									if(b.getType()!=Material.BEDROCK)b.setType(Material.AIR);
								}
							}
						}
					}
				}
			}
		}
	}