msg("dev", "Start"); c = 0; time = time.getMillis(); world = world.get("overworld"); loc = loc.new(world, 0, 0, 0); gusi = 1024; //bereits generierter Bereich wusi = 2048 + 1024; //zu generierender Bereich whole = wusi / 8; whole *= whole; whole -= (gusi / 8) * (gusi / 8); for(x = -wusi; x < wusi; x += 16) { for(z = -wusi; z < wusi; z += 16) { if(x >= -gusi && x < gusi && z >= -gusi && z < gusi) { z = gusi - 16; continue; } loc.setX(loc, x); loc.setZ(loc, z); block.set(loc, "minecraft:stone"); block.set(loc, "minecraft:bedrock"); c++; if(c % 8 == 0) { time_diff = time.getMillis() - time; millis = (time_diff / c) * whole - time_diff; sec = millis / 1000; min = math.roundDown(sec / 60); h = math.roundDown(min / 60); min %= 60; sec %= 60; msg("dev", math.roundComma(c * 100 / whole, 2), "% ", text.number(h), "h ", text.number(min), "min ", text.number(sec), "s"); } } } msg("dev", "Fertig"); term();