package de.gamezock.metacraft.data; public class TestMap extends Map { public TestMap() { float[][] heightmap = new float[41][41]; for(int x = 0; x < heightmap.length; ++x) { for(int y = 0; y < heightmap[0].length; ++y) { heightmap[x][y] = (float)Math.pow((Math.cos(x*Math.PI/4)+Math.cos(y*Math.PI/4)), 3)*0.2f; } } createMapData(heightmap); } }