mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Changed default zone size to 2000x600 blocks
This commit is contained in:
parent
a10f2d04b2
commit
2a3c30d777
4 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ public class GenerateZoneCommand extends Command {
|
|||
public void execute(CommandExecutor executor, String[] args) {
|
||||
Biome biome = Biome.getRandomBiome();
|
||||
int width = 2000;
|
||||
int height = 800;
|
||||
int height = 600;
|
||||
int seed = (int)(Math.random() * Integer.MAX_VALUE);
|
||||
|
||||
if(args.length > 0 && args.length < 2) {
|
||||
|
|
|
@ -924,8 +924,8 @@ public class Zone {
|
|||
earth.add(Arrays.asList(height * 0.9, "ground/earth-deepest"));
|
||||
}
|
||||
|
||||
earth.add(Arrays.asList(height * 0.7, "ground/earth-deeper"));
|
||||
earth.add(Arrays.asList(height * 0.45, "ground/earth-deep"));
|
||||
earth.add(Arrays.asList(height * 0.75, "ground/earth-deeper"));
|
||||
earth.add(Arrays.asList(height * 0.6, "ground/earth-deep"));
|
||||
depth.put("ground/earth", earth);
|
||||
} else {
|
||||
String key = biome == Biome.PLAIN ? "temperate" : biome.getId();
|
||||
|
|
|
@ -46,7 +46,7 @@ public class ZoneManager {
|
|||
|
||||
if(zones.isEmpty()) {
|
||||
logger.info("No zones were loaded. Generating default zone ...");
|
||||
Zone zone = StaticZoneGenerator.generateZone(Biome.PLAIN, 2000, 800);
|
||||
Zone zone = StaticZoneGenerator.generateZone(Biome.PLAIN, 2000, 600);
|
||||
saveZone(zone);
|
||||
putZone(zone);
|
||||
} else {
|
||||
|
|
|
@ -22,7 +22,7 @@ public class TerrainGenerator implements GeneratorTask {
|
|||
|
||||
if(surface) {
|
||||
PerlinNoise noise = new PerlinNoise(ctx.getSeed());
|
||||
int surfaceLevel = height < 800 ? height / 4 : 200;
|
||||
int surfaceLevel = height < 600 ? height / 3 : 200;
|
||||
double amplitude = ctx.nextDouble() * 40 + (80 - 40);
|
||||
|
||||
for(int x = 0; x < width; x++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue