mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 06:20:05 +00:00
working flora populator impl
This commit is contained in:
1 parent
7a38284158
commit
089af42623
20 files changed
+116
-35
No files matched your search
+1
-1
@@ -33,6 +33,7 @@ public class NoiseChunkGenerator3D implements TerraChunkGenerator {
|
||||
public NoiseChunkGenerator3D(ConfigPack c, TerraPlugin main) {
|
||||
this.configPack = c;
|
||||
this.main = main;
|
||||
c.getStages().forEach(stage -> blockPopulators.add(stage.newInstance(c)));
|
||||
}
|
||||
|
||||
@SuppressWarnings({"try"})
|
||||
@@ -70,7 +71,6 @@ public class NoiseChunkGenerator3D implements TerraChunkGenerator {
|
||||
TerraWorld tw = main.getWorld(world);
|
||||
BiomeProvider grid = tw.getBiomeProvider();
|
||||
|
||||
if(!tw.isSafe()) return chunk;
|
||||
int xOrig = (chunkX << 4);
|
||||
int zOrig = (chunkZ << 4);
|
||||
|
||||
|
||||
Reference in new issue
Block a user