private Block getRandomAdjacentBlock(Block input, Block[][] chunk){
		double randomVal = Math.random();
		if(input.getX() <= 0 || input.getX() >= (WIDTH -1) * Block.WIDTH) return null;
		if(input.getY() <= 0 || input.getY() >= (HEIGHT-1) * Block.HEIGHT) return null;
		if(randomVal < .25) return chunk[input.getX()/Block.WIDTH][input.getY()/Block.HEIGHT + 1];
		if(randomVal < .50) return chunk[input.getX()/Block.WIDTH][input.getY()/Block.HEIGHT - 1];
		if(randomVal < .75) return chunk[input.getX()/Block.WIDTH + 1][input.getY()/Block.HEIGHT];
		return chunk[input.getX()/Block.WIDTH - 1][input.getY()/Block.HEIGHT];
	}