Implement structure biome config

This commit is contained in:
dfsek
2020-09-29 02:11:55 -07:00
parent eb208ed9fe
commit 114a9302bc
9 changed files with 70 additions and 64 deletions

View File

@@ -120,12 +120,7 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
@Override
public @NotNull List<BlockPopulator> getDefaultPopulators(@NotNull World world) {
try {
return Arrays.asList(new CavePopulator(), new StructurePopulator(), popMan);
} catch(IOException e) {
e.printStackTrace();
throw new IllegalArgumentException();
}
return Arrays.asList(new CavePopulator(), new StructurePopulator(), popMan);
}
@Override

View File

@@ -1,14 +1,10 @@
package com.dfsek.terra.generation;
import com.dfsek.terra.biome.TerraBiomeGrid;
import com.dfsek.terra.biome.UserDefinedBiome;
import com.dfsek.terra.biome.UserDefinedGrid;
import com.dfsek.terra.math.NoiseFunction2;
import com.dfsek.terra.math.NoiseFunction3;
import org.bukkit.World;
import org.bukkit.block.data.BlockData;
import org.polydev.gaea.biome.Generator;
import org.polydev.gaea.generation.GenerationPhase;
import org.polydev.gaea.math.FastNoise;
import org.polydev.gaea.math.parsii.eval.Expression;
import org.polydev.gaea.math.parsii.eval.Parser;
@@ -94,5 +90,4 @@ public class UserDefinedGenerator extends Generator {
}
return null;
}
}