@Override
	public byte[] generate(World world, Random rand, int chunkx, int chunkz) {
	
		// max-boxel-size set to 0 will result in non-limited worlds
		if (maxBoxelSize != 0) {
			if (chunkx > maxBoxelSize / 2)
				return Arrays.copyOf(borderChunk, borderChunk.length);
			if (chunkz > maxBoxelSize / 2)
				return Arrays.copyOf(borderChunk, borderChunk.length);
			if (chunkx < -maxBoxelSize / 2)
				return Arrays.copyOf(borderChunk, borderChunk.length);
			if (chunkz < -maxBoxelSize / 2)
				return Arrays.copyOf(borderChunk, borderChunk.length);
		}
		
		return Arrays.copyOf(flatChunk, flatChunk.length);
	}