aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java')
-rw-r--r--src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java b/src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java
new file mode 100644
index 0000000000..d9c328d756
--- /dev/null
+++ b/src/main/java/gtPlusPlus/australia/biome/GenLayerAustralia.java
@@ -0,0 +1,32 @@
+package gtPlusPlus.australia.biome;
+
+import net.minecraft.world.WorldType;
+import net.minecraft.world.gen.layer.GenLayer;
+import net.minecraft.world.gen.layer.GenLayerVoronoiZoom;
+import net.minecraft.world.gen.layer.GenLayerZoom;
+
+public class GenLayerAustralia extends GenLayer {
+
+ public GenLayerAustralia(long seed) {
+ super(seed);
+ }
+
+ public static GenLayer[] makeTheWorld(long seed, WorldType type) {
+ GenLayer biomes = new GenLayerBiomesAustraliaDimension(1L);
+ biomes = new GenLayerZoom(1000L, biomes);
+ biomes = new GenLayerZoom(1001L, biomes);
+ biomes = new GenLayerZoom(1002L, biomes);
+ biomes = new GenLayerZoom(1003L, biomes);
+ biomes = new GenLayerZoom(1004L, biomes);
+ biomes = new GenLayerZoom(1005L, biomes);
+ GenLayer genlayervoronoizoom = new GenLayerVoronoiZoom(10L, biomes);
+ biomes.initWorldGenSeed(seed);
+ genlayervoronoizoom.initWorldGenSeed(seed);
+ return new GenLayer[] { biomes, genlayervoronoizoom };
+ }
+
+ @Override
+ public int[] getInts(int p_75904_1_, int p_75904_2_, int p_75904_3_, int p_75904_4_) {
+ return new int[] {};
+ }
+} \ No newline at end of file