From 5ec92a6da91c357d5b468afa219e33736d1beccd Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Thu, 29 Jun 2017 17:33:51 +0100 Subject: [PATCH 1/7] Added biome support for CC Luminous Cliffs. --- .../chromaticraft/config/BiomeConfigCC.java | 2 + .../config/BiomeConfigCCLuminousCliffs.java | 10 ++ .../java/rtg/config/BiomeConfigManager.java | 7 +- .../chromaticraft/RealisticBiomeCCBase.java | 19 ++- .../RealisticBiomeCCLuminousCliffs.java | 23 +++ .../SurfaceCCLuminousCliffs.java | 151 ++++++++++++++++++ .../TerrainCCLuminousCliffs.java | 88 ++++++++++ 7 files changed, 292 insertions(+), 8 deletions(-) create mode 100644 src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCCLuminousCliffs.java create mode 100644 src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCLuminousCliffs.java create mode 100644 src/main/java/rtg/world/gen/surface/chromaticraft/SurfaceCCLuminousCliffs.java create mode 100644 src/main/java/rtg/world/gen/terrain/chromaticraft/TerrainCCLuminousCliffs.java diff --git a/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCC.java b/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCC.java index efe3ad830..7b9b55ef7 100644 --- a/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCC.java +++ b/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCC.java @@ -6,12 +6,14 @@ public class BiomeConfigCC { public static BiomeConfig biomeConfigCCEnderForest; + public static BiomeConfig biomeConfigCCLuminousCliffs; public static BiomeConfig biomeConfigCCRainbowForest; public static BiomeConfig[] getBiomeConfigs() { BiomeConfig[] biomeConfigs = new BiomeConfig[]{ biomeConfigCCEnderForest, + biomeConfigCCLuminousCliffs, biomeConfigCCRainbowForest }; diff --git a/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCCLuminousCliffs.java b/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCCLuminousCliffs.java new file mode 100644 index 000000000..da36ea977 --- /dev/null +++ b/src/main/java/rtg/api/biome/chromaticraft/config/BiomeConfigCCLuminousCliffs.java @@ -0,0 +1,10 @@ +package rtg.api.biome.chromaticraft.config; + + +public class BiomeConfigCCLuminousCliffs extends BiomeConfigCCBase +{ + public BiomeConfigCCLuminousCliffs() + { + super("luminouscliffs"); + } +} diff --git a/src/main/java/rtg/config/BiomeConfigManager.java b/src/main/java/rtg/config/BiomeConfigManager.java index ed4221332..b9aec0448 100644 --- a/src/main/java/rtg/config/BiomeConfigManager.java +++ b/src/main/java/rtg/config/BiomeConfigManager.java @@ -1,6 +1,9 @@ package rtg.config; +import java.util.ArrayList; + import net.minecraftforge.common.config.Configuration; + import rtg.api.biome.BiomeConfig; import rtg.api.biome.BiomeConfigProperty; import rtg.api.biome.abyssalcraft.config.*; @@ -13,6 +16,7 @@ import rtg.api.biome.buildcraft.config.BiomeConfigBCOceanOilField; import rtg.api.biome.chromaticraft.config.BiomeConfigCC; import rtg.api.biome.chromaticraft.config.BiomeConfigCCEnderForest; +import rtg.api.biome.chromaticraft.config.BiomeConfigCCLuminousCliffs; import rtg.api.biome.chromaticraft.config.BiomeConfigCCRainbowForest; import rtg.api.biome.enhancedbiomes.config.*; import rtg.api.biome.extrabiomes.config.*; @@ -41,8 +45,6 @@ import rtg.api.biome.vampirism.config.BiomeConfigVAMPVampireForest; import rtg.api.biome.vanilla.config.*; -import java.util.ArrayList; - public class BiomeConfigManager { @@ -187,6 +189,7 @@ public static void initBiomeConfigsBC() public static void initBiomeConfigsCC() { BiomeConfigCC.biomeConfigCCEnderForest = new BiomeConfigCCEnderForest(); + BiomeConfigCC.biomeConfigCCLuminousCliffs = new BiomeConfigCCLuminousCliffs(); BiomeConfigCC.biomeConfigCCRainbowForest = new BiomeConfigCCRainbowForest(); } diff --git a/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCBase.java b/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCBase.java index fdc67c700..b070c240a 100755 --- a/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCBase.java +++ b/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCBase.java @@ -1,18 +1,21 @@ package rtg.world.biome.realistic.chromaticraft; import net.minecraft.world.biome.BiomeGenBase; + +import cpw.mods.fml.common.Loader; + import rtg.api.biome.BiomeConfig; import rtg.api.biome.chromaticraft.config.BiomeConfigCC; import rtg.util.Logger; import rtg.world.biome.realistic.RealisticBiomeBase; import rtg.world.gen.surface.SurfaceBase; import rtg.world.gen.terrain.TerrainBase; -import cpw.mods.fml.common.Loader; public class RealisticBiomeCCBase extends RealisticBiomeBase { public static RealisticBiomeBase ccEnderForest; - public static RealisticBiomeBase ccRainbowForest; + public static RealisticBiomeBase ccLuminousCliffs; + public static RealisticBiomeBase ccRainbowForest; public RealisticBiomeCCBase(BiomeConfig config, BiomeGenBase b, BiomeGenBase riverbiome, TerrainBase t, SurfaceBase s) { @@ -45,10 +48,14 @@ public static void addBiomes() { ccEnderForest = new RealisticBiomeCCEnderForest(ccBiome, BiomeConfigCC.biomeConfigCCEnderForest); } - else if (biomeName == "Rainbow Forest" && biomeClass == "Reika.ChromatiCraft.World.BiomeRainbowForest") - { - ccRainbowForest = new RealisticBiomeCCRainbowForest(ccBiome, BiomeConfigCC.biomeConfigCCRainbowForest); - } + else if (biomeName == "Luminous Cliffs" && biomeClass == "Reika.ChromatiCraft.World.BiomeGlowingCliffs") + { + ccLuminousCliffs = new RealisticBiomeCCLuminousCliffs(ccBiome, BiomeConfigCC.biomeConfigCCLuminousCliffs); + } + else if (biomeName == "Rainbow Forest" && biomeClass == "Reika.ChromatiCraft.World.BiomeRainbowForest") + { + ccRainbowForest = new RealisticBiomeCCRainbowForest(ccBiome, BiomeConfigCC.biomeConfigCCRainbowForest); + } } } } diff --git a/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCLuminousCliffs.java b/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCLuminousCliffs.java new file mode 100644 index 000000000..72b479a32 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/chromaticraft/RealisticBiomeCCLuminousCliffs.java @@ -0,0 +1,23 @@ +package rtg.world.biome.realistic.chromaticraft; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.chromaticraft.SurfaceCCLuminousCliffs; +import rtg.world.gen.terrain.chromaticraft.TerrainCCLuminousCliffs; + +public class RealisticBiomeCCLuminousCliffs extends RealisticBiomeCCBase +{ + public RealisticBiomeCCLuminousCliffs(BiomeGenBase ccBiome, BiomeConfig config) + { + super(config, + ccBiome, BiomeGenBase.river, + new TerrainCCLuminousCliffs(350f, 100f, 63f,70f), + new SurfaceCCLuminousCliffs(config, ccBiome.topBlock, ccBiome.fillerBlock, false, null, 0f, 2.5f, 80f, 65f, 2.5f) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/gen/surface/chromaticraft/SurfaceCCLuminousCliffs.java b/src/main/java/rtg/world/gen/surface/chromaticraft/SurfaceCCLuminousCliffs.java new file mode 100644 index 000000000..02afb026f --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/chromaticraft/SurfaceCCLuminousCliffs.java @@ -0,0 +1,151 @@ +package rtg.world.gen.surface.chromaticraft; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceCCLuminousCliffs extends SurfaceBase +{ + private boolean beach; + private Block beachBlock; + private float min; + + private float sCliff = 1.5f; + private float sHeight = 60f; + private float sStrength = 65f; + private float cCliff = 1.5f; + + public SurfaceCCLuminousCliffs(BiomeConfig config, Block top, Block fill, boolean genBeach, Block genBeachBlock, float minCliff) + { + super(config, top, (byte)0, fill, (byte)0); + beach = genBeach; + beachBlock = genBeachBlock; + min = minCliff; + } + + public SurfaceCCLuminousCliffs(BiomeConfig config, Block top, Block fill, boolean genBeach, Block genBeachBlock, float minCliff, float stoneCliff, float stoneHeight, float stoneStrength, float clayCliff) + { + this(config, top, fill, genBeach, genBeachBlock, minCliff); + + sCliff = stoneCliff; + sHeight = stoneHeight; + sStrength = stoneStrength; + cCliff = clayCliff; + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + int cliff = 0; + boolean gravel = false; + + Block b; + for(int k = 255; k > -1; k--) + { + b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(depth == 0) + { + if(k < 63) + { + if(beach) + { + gravel = true; + } + } + + float p = simplex.noise3(i / 8f, j / 8f, k / 8f) * 0.5f; + if(c > min && c > sCliff - ((k - sHeight) / sStrength) + p) + { + cliff = 1; + } + if(c > cCliff) + { + cliff = 2; + } + + if(cliff == 1) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if(cliff == 2) + { + blocks[(y * 16 + x) * 256 + k] = getShadowStoneBlock(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = getShadowStoneMeta(world, i, j, x, y, k); + } + else if(k < 63) + { + if(beach) + { + blocks[(y * 16 + x) * 256 + k] = beachBlock; + gravel = true; + } + else if(k < 62) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + else + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + } + else + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + } + else if(depth < 6) + { + if(cliff == 1) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + else if(cliff == 2) + { + blocks[(y * 16 + x) * 256 + k] = getShadowStoneBlock(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = getShadowStoneMeta(world, i, j, x, y, k); + } + else if(gravel) + { + blocks[(y * 16 + x) * 256 + k] = beachBlock; + } + else + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/terrain/chromaticraft/TerrainCCLuminousCliffs.java b/src/main/java/rtg/world/gen/terrain/chromaticraft/TerrainCCLuminousCliffs.java new file mode 100644 index 000000000..f578339e2 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/chromaticraft/TerrainCCLuminousCliffs.java @@ -0,0 +1,88 @@ +package rtg.world.gen.terrain.chromaticraft; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.util.SimplexOctave; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainCCLuminousCliffs extends TerrainBase +{ + private float width; + private float strength; + private float terrainHeight; + private float cragWidth; + + private int wavelength = 20; + private SimplexOctave.Disk jitter = new SimplexOctave.Disk(); + private double amplitude = 5; + + + public TerrainCCLuminousCliffs(float mountainWidth, float mountainStrength, float height, float cragWidth) + { + super(height); + width = mountainWidth; + strength = mountainStrength*1.3f; + terrainHeight = height; + this.cragWidth = cragWidth; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + + simplex.riverJitter().evaluateNoise((float)x / wavelength, (float)y / wavelength, jitter); + int pX = (int)Math.round(x + jitter.deltax() * amplitude); + int pY = (int)Math.round(y + jitter.deltay() * amplitude); + + x = pX; + y = pY; + + float firstJump = 0.3f; + float secondJump = 0.5f; + float firstScatter = 0.3f; + float secondScatter = 0.45f; + float adjust =0; + float firstLevel = simplex.noise2(x / width, y / width)*5+10+simplex.noise2(x / 20f, y / 20f); + firstLevel *= river; + + float secondAdded = simplex.octave(1).noise2(x / width, y / width)*10+40 + +simplex.noise2(x / 20f, y / 20f)*2f; + float secondLevel = firstLevel + borderAdjusted(secondAdded, border, .8f, .7f); + /*float secondLevel = simplex.octave(1).noise2(x / width, y / width)*15+50 + +simplex.noise2(x / 20f, y / 20f)*3f;*/ + + float thirdAdded = simplex.octave(2).noise2(x / width, y / width)*15+30 + +simplex.noise2(x / 20f, y / 20f)*2f; + /*float thirdLevel = simplex.octave(2).noise2(x / width, y / width)*25+80 + +simplex.noise2(x / 20f, y / 20f)*5f;*/ + + float thirdLevel = secondLevel + borderAdjusted(thirdAdded, border, .95f, .88f); + + float scatter = Math.abs((float)simplex.octave(1).noise(x/cragWidth, y/cragWidth,1f)); + if (river < firstJump||scatterfirstScatter+0.1) { + adjust = secondLevel; + } else { + float lift = (scatter-firstScatter)*10f;// 0 to 1 + lift = (0.5f-lift)*2f;// -.5 to +.5 + lift = unsignedPower(lift, 0.5f); + lift = -lift/2f+0.5f; + adjust = secondLevel*lift + firstLevel*(1.0f-lift); + } + } else { + if (scatter >secondScatter+0.1f) { + adjust = thirdLevel; + } else { + float lift = (scatter-secondScatter)*10f; + lift = lift*lift; + adjust = thirdLevel*lift + secondLevel*(1.0f-lift); + } + } + } + return terrainHeight + adjust; + } + +} From 5eaface3d147c4002b9b84c4b04290ee7d3b2ffd Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Thu, 29 Jun 2017 19:43:13 +0100 Subject: [PATCH 2/7] Added biome support for Hot Water Mod. --- build.properties | 43 +++++----- src/main/java/rtg/RTG.java | 2 + .../hotwatermod/config/BiomeConfigHWM.java | 17 ++++ .../config/BiomeConfigHWMBase.java | 12 +++ .../config/BiomeConfigHWMHotSprings.java | 10 +++ .../java/rtg/config/BiomeConfigManager.java | 8 ++ src/main/java/rtg/config/ConfigManager.java | 8 +- .../rtg/config/hotwatermod/ConfigHWM.java | 38 +++++++++ .../hotwatermod/RealisticBiomeHWMBase.java | 56 +++++++++++++ .../RealisticBiomeHWMHotSprings.java | 25 ++++++ .../hotwatermod/SurfaceHWMHotSprings.java | 78 +++++++++++++++++++ .../hotwatermod/TerrainHWMHotSprings.java | 20 +++++ 12 files changed, 294 insertions(+), 23 deletions(-) create mode 100644 src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWM.java create mode 100644 src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMBase.java create mode 100644 src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMHotSprings.java create mode 100644 src/main/java/rtg/config/hotwatermod/ConfigHWM.java create mode 100644 src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMBase.java create mode 100644 src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMHotSprings.java create mode 100644 src/main/java/rtg/world/gen/surface/hotwatermod/SurfaceHWMHotSprings.java create mode 100644 src/main/java/rtg/world/gen/terrain/hotwatermod/TerrainHWMHotSprings.java diff --git a/build.properties b/build.properties index 4d2251d2b..82e0ce991 100644 --- a/build.properties +++ b/build.properties @@ -14,24 +14,25 @@ mcf_version=10.13.4.1558 run_dir=run package_base=org.teamrtg mod_deps=after:abyssalcraft@[1.9.1.2,);\ - after:arsmagica2@[1.4.0.008,);\ - after:ATG@[0.10.0,);\ - after:BiomesOPlenty@[2.1.0,);\ - after:BuildCraft|Core@[7.1.7,);\ - after:enhancedbiomes@2.5 for MC 1.7.10;\ - after:enviromine@[1.3.119,);\ - after:ExtrabiomesXL@[3.16.2,);\ - after:flowercraftmod@[1.9,);\ - after:ForgottenNature@[1.6.11,);\ - after:Growthcraft|Bamboo@[1.7.10-2.5.0,);\ - after:Highlands@[2.2.3,);\ - after:ICMod@[1.5.0,);\ - after:lom@[1.7.10-3.2.0,);\ - after:Mariculture@[1.7.10-1.2.4.2a-5,);\ - after:mod_IDT;\ - after:Railcraft@[9.7.0.0,);\ - after:RidiculousWorld@[0.1,);\ - after:sushicraft@[14.4,);\ - after:Thaumcraft@[4.2.3.4,);\ - after:TofuCraft@2.1.6-MC1.7.10;\ - after:vampirism@[0.7.8.5,) + after:arsmagica2@[1.4.0.008,);\ + after:ATG@[0.10.0,);\ + after:BiomesOPlenty@[2.1.0,);\ + after:BuildCraft|Core@[7.1.7,);\ + after:enhancedbiomes@2.5 for MC 1.7.10;\ + after:enviromine@[1.3.119,);\ + after:ExtrabiomesXL@[3.16.2,);\ + after:flowercraftmod@[1.9,);\ + after:ForgottenNature@[1.6.11,);\ + after:Growthcraft|Bamboo@[1.7.10-2.5.0,);\ + after:Highlands@[2.2.3,);\ + after:hot_water;\ + after:ICMod@[1.5.0,);\ + after:lom@[1.7.10-3.2.0,);\ + after:Mariculture@[1.7.10-1.2.4.2a-5,);\ + after:mod_IDT;\ + after:Railcraft@[9.7.0.0,);\ + after:RidiculousWorld@[0.1,);\ + after:sushicraft@[14.4,);\ + after:Thaumcraft@[4.2.3.4,);\ + after:TofuCraft@2.1.6-MC1.7.10;\ + after:vampirism@[0.7.8.5,) diff --git a/src/main/java/rtg/RTG.java b/src/main/java/rtg/RTG.java index 231b90e1f..26c70c557 100755 --- a/src/main/java/rtg/RTG.java +++ b/src/main/java/rtg/RTG.java @@ -34,6 +34,7 @@ import rtg.world.biome.realistic.forgottennature.RealisticBiomeFNBase; import rtg.world.biome.realistic.growthcraft.RealisticBiomeGCBase; import rtg.world.biome.realistic.highlands.RealisticBiomeHLBase; +import rtg.world.biome.realistic.hotwatermod.RealisticBiomeHWMBase; import rtg.world.biome.realistic.icmod.RealisticBiomeICBase; import rtg.world.biome.realistic.idt.RealisticBiomeIDTBase; import rtg.world.biome.realistic.lotsomobs.RealisticBiomeLOMBase; @@ -121,6 +122,7 @@ public void postInit(FMLPostInitializationEvent event) RealisticBiomeICBase.addBiomes(); RealisticBiomeIDTBase.addBiomes(); RealisticBiomeFCBase.addBiomes(); + RealisticBiomeHWMBase.addBiomes(); RealisticBiomePresenceTester.doBiomeCheck(); } diff --git a/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWM.java b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWM.java new file mode 100644 index 000000000..508fc85b5 --- /dev/null +++ b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWM.java @@ -0,0 +1,17 @@ +package rtg.api.biome.hotwatermod.config; + +import rtg.api.biome.BiomeConfig; + +public class BiomeConfigHWM +{ + public static BiomeConfig biomeConfigHWMHotSprings; + + public static BiomeConfig[] getBiomeConfigs() + { + BiomeConfig[] biomeConfigs = new BiomeConfig[]{ + biomeConfigHWMHotSprings + }; + + return biomeConfigs; + } +} diff --git a/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMBase.java b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMBase.java new file mode 100644 index 000000000..b19780b62 --- /dev/null +++ b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMBase.java @@ -0,0 +1,12 @@ +package rtg.api.biome.hotwatermod.config; + +import rtg.api.biome.BiomeConfig; + +public class BiomeConfigHWMBase extends BiomeConfig +{ + + public BiomeConfigHWMBase(String biomeSlug) + { + super("hotwatermod", biomeSlug); + } +} diff --git a/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMHotSprings.java b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMHotSprings.java new file mode 100644 index 000000000..7df856c17 --- /dev/null +++ b/src/main/java/rtg/api/biome/hotwatermod/config/BiomeConfigHWMHotSprings.java @@ -0,0 +1,10 @@ +package rtg.api.biome.hotwatermod.config; + + +public class BiomeConfigHWMHotSprings extends BiomeConfigHWMBase +{ + public BiomeConfigHWMHotSprings() + { + super("hotsprings"); + } +} diff --git a/src/main/java/rtg/config/BiomeConfigManager.java b/src/main/java/rtg/config/BiomeConfigManager.java index b9aec0448..53f60ad77 100644 --- a/src/main/java/rtg/config/BiomeConfigManager.java +++ b/src/main/java/rtg/config/BiomeConfigManager.java @@ -26,6 +26,8 @@ import rtg.api.biome.growthcraft.config.BiomeConfigGC; import rtg.api.biome.growthcraft.config.BiomeConfigGCBambooForest; import rtg.api.biome.highlands.config.*; +import rtg.api.biome.hotwatermod.config.BiomeConfigHWM; +import rtg.api.biome.hotwatermod.config.BiomeConfigHWMHotSprings; import rtg.api.biome.icmod.config.BiomeConfigIC; import rtg.api.biome.icmod.config.BiomeConfigICIceCream; import rtg.api.biome.idt.config.BiomeConfigIDT; @@ -60,6 +62,7 @@ public static void initBiomeConfigs() initBiomeConfigsEBXL(); initBiomeConfigsGC(); initBiomeConfigsHL(); + initBiomeConfigsHWM(); initBiomeConfigsIC(); initBiomeConfigsIDT(); initBiomeConfigsRW(); @@ -376,6 +379,11 @@ public static void initBiomeConfigsHL() BiomeConfigHL.biomeConfigHLWoodsMountains = new BiomeConfigHLWoodsMountains(); } + public static void initBiomeConfigsHWM() + { + BiomeConfigHWM.biomeConfigHWMHotSprings = new BiomeConfigHWMHotSprings(); + } + public static void initBiomeConfigsIC() { BiomeConfigIC.biomeConfigICIceCream = new BiomeConfigICIceCream(); diff --git a/src/main/java/rtg/config/ConfigManager.java b/src/main/java/rtg/config/ConfigManager.java index 89056b3f2..66934ead9 100755 --- a/src/main/java/rtg/config/ConfigManager.java +++ b/src/main/java/rtg/config/ConfigManager.java @@ -1,5 +1,7 @@ package rtg.config; +import java.io.File; + import rtg.config.abyssalcraft.ConfigAC; import rtg.config.arsmagica.ConfigAM; import rtg.config.atg.ConfigATG; @@ -12,6 +14,7 @@ import rtg.config.forgottennature.ConfigFN; import rtg.config.growthcraft.ConfigGC; import rtg.config.highlands.ConfigHL; +import rtg.config.hotwatermod.ConfigHWM; import rtg.config.icmod.ConfigIC; import rtg.config.idt.ConfigIDT; import rtg.config.ridiculousworld.ConfigRW; @@ -21,8 +24,6 @@ import rtg.config.vampirism.ConfigVAMP; import rtg.config.vanilla.ConfigVanilla; -import java.io.File; - public class ConfigManager { @@ -34,6 +35,7 @@ public class ConfigManager public static File hlConfigFile; public static File tcConfigFile; public static File bcConfigFile; + public static File hwmConfigFile; public static File amConfigFile; public static File atgConfigFile; public static File ccConfigFile; @@ -63,6 +65,7 @@ public static void init(String configpath) hlConfigFile = new File(configpath + "biomes/highlands.cfg"); tcConfigFile = new File(configpath + "biomes/thaumcraft.cfg"); bcConfigFile = new File(configpath + "biomes/buildcraft.cfg"); + hwmConfigFile = new File(configpath + "biomes/hotwatermod.cfg"); amConfigFile = new File(configpath + "biomes/arsmagica.cfg"); atgConfigFile = new File(configpath + "biomes/atg.cfg"); ccConfigFile = new File(configpath + "biomes/chromaticraft.cfg"); @@ -86,6 +89,7 @@ public static void init(String configpath) ConfigHL.init(hlConfigFile); ConfigTC.init(tcConfigFile); ConfigBC.init(bcConfigFile); + ConfigHWM.init(hwmConfigFile); ConfigAM.init(amConfigFile); ConfigATG.init(atgConfigFile); ConfigCC.init(ccConfigFile); diff --git a/src/main/java/rtg/config/hotwatermod/ConfigHWM.java b/src/main/java/rtg/config/hotwatermod/ConfigHWM.java new file mode 100644 index 000000000..66223bb08 --- /dev/null +++ b/src/main/java/rtg/config/hotwatermod/ConfigHWM.java @@ -0,0 +1,38 @@ +package rtg.config.hotwatermod; + +import java.io.File; + +import net.minecraftforge.common.config.Configuration; + +import rtg.api.biome.hotwatermod.config.BiomeConfigHWM; +import rtg.config.BiomeConfigManager; +import rtg.util.Logger; + +public class ConfigHWM +{ + + public static Configuration config; + + public static void init(File configFile) + { + + config = new Configuration(configFile); + + try + { + config.load(); + + BiomeConfigManager.setBiomeConfigsFromUserConfigs(BiomeConfigHWM.getBiomeConfigs(), config); + + } catch (Exception e) + { + Logger.error("RTG had a problem loading Hot Water Mod configuration."); + } finally + { + if (config.hasChanged()) + { + config.save(); + } + } + } +} diff --git a/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMBase.java b/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMBase.java new file mode 100644 index 000000000..a0dfba192 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMBase.java @@ -0,0 +1,56 @@ +package rtg.world.biome.realistic.hotwatermod; + +import net.minecraft.world.biome.BiomeGenBase; + +import cpw.mods.fml.common.Loader; + +import rtg.api.biome.BiomeConfig; +import rtg.api.biome.hotwatermod.config.BiomeConfigHWM; +import rtg.util.Logger; +import rtg.world.biome.realistic.RealisticBiomeBase; +import rtg.world.gen.surface.SurfaceBase; +import rtg.world.gen.terrain.TerrainBase; + +public class RealisticBiomeHWMBase extends RealisticBiomeBase +{ + + public static RealisticBiomeBase hwmHotSprings; + + public RealisticBiomeHWMBase(BiomeConfig config, BiomeGenBase b, BiomeGenBase riverbiome, TerrainBase t, SurfaceBase s) + { + + super(config, b, riverbiome, t, s); + + this.waterSurfaceLakeChance = 0; + this.lavaSurfaceLakeChance = 0; + } + + public static void addBiomes() + { + + if (Loader.isModLoaded("hot_water")) + { + BiomeGenBase[] b = BiomeGenBase.getBiomeGenArray(); + + for (int i = 0; i < 256; i++) + { + if (b[i] != null) + { + if (b[i].biomeName == null) { + Logger.warn("Biome ID %d has no name.", b[i].biomeID); + continue; + } + + BiomeGenBase bcBiome = b[i]; + String biomeName = b[i].biomeName; + String biomeClass = b[i].getBiomeClass().getName(); + + if (biomeName.equals("Hot Springs") && biomeClass.equals("sorazodia.hotwater.worldGen.BiomeHotSpring")) + { + hwmHotSprings = new RealisticBiomeHWMHotSprings(bcBiome, BiomeConfigHWM.biomeConfigHWMHotSprings); + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMHotSprings.java b/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMHotSprings.java new file mode 100644 index 000000000..83dba3fff --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/hotwatermod/RealisticBiomeHWMHotSprings.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.hotwatermod; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.hotwatermod.SurfaceHWMHotSprings; +import rtg.world.gen.terrain.hotwatermod.TerrainHWMHotSprings; + +public class RealisticBiomeHWMHotSprings extends RealisticBiomeHWMBase +{ + + public RealisticBiomeHWMHotSprings(BiomeGenBase hwmBiome, BiomeConfig config) + { + + super(config, + hwmBiome, BiomeGenBase.river, + new TerrainHWMHotSprings(), + new SurfaceHWMHotSprings(config, hwmBiome.topBlock, hwmBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/gen/surface/hotwatermod/SurfaceHWMHotSprings.java b/src/main/java/rtg/world/gen/surface/hotwatermod/SurfaceHWMHotSprings.java new file mode 100644 index 000000000..eafc15e4e --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/hotwatermod/SurfaceHWMHotSprings.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.hotwatermod; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceHWMHotSprings extends SurfaceBase +{ + + public SurfaceHWMHotSprings(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/terrain/hotwatermod/TerrainHWMHotSprings.java b/src/main/java/rtg/world/gen/terrain/hotwatermod/TerrainHWMHotSprings.java new file mode 100644 index 000000000..aca0ac7ce --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/hotwatermod/TerrainHWMHotSprings.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.hotwatermod; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainHWMHotSprings extends TerrainBase +{ + + public TerrainHWMHotSprings() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainMarsh(x, y, simplex, 61.5f); + } +} From 313ef23ae2b59fece870566572044495ab2d44ab Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Thu, 29 Jun 2017 22:06:23 +0100 Subject: [PATCH 3/7] Fixed bug with SC Sakura Forest using wrong biome config file. --- .../biome/realistic/sushicraft/RealisticBiomeSCBase.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/rtg/world/biome/realistic/sushicraft/RealisticBiomeSCBase.java b/src/main/java/rtg/world/biome/realistic/sushicraft/RealisticBiomeSCBase.java index 8e3223051..4d21ed7eb 100644 --- a/src/main/java/rtg/world/biome/realistic/sushicraft/RealisticBiomeSCBase.java +++ b/src/main/java/rtg/world/biome/realistic/sushicraft/RealisticBiomeSCBase.java @@ -2,13 +2,15 @@ import net.minecraft.world.biome.BiomeGenBase; + +import cpw.mods.fml.common.Loader; + import rtg.api.biome.BiomeConfig; -import rtg.api.biome.thaumcraft.config.BiomeConfigTC; +import rtg.api.biome.sushicraft.config.BiomeConfigSC; import rtg.util.Logger; import rtg.world.biome.realistic.RealisticBiomeBase; import rtg.world.gen.surface.SurfaceBase; import rtg.world.gen.terrain.TerrainBase; -import cpw.mods.fml.common.Loader; /** * Created by VelocityRa on 15/4/2016. */ @@ -46,7 +48,7 @@ public static void addBiomes() if (biomeName == "Sakura Forest" && biomeClass == "fr.kingstone.sushicraft.world.biome.BiomeGenSakura") { - scSakuraForest = new RealisticBiomeSCSakuraForest(scBiome, BiomeConfigTC.biomeConfigTCMagicalForest); + scSakuraForest = new RealisticBiomeSCSakuraForest(scBiome, BiomeConfigSC.biomeConfigSCSakuraForest); } } } From daf1447bd8aea542d7dc87422a06a862240143c1 Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Thu, 29 Jun 2017 22:06:45 +0100 Subject: [PATCH 4/7] Added biome support for In the Darkness. --- build.properties | 1 + src/main/java/rtg/RTG.java | 2 + .../api/biome/itd/config/BiomeConfigITD.java | 19 ++ .../biome/itd/config/BiomeConfigITDBase.java | 12 ++ .../itd/config/BiomeConfigITDDarkForest.java | 10 + .../java/rtg/config/BiomeConfigManager.java | 16 +- src/main/java/rtg/config/ConfigManager.java | 4 + src/main/java/rtg/config/itd/ConfigITD.java | 37 ++++ .../realistic/itd/RealisticBiomeITDBase.java | 55 ++++++ .../itd/RealisticBiomeITDDarkForest.java | 53 ++++++ .../gen/surface/itd/SurfaceITDDarkForest.java | 171 ++++++++++++++++++ .../gen/terrain/itd/TerrainITDDarkForest.java | 34 ++++ 12 files changed, 410 insertions(+), 4 deletions(-) create mode 100644 src/main/java/rtg/api/biome/itd/config/BiomeConfigITD.java create mode 100644 src/main/java/rtg/api/biome/itd/config/BiomeConfigITDBase.java create mode 100644 src/main/java/rtg/api/biome/itd/config/BiomeConfigITDDarkForest.java create mode 100644 src/main/java/rtg/config/itd/ConfigITD.java create mode 100644 src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDBase.java create mode 100644 src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDDarkForest.java create mode 100644 src/main/java/rtg/world/gen/surface/itd/SurfaceITDDarkForest.java create mode 100644 src/main/java/rtg/world/gen/terrain/itd/TerrainITDDarkForest.java diff --git a/build.properties b/build.properties index 82e0ce991..72bf2b905 100644 --- a/build.properties +++ b/build.properties @@ -27,6 +27,7 @@ mod_deps=after:abyssalcraft@[1.9.1.2,);\ after:Highlands@[2.2.3,);\ after:hot_water;\ after:ICMod@[1.5.0,);\ + after:InTheDarkness;\ after:lom@[1.7.10-3.2.0,);\ after:Mariculture@[1.7.10-1.2.4.2a-5,);\ after:mod_IDT;\ diff --git a/src/main/java/rtg/RTG.java b/src/main/java/rtg/RTG.java index 26c70c557..a12fabc7a 100755 --- a/src/main/java/rtg/RTG.java +++ b/src/main/java/rtg/RTG.java @@ -37,6 +37,7 @@ import rtg.world.biome.realistic.hotwatermod.RealisticBiomeHWMBase; import rtg.world.biome.realistic.icmod.RealisticBiomeICBase; import rtg.world.biome.realistic.idt.RealisticBiomeIDTBase; +import rtg.world.biome.realistic.itd.RealisticBiomeITDBase; import rtg.world.biome.realistic.lotsomobs.RealisticBiomeLOMBase; import rtg.world.biome.realistic.ridiculousworld.RealisticBiomeRWBase; import rtg.world.biome.realistic.thaumcraft.RealisticBiomeTCBase; @@ -121,6 +122,7 @@ public void postInit(FMLPostInitializationEvent event) RealisticBiomeFNBase.addBiomes(); RealisticBiomeICBase.addBiomes(); RealisticBiomeIDTBase.addBiomes(); + RealisticBiomeITDBase.addBiomes(); RealisticBiomeFCBase.addBiomes(); RealisticBiomeHWMBase.addBiomes(); diff --git a/src/main/java/rtg/api/biome/itd/config/BiomeConfigITD.java b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITD.java new file mode 100644 index 000000000..46e08e438 --- /dev/null +++ b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITD.java @@ -0,0 +1,19 @@ +package rtg.api.biome.itd.config; + +import rtg.api.biome.BiomeConfig; + + +public class BiomeConfigITD +{ + + public static BiomeConfig biomeConfigITDDarkForest; + + public static BiomeConfig[] getBiomeConfigs() + { + BiomeConfig[] biomeConfigs = new BiomeConfig[]{ + biomeConfigITDDarkForest + }; + + return biomeConfigs; + } +} diff --git a/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDBase.java b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDBase.java new file mode 100644 index 000000000..17ebcc765 --- /dev/null +++ b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDBase.java @@ -0,0 +1,12 @@ +package rtg.api.biome.itd.config; + +import rtg.api.biome.BiomeConfig; + +public class BiomeConfigITDBase extends BiomeConfig +{ + + public BiomeConfigITDBase(String biomeSlug) + { + super("inthedarkness", biomeSlug); + } +} diff --git a/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDDarkForest.java b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDDarkForest.java new file mode 100644 index 000000000..629f3a9db --- /dev/null +++ b/src/main/java/rtg/api/biome/itd/config/BiomeConfigITDDarkForest.java @@ -0,0 +1,10 @@ +package rtg.api.biome.itd.config; + + +public class BiomeConfigITDDarkForest extends BiomeConfigITDBase +{ + public BiomeConfigITDDarkForest() + { + super("darkforest"); + } +} diff --git a/src/main/java/rtg/config/BiomeConfigManager.java b/src/main/java/rtg/config/BiomeConfigManager.java index 53f60ad77..d4b9304c5 100644 --- a/src/main/java/rtg/config/BiomeConfigManager.java +++ b/src/main/java/rtg/config/BiomeConfigManager.java @@ -34,6 +34,8 @@ import rtg.api.biome.idt.config.BiomeConfigIDTEbonyForest; import rtg.api.biome.idt.config.BiomeConfigIDTSilkwoodForest; import rtg.api.biome.idt.config.BiomeConfigIDTWillowForest; +import rtg.api.biome.itd.config.BiomeConfigITD; +import rtg.api.biome.itd.config.BiomeConfigITDDarkForest; import rtg.api.biome.lotsomobs.config.BiomeConfigLOM; import rtg.api.biome.lotsomobs.config.BiomeConfigLOMAntartica; import rtg.api.biome.lotsomobs.config.BiomeConfigLOMTropicalBeach; @@ -65,6 +67,7 @@ public static void initBiomeConfigs() initBiomeConfigsHWM(); initBiomeConfigsIC(); initBiomeConfigsIDT(); + initBiomeConfigsITD(); initBiomeConfigsRW(); initBiomeConfigsTC(); initBiomeConfigsVAMP(); @@ -388,12 +391,17 @@ public static void initBiomeConfigsIC() { BiomeConfigIC.biomeConfigICIceCream = new BiomeConfigICIceCream(); } - + public static void initBiomeConfigsIDT() { - BiomeConfigIDT.biomeConfigIDTEbonyForest = new BiomeConfigIDTEbonyForest(); - BiomeConfigIDT.biomeConfigIDTSilkwoodForest = new BiomeConfigIDTSilkwoodForest(); - BiomeConfigIDT.biomeConfigIDTWillowForest = new BiomeConfigIDTWillowForest(); + BiomeConfigIDT.biomeConfigIDTEbonyForest = new BiomeConfigIDTEbonyForest(); + BiomeConfigIDT.biomeConfigIDTSilkwoodForest = new BiomeConfigIDTSilkwoodForest(); + BiomeConfigIDT.biomeConfigIDTWillowForest = new BiomeConfigIDTWillowForest(); + } + + public static void initBiomeConfigsITD() + { + BiomeConfigITD.biomeConfigITDDarkForest = new BiomeConfigITDDarkForest(); } public static void initBiomeConfigsRW() diff --git a/src/main/java/rtg/config/ConfigManager.java b/src/main/java/rtg/config/ConfigManager.java index 66934ead9..b76683056 100755 --- a/src/main/java/rtg/config/ConfigManager.java +++ b/src/main/java/rtg/config/ConfigManager.java @@ -17,6 +17,7 @@ import rtg.config.hotwatermod.ConfigHWM; import rtg.config.icmod.ConfigIC; import rtg.config.idt.ConfigIDT; +import rtg.config.itd.ConfigITD; import rtg.config.ridiculousworld.ConfigRW; import rtg.config.rtg.ConfigRTG; import rtg.config.thaumcraft.ConfigTC; @@ -47,6 +48,7 @@ public class ConfigManager public static File fnConfigFile; public static File icConfigFile; public static File idtConfigFile; + public static File itdConfigFile; public static File fcConfigFile; private ConfigRTG configRTG = new ConfigRTG(); @@ -77,6 +79,7 @@ public static void init(String configpath) fnConfigFile = new File(configpath + "biomes/forgottennature.cfg"); icConfigFile = new File(configpath + "biomes/icecreammod.cfg"); idtConfigFile = new File(configpath + "biomes/industrialtechnologies.cfg"); + itdConfigFile = new File(configpath + "biomes/inthedarkness.cfg"); fcConfigFile = new File(configpath + "biomes/flowercraft.cfg"); ConfigRTG.init(rtgConfigFile); @@ -101,6 +104,7 @@ public static void init(String configpath) ConfigFN.init(fnConfigFile); ConfigIC.init(icConfigFile); ConfigIDT.init(idtConfigFile); + ConfigITD.init(itdConfigFile); ConfigFC.init(fcConfigFile); } } diff --git a/src/main/java/rtg/config/itd/ConfigITD.java b/src/main/java/rtg/config/itd/ConfigITD.java new file mode 100644 index 000000000..bc858cbbb --- /dev/null +++ b/src/main/java/rtg/config/itd/ConfigITD.java @@ -0,0 +1,37 @@ +package rtg.config.itd; + +import java.io.File; + +import net.minecraftforge.common.config.Configuration; + +import rtg.api.biome.itd.config.BiomeConfigITD; +import rtg.config.BiomeConfigManager; +import rtg.util.Logger; + +public class ConfigITD +{ + public static Configuration config; + + public static void init(File configFile) + { + + config = new Configuration(configFile); + + try + { + config.load(); + + BiomeConfigManager.setBiomeConfigsFromUserConfigs(BiomeConfigITD.getBiomeConfigs(), config); + + } catch (Exception e) + { + Logger.error("RTG had a problem loading ITD configuration."); + } finally + { + if (config.hasChanged()) + { + config.save(); + } + } + } +} diff --git a/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDBase.java b/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDBase.java new file mode 100644 index 000000000..722ba0715 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDBase.java @@ -0,0 +1,55 @@ +package rtg.world.biome.realistic.itd; + + +import net.minecraft.world.biome.BiomeGenBase; + +import cpw.mods.fml.common.Loader; + +import rtg.api.biome.BiomeConfig; +import rtg.api.biome.itd.config.BiomeConfigITD; +import rtg.util.Logger; +import rtg.world.biome.realistic.RealisticBiomeBase; +import rtg.world.gen.surface.SurfaceBase; +import rtg.world.gen.terrain.TerrainBase; + + +public class RealisticBiomeITDBase extends RealisticBiomeBase +{ + public static RealisticBiomeBase itdDarkForest; + + public RealisticBiomeITDBase(BiomeConfig config, BiomeGenBase b, BiomeGenBase riverbiome, TerrainBase t, SurfaceBase s) + { + super(config, b, riverbiome, t, s); + + this.waterSurfaceLakeChance = 0; + this.lavaSurfaceLakeChance = 0; + } + + public static void addBiomes() + { + if (Loader.isModLoaded("InTheDarkness")) + { + BiomeGenBase[] b = BiomeGenBase.getBiomeGenArray(); + + for(int i = 0; i < 256; i++) + { + if(b[i] != null) + { + if (b[i].biomeName == null) { + Logger.warn("Biome ID %d has no name.", b[i].biomeID); + continue; + } + + BiomeGenBase itdBiome = b[i]; + String biomeName = itdBiome.biomeName; + String biomeClass = itdBiome.getBiomeClass().getName(); + + if (biomeName.equals("darkForest") && biomeClass.equals("mod.mcreator.mcreator_darkForest$BiomeGendarkForest")) + { + itdDarkForest = new RealisticBiomeITDDarkForest(itdBiome, BiomeConfigITD.biomeConfigITDDarkForest); + } + } + } + } + } +} \ No newline at end of file diff --git a/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDDarkForest.java b/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDDarkForest.java new file mode 100644 index 000000000..ad64cd1bb --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/itd/RealisticBiomeITDDarkForest.java @@ -0,0 +1,53 @@ +package rtg.world.biome.realistic.itd; + +import net.minecraft.init.Blocks; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.*; +import rtg.world.gen.surface.sushicraft.SurfaceSCSakuraForest; +import rtg.world.gen.terrain.sushicraft.TerrainSCSakuraForest; + + +public class RealisticBiomeITDDarkForest extends RealisticBiomeITDBase { + + public RealisticBiomeITDDarkForest(BiomeGenBase itdBiome, BiomeConfig config) { + + super(config, + itdBiome, BiomeGenBase.river, + new TerrainSCSakuraForest(), + new SurfaceSCSakuraForest(config, itdBiome.topBlock, itdBiome.fillerBlock, false, null, 0f, 1.5f, 60f, 65f, 1.5f, Blocks.dirt, (byte)2, 0.15f) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + decoBaseBiomeDecorations.allowed = true; + this.addDeco(decoBaseBiomeDecorations); + + DecoBoulder decoBoulder = new DecoBoulder(); + decoBoulder.boulderBlock = Blocks.cobblestone; + decoBoulder.chance = 24; + decoBoulder.maxY = 95; + decoBoulder.strengthFactor = 1f; + this.addDeco(decoBoulder); + + DecoShrub decoShrub = new DecoShrub(); + decoShrub.maxY = 110; + decoShrub.notEqualsZerochance = 4; + decoShrub.strengthFactor = 2f; + this.addDeco(decoShrub); + + DecoFlowersRTG decoFlowersRTG = new DecoFlowersRTG(); + decoFlowersRTG.flowers = new int[] {6, 8}; + decoFlowersRTG.maxY = 128; + decoFlowersRTG.heightType = DecoFlowersRTG.HeightType.NEXT_INT; + decoFlowersRTG.notEqualsZeroChance = 4; + decoFlowersRTG.strengthFactor = 8f; + this.addDeco(decoFlowersRTG); + + DecoGrass decoGrass = new DecoGrass(); + decoGrass.maxY = 128; + decoGrass.notEqualsZerochance = 4; + decoGrass.strengthFactor = 10f; + this.addDeco(decoGrass); + } +} diff --git a/src/main/java/rtg/world/gen/surface/itd/SurfaceITDDarkForest.java b/src/main/java/rtg/world/gen/surface/itd/SurfaceITDDarkForest.java new file mode 100644 index 000000000..6712682dd --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/itd/SurfaceITDDarkForest.java @@ -0,0 +1,171 @@ +package rtg.world.gen.surface.itd; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + + +public class SurfaceITDDarkForest extends SurfaceBase +{ + private boolean beach; + private Block beachBlock; + private float min; + + private float sCliff = 1.5f; + private float sHeight = 60f; + private float sStrength = 65f; + private float cCliff = 1.5f; + + private Block mixBlock; + private byte mixBlockMeta; + private float mixHeight; + + public SurfaceITDDarkForest(BiomeConfig config, Block top, Block fill, boolean genBeach, Block genBeachBlock, float minCliff, float stoneCliff, + float stoneHeight, float stoneStrength, float clayCliff, Block mix, byte mixByte, float mixSize) + { + + super(config, top, (byte)0, fill, (byte)0); + beach = genBeach; + beachBlock = genBeachBlock; + min = minCliff; + + sCliff = stoneCliff; + sHeight = stoneHeight; + sStrength = stoneStrength; + cCliff = clayCliff; + + mixBlock = mix; + mixBlockMeta = mixByte; + mixHeight = mixSize; + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, + OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + + float c = CliffCalculator.calc(x, y, noise); + int cliff = 0; + boolean gravel = false; + boolean m = false; + + Block b; + for (int k = 255; k > -1; k--) + { + b = blocks[(y * 16 + x) * 256 + k]; + if (b == Blocks.air) + { + depth = -1; + } + else if (b == Blocks.stone) + { + depth++; + + if (depth == 0) + { + if (k < 63) + { + if (beach) + { + gravel = true; + } + } + + float p = simplex.noise3(i / 8f, j / 8f, k / 8f) * 0.5f; + if (c > min && c > sCliff - ((k - sHeight) / sStrength) + p) + { + cliff = 1; + } + if (c > cCliff) + { + cliff = 2; + } + + if (cliff == 1) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (cliff == 2) + { + blocks[(y * 16 + x) * 256 + k] = getShadowStoneBlock(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = getShadowStoneMeta(world, i, j, x, y, k); + } + else if (k < 63) + { + if (beach) + { + blocks[(y * 16 + x) * 256 + k] = beachBlock; + gravel = true; + } + else if (k < 62) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + else + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + } + else if (simplex.noise2(i / 12f, j / 12f) > mixHeight) + { + blocks[(y * 16 + x) * 256 + k] = mixBlock; + metadata[(y * 16 + x) * 256 + k] = mixBlockMeta; + m = true; + } + else + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + } + else if (depth < 6) + { + if (cliff == 1) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + else if (cliff == 2) + { + blocks[(y * 16 + x) * 256 + k] = getShadowStoneBlock(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = getShadowStoneMeta(world, i, j, x, y, k); + } + else if (gravel) + { + blocks[(y * 16 + x) * 256 + k] = beachBlock; + } + else if (m) + { + blocks[(y * 16 + x) * 256 + k] = mixBlock; + metadata[(y * 16 + x) * 256 + k] = mixBlockMeta; + } + else + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/terrain/itd/TerrainITDDarkForest.java b/src/main/java/rtg/world/gen/terrain/itd/TerrainITDDarkForest.java new file mode 100644 index 000000000..67dbc847a --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/itd/TerrainITDDarkForest.java @@ -0,0 +1,34 @@ +package rtg.world.gen.terrain.itd; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + + +public class TerrainITDDarkForest extends TerrainBase + { + private float baseHeight = 76f; + private float hillStrength = 30f; + + public TerrainITDDarkForest() + { + + } + + public TerrainITDDarkForest(float bh, float hs) + { + baseHeight = bh; + hillStrength = hs; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + + groundNoise = groundNoise(x, y, groundNoiseAmplitudeHills, simplex); + + float m = hills(x, y, hillStrength, simplex, river); + + return baseHeight + groundNoise + m; + } + } From 151fbd4847ebea49c0114883943fd8fbb218c93f Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Sun, 2 Jul 2017 09:07:02 +0100 Subject: [PATCH 5/7] Added biome support for Eccentric Biomes. --- build.properties | 1 + src/main/java/rtg/RTG.java | 2 + .../config/BiomeConfigECC.java | 48 ++++++++ .../config/BiomeConfigECCAmethyst.java | 10 ++ .../config/BiomeConfigECCAmethystGrove.java | 10 ++ .../config/BiomeConfigECCArctic.java | 10 ++ .../config/BiomeConfigECCAutilField.java | 10 ++ .../config/BiomeConfigECCBase.java | 12 ++ .../config/BiomeConfigECCBone.java | 10 ++ .../config/BiomeConfigECCDeadLand.java | 10 ++ .../config/BiomeConfigECCDeathForest.java | 10 ++ .../config/BiomeConfigECCFertile.java | 10 ++ .../config/BiomeConfigECCFlamage.java | 10 ++ .../config/BiomeConfigECCGlassland.java | 10 ++ .../config/BiomeConfigECCHighLands.java | 10 ++ .../config/BiomeConfigECCHive.java | 10 ++ .../config/BiomeConfigECCObsidianForest.java | 10 ++ .../config/BiomeConfigECCOcher.java | 10 ++ .../config/BiomeConfigECCSnowyDesert.java | 10 ++ .../config/BiomeConfigECCVoid.java | 10 ++ .../java/rtg/config/BiomeConfigManager.java | 22 ++++ src/main/java/rtg/config/ConfigManager.java | 4 + .../rtg/config/eccentricbiomes/ConfigECC.java | 38 ++++++ .../RealisticBiomeECCAmethyst.java | 25 ++++ .../RealisticBiomeECCAmethystGrove.java | 25 ++++ .../RealisticBiomeECCArctic.java | 25 ++++ .../RealisticBiomeECCAutilField.java | 25 ++++ .../RealisticBiomeECCBase.java | 114 ++++++++++++++++++ .../RealisticBiomeECCBone.java | 25 ++++ .../RealisticBiomeECCDeadLand.java | 25 ++++ .../RealisticBiomeECCDeathForest.java | 25 ++++ .../RealisticBiomeECCFertile.java | 25 ++++ .../RealisticBiomeECCFlamage.java | 25 ++++ .../RealisticBiomeECCGlassland.java | 25 ++++ .../RealisticBiomeECCHighLands.java | 25 ++++ .../RealisticBiomeECCHive.java | 25 ++++ .../RealisticBiomeECCObsidianForest.java | 25 ++++ .../RealisticBiomeECCOcher.java | 25 ++++ .../RealisticBiomeECCSnowyDesert.java | 25 ++++ .../RealisticBiomeECCVoid.java | 25 ++++ .../eccentricbiomes/SurfaceECCAmethyst.java | 78 ++++++++++++ .../SurfaceECCAmethystGrove.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCArctic.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCAutilField.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCBone.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCDeadLand.java | 78 ++++++++++++ .../SurfaceECCDeathForest.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCFertile.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCFlamage.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCGlassland.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCHighLands.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCHive.java | 78 ++++++++++++ .../SurfaceECCObsidianForest.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCOcher.java | 78 ++++++++++++ .../SurfaceECCSnowyDesert.java | 78 ++++++++++++ .../eccentricbiomes/SurfaceECCVoid.java | 78 ++++++++++++ .../eccentricbiomes/TerrainECCAmethyst.java | 20 +++ .../TerrainECCAmethystGrove.java | 20 +++ .../eccentricbiomes/TerrainECCArctic.java | 21 ++++ .../eccentricbiomes/TerrainECCAutilField.java | 19 +++ .../eccentricbiomes/TerrainECCBone.java | 70 +++++++++++ .../eccentricbiomes/TerrainECCDeadLand.java | 30 +++++ .../TerrainECCDeathForest.java | 27 +++++ .../eccentricbiomes/TerrainECCFertile.java | 27 +++++ .../eccentricbiomes/TerrainECCFlamage.java | 27 +++++ .../eccentricbiomes/TerrainECCGlassland.java | 20 +++ .../eccentricbiomes/TerrainECCHighLands.java | 33 +++++ .../eccentricbiomes/TerrainECCHive.java | 27 +++++ .../TerrainECCObsidianForest.java | 20 +++ .../eccentricbiomes/TerrainECCOcher.java | 20 +++ .../TerrainECCSnowyDesert.java | 31 +++++ .../eccentricbiomes/TerrainECCVoid.java | 46 +++++++ 72 files changed, 2507 insertions(+) create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECC.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethyst.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethystGrove.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCArctic.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAutilField.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBase.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBone.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeadLand.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeathForest.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFertile.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFlamage.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCGlassland.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHighLands.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHive.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCObsidianForest.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCOcher.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCSnowyDesert.java create mode 100644 src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCVoid.java create mode 100644 src/main/java/rtg/config/eccentricbiomes/ConfigECC.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethyst.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethystGrove.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCArctic.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAutilField.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBase.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBone.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeadLand.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeathForest.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFertile.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFlamage.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCGlassland.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHighLands.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHive.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCObsidianForest.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCOcher.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCSnowyDesert.java create mode 100644 src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCVoid.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethyst.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethystGrove.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCArctic.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAutilField.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCBone.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeadLand.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeathForest.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFertile.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFlamage.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCGlassland.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHighLands.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHive.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCObsidianForest.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCOcher.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCSnowyDesert.java create mode 100644 src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCVoid.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethyst.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethystGrove.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCArctic.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAutilField.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCBone.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeadLand.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeathForest.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFertile.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFlamage.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCGlassland.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHighLands.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHive.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCObsidianForest.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCOcher.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCSnowyDesert.java create mode 100644 src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCVoid.java diff --git a/build.properties b/build.properties index 72bf2b905..688b54cda 100644 --- a/build.properties +++ b/build.properties @@ -30,6 +30,7 @@ mod_deps=after:abyssalcraft@[1.9.1.2,);\ after:InTheDarkness;\ after:lom@[1.7.10-3.2.0,);\ after:Mariculture@[1.7.10-1.2.4.2a-5,);\ + after:mod_ebm;\ after:mod_IDT;\ after:Railcraft@[9.7.0.0,);\ after:RidiculousWorld@[0.1,);\ diff --git a/src/main/java/rtg/RTG.java b/src/main/java/rtg/RTG.java index a12fabc7a..e71a5fde2 100755 --- a/src/main/java/rtg/RTG.java +++ b/src/main/java/rtg/RTG.java @@ -28,6 +28,7 @@ import rtg.world.biome.realistic.biomesoplenty.RealisticBiomeBOPBase; import rtg.world.biome.realistic.buildcraft.RealisticBiomeBCBase; import rtg.world.biome.realistic.chromaticraft.RealisticBiomeCCBase; +import rtg.world.biome.realistic.eccentricbiomes.RealisticBiomeECCBase; import rtg.world.biome.realistic.enhancedbiomes.RealisticBiomeEBBase; import rtg.world.biome.realistic.extrabiomes.RealisticBiomeEBXLBase; import rtg.world.biome.realistic.flowercraft.RealisticBiomeFCBase; @@ -107,6 +108,7 @@ public void postInit(FMLPostInitializationEvent event) RealisticBiomeBOPBase.addBiomes(); RealisticBiomeEBBase.addBiomes(); RealisticBiomeEBXLBase.addBiomes(); + RealisticBiomeECCBase.addBiomes(); RealisticBiomeHLBase.addBiomes(); RealisticBiomeTCBase.addBiomes(); RealisticBiomeBCBase.addBiomes(); diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECC.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECC.java new file mode 100644 index 000000000..a4be668b8 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECC.java @@ -0,0 +1,48 @@ +package rtg.api.biome.eccentricbiomes.config; + +import rtg.api.biome.BiomeConfig; + + +public class BiomeConfigECC +{ + public static BiomeConfig biomeConfigECCAmethyst; + public static BiomeConfig biomeConfigECCAmethystGrove; + public static BiomeConfig biomeConfigECCArctic; + public static BiomeConfig biomeConfigECCAutilField; + public static BiomeConfig biomeConfigECCBone; + public static BiomeConfig biomeConfigECCDeadLand; + public static BiomeConfig biomeConfigECCDeathForest; + public static BiomeConfig biomeConfigECCFertile; + public static BiomeConfig biomeConfigECCFlamage; + public static BiomeConfig biomeConfigECCGlassland; + public static BiomeConfig biomeConfigECCHighLands; + public static BiomeConfig biomeConfigECCHive; + public static BiomeConfig biomeConfigECCObsidianForest; + public static BiomeConfig biomeConfigECCOcher; + public static BiomeConfig biomeConfigECCSnowyDesert; + public static BiomeConfig biomeConfigECCVoid; + + public static BiomeConfig[] getBiomeConfigs() + { + BiomeConfig[] biomeConfigs = new BiomeConfig[]{ + biomeConfigECCAmethyst, + biomeConfigECCAmethystGrove, + biomeConfigECCArctic, + biomeConfigECCAutilField, + biomeConfigECCBone, + biomeConfigECCDeadLand, + biomeConfigECCDeathForest, + biomeConfigECCFertile, + biomeConfigECCFlamage, + biomeConfigECCGlassland, + biomeConfigECCHighLands, + biomeConfigECCHive, + biomeConfigECCObsidianForest, + biomeConfigECCOcher, + biomeConfigECCSnowyDesert, + biomeConfigECCVoid + }; + + return biomeConfigs; + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethyst.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethyst.java new file mode 100644 index 000000000..447b86248 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethyst.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCAmethyst extends BiomeConfigECCBase +{ + public BiomeConfigECCAmethyst() + { + super("amethyst"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethystGrove.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethystGrove.java new file mode 100644 index 000000000..d780c2023 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAmethystGrove.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCAmethystGrove extends BiomeConfigECCBase +{ + public BiomeConfigECCAmethystGrove() + { + super("amethystgrove"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCArctic.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCArctic.java new file mode 100644 index 000000000..892dbc242 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCArctic.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCArctic extends BiomeConfigECCBase +{ + public BiomeConfigECCArctic() + { + super("arctic"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAutilField.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAutilField.java new file mode 100644 index 000000000..a40f2988a --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCAutilField.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCAutilField extends BiomeConfigECCBase +{ + public BiomeConfigECCAutilField() + { + super("autilfield"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBase.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBase.java new file mode 100644 index 000000000..589e8af8c --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBase.java @@ -0,0 +1,12 @@ +package rtg.api.biome.eccentricbiomes.config; + +import rtg.api.biome.BiomeConfig; + +public class BiomeConfigECCBase extends BiomeConfig +{ + + public BiomeConfigECCBase(String biomeSlug) + { + super("eccentricbiomes", biomeSlug); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBone.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBone.java new file mode 100644 index 000000000..59ef86b86 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCBone.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCBone extends BiomeConfigECCBase +{ + public BiomeConfigECCBone() + { + super("bone"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeadLand.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeadLand.java new file mode 100644 index 000000000..ae46ff5c8 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeadLand.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCDeadLand extends BiomeConfigECCBase +{ + public BiomeConfigECCDeadLand() + { + super("deadland"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeathForest.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeathForest.java new file mode 100644 index 000000000..632ba5754 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCDeathForest.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCDeathForest extends BiomeConfigECCBase +{ + public BiomeConfigECCDeathForest() + { + super("deathforest"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFertile.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFertile.java new file mode 100644 index 000000000..46daf7947 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFertile.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCFertile extends BiomeConfigECCBase +{ + public BiomeConfigECCFertile() + { + super("fertile"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFlamage.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFlamage.java new file mode 100644 index 000000000..502fd5c1f --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCFlamage.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCFlamage extends BiomeConfigECCBase +{ + public BiomeConfigECCFlamage() + { + super("flamage"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCGlassland.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCGlassland.java new file mode 100644 index 000000000..c9cbfeec9 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCGlassland.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCGlassland extends BiomeConfigECCBase +{ + public BiomeConfigECCGlassland() + { + super("glassland"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHighLands.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHighLands.java new file mode 100644 index 000000000..dea0c9022 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHighLands.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCHighLands extends BiomeConfigECCBase +{ + public BiomeConfigECCHighLands() + { + super("highlands"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHive.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHive.java new file mode 100644 index 000000000..4533ba1f9 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCHive.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCHive extends BiomeConfigECCBase +{ + public BiomeConfigECCHive() + { + super("hive"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCObsidianForest.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCObsidianForest.java new file mode 100644 index 000000000..af985afa6 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCObsidianForest.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCObsidianForest extends BiomeConfigECCBase +{ + public BiomeConfigECCObsidianForest() + { + super("obsidianforest"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCOcher.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCOcher.java new file mode 100644 index 000000000..efddcae2f --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCOcher.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCOcher extends BiomeConfigECCBase +{ + public BiomeConfigECCOcher() + { + super("ocher"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCSnowyDesert.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCSnowyDesert.java new file mode 100644 index 000000000..923b9e2f4 --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCSnowyDesert.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCSnowyDesert extends BiomeConfigECCBase +{ + public BiomeConfigECCSnowyDesert() + { + super("snowydesert"); + } +} diff --git a/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCVoid.java b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCVoid.java new file mode 100644 index 000000000..80a72b86a --- /dev/null +++ b/src/main/java/rtg/api/biome/eccentricbiomes/config/BiomeConfigECCVoid.java @@ -0,0 +1,10 @@ +package rtg.api.biome.eccentricbiomes.config; + + +public class BiomeConfigECCVoid extends BiomeConfigECCBase +{ + public BiomeConfigECCVoid() + { + super("void"); + } +} diff --git a/src/main/java/rtg/config/BiomeConfigManager.java b/src/main/java/rtg/config/BiomeConfigManager.java index d4b9304c5..d81da54f3 100644 --- a/src/main/java/rtg/config/BiomeConfigManager.java +++ b/src/main/java/rtg/config/BiomeConfigManager.java @@ -18,6 +18,7 @@ import rtg.api.biome.chromaticraft.config.BiomeConfigCCEnderForest; import rtg.api.biome.chromaticraft.config.BiomeConfigCCLuminousCliffs; import rtg.api.biome.chromaticraft.config.BiomeConfigCCRainbowForest; +import rtg.api.biome.eccentricbiomes.config.*; import rtg.api.biome.enhancedbiomes.config.*; import rtg.api.biome.extrabiomes.config.*; import rtg.api.biome.flowercraft.config.BiomeConfigFC; @@ -62,6 +63,7 @@ public static void initBiomeConfigs() initBiomeConfigsCC(); initBiomeConfigsEB(); initBiomeConfigsEBXL(); + initBiomeConfigsECC(); initBiomeConfigsGC(); initBiomeConfigsHL(); initBiomeConfigsHWM(); @@ -325,6 +327,26 @@ public static void initBiomeConfigsEBXL() BiomeConfigEBXL.biomeConfigEBXLWoodlands = new BiomeConfigEBXLWoodlands(); } + public static void initBiomeConfigsECC() + { + BiomeConfigECC.biomeConfigECCAmethyst = new BiomeConfigECCAmethyst(); + BiomeConfigECC.biomeConfigECCAmethystGrove = new BiomeConfigECCAmethystGrove(); + BiomeConfigECC.biomeConfigECCArctic = new BiomeConfigECCArctic(); + BiomeConfigECC.biomeConfigECCAutilField = new BiomeConfigECCAutilField(); + BiomeConfigECC.biomeConfigECCBone = new BiomeConfigECCBone(); + BiomeConfigECC.biomeConfigECCDeadLand = new BiomeConfigECCDeadLand(); + BiomeConfigECC.biomeConfigECCDeathForest = new BiomeConfigECCDeathForest(); + BiomeConfigECC.biomeConfigECCFertile = new BiomeConfigECCFertile(); + BiomeConfigECC.biomeConfigECCFlamage = new BiomeConfigECCFlamage(); + BiomeConfigECC.biomeConfigECCGlassland = new BiomeConfigECCGlassland(); + BiomeConfigECC.biomeConfigECCHighLands = new BiomeConfigECCHighLands(); + BiomeConfigECC.biomeConfigECCHive = new BiomeConfigECCHive(); + BiomeConfigECC.biomeConfigECCObsidianForest = new BiomeConfigECCObsidianForest(); + BiomeConfigECC.biomeConfigECCOcher = new BiomeConfigECCOcher(); + BiomeConfigECC.biomeConfigECCSnowyDesert = new BiomeConfigECCSnowyDesert(); + BiomeConfigECC.biomeConfigECCVoid = new BiomeConfigECCVoid(); + } + public static void initBiomeConfigsGC() { BiomeConfigGC.biomeConfigGCBambooForest = new BiomeConfigGCBambooForest(); diff --git a/src/main/java/rtg/config/ConfigManager.java b/src/main/java/rtg/config/ConfigManager.java index b76683056..37b6dd5a3 100755 --- a/src/main/java/rtg/config/ConfigManager.java +++ b/src/main/java/rtg/config/ConfigManager.java @@ -8,6 +8,7 @@ import rtg.config.biomesoplenty.ConfigBOP; import rtg.config.buildcraft.ConfigBC; import rtg.config.chromaticraft.ConfigCC; +import rtg.config.eccentricbiomes.ConfigECC; import rtg.config.enhancedbiomes.ConfigEB; import rtg.config.extrabiomes.ConfigEBXL; import rtg.config.flowercraft.ConfigFC; @@ -33,6 +34,7 @@ public class ConfigManager public static File bopConfigFile; public static File ebxlConfigFile; public static File ebConfigFile; + public static File eccConfigFile; public static File hlConfigFile; public static File tcConfigFile; public static File bcConfigFile; @@ -64,6 +66,7 @@ public static void init(String configpath) bopConfigFile = new File(configpath + "biomes/biomesoplenty.cfg"); ebxlConfigFile = new File(configpath + "biomes/extrabiomes.cfg"); ebConfigFile = new File(configpath + "biomes/enhancedbiomes.cfg"); + eccConfigFile = new File(configpath + "biomes/eccentricbiomes.cfg"); hlConfigFile = new File(configpath + "biomes/highlands.cfg"); tcConfigFile = new File(configpath + "biomes/thaumcraft.cfg"); bcConfigFile = new File(configpath + "biomes/buildcraft.cfg"); @@ -89,6 +92,7 @@ public static void init(String configpath) ConfigBOP.init(bopConfigFile); ConfigEBXL.init(ebxlConfigFile); ConfigEB.init(ebConfigFile); + ConfigECC.init(eccConfigFile); ConfigHL.init(hlConfigFile); ConfigTC.init(tcConfigFile); ConfigBC.init(bcConfigFile); diff --git a/src/main/java/rtg/config/eccentricbiomes/ConfigECC.java b/src/main/java/rtg/config/eccentricbiomes/ConfigECC.java new file mode 100644 index 000000000..bc5dad4d2 --- /dev/null +++ b/src/main/java/rtg/config/eccentricbiomes/ConfigECC.java @@ -0,0 +1,38 @@ +package rtg.config.eccentricbiomes; + +import java.io.File; + +import net.minecraftforge.common.config.Configuration; + +import rtg.api.biome.eccentricbiomes.config.BiomeConfigECC; +import rtg.config.BiomeConfigManager; +import rtg.util.Logger; + +public class ConfigECC +{ + + public static Configuration config; + + public static void init(File configFile) + { + + config = new Configuration(configFile); + + try + { + config.load(); + + BiomeConfigManager.setBiomeConfigsFromUserConfigs(BiomeConfigECC.getBiomeConfigs(), config); + + } catch (Exception e) + { + Logger.error("RTG had a problem loading Eccentric Biomes configuration."); + } finally + { + if (config.hasChanged()) + { + config.save(); + } + } + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethyst.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethyst.java new file mode 100644 index 000000000..30ac42006 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethyst.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCAmethyst; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCAmethyst; + +public class RealisticBiomeECCAmethyst extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCAmethyst(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCAmethyst(), + new SurfaceECCAmethyst(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethystGrove.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethystGrove.java new file mode 100644 index 000000000..5cdb15267 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAmethystGrove.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCAmethystGrove; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCAmethystGrove; + +public class RealisticBiomeECCAmethystGrove extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCAmethystGrove(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCAmethystGrove(), + new SurfaceECCAmethystGrove(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCArctic.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCArctic.java new file mode 100644 index 000000000..a5880a5d2 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCArctic.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCArctic; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCArctic; + +public class RealisticBiomeECCArctic extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCArctic(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.frozenRiver, + new TerrainECCArctic(), + new SurfaceECCArctic(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAutilField.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAutilField.java new file mode 100644 index 000000000..1ba43c200 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCAutilField.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCAutilField; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCAutilField; + +public class RealisticBiomeECCAutilField extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCAutilField(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCAutilField(), + new SurfaceECCAutilField(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBase.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBase.java new file mode 100644 index 000000000..69c508484 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBase.java @@ -0,0 +1,114 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import cpw.mods.fml.common.Loader; + +import rtg.api.biome.BiomeConfig; +import rtg.api.biome.eccentricbiomes.config.*; +import rtg.util.Logger; +import rtg.world.biome.realistic.RealisticBiomeBase; +import rtg.world.gen.surface.SurfaceBase; +import rtg.world.gen.terrain.TerrainBase; + +public class RealisticBiomeECCBase extends RealisticBiomeBase +{ + public static RealisticBiomeBase eccAmethyst; + public static RealisticBiomeBase eccAmethystGrove; + public static RealisticBiomeBase eccArctic; + public static RealisticBiomeBase eccAutilField; + public static RealisticBiomeBase eccBone; + public static RealisticBiomeBase eccDeadLand; + public static RealisticBiomeBase eccDeathForest; + public static RealisticBiomeBase eccFertile; + public static RealisticBiomeBase eccFlamage; + public static RealisticBiomeBase eccGlassland; + public static RealisticBiomeBase eccHighLands; + public static RealisticBiomeBase eccHive; + public static RealisticBiomeBase eccObsidianForest; + public static RealisticBiomeBase eccOcher; + public static RealisticBiomeBase eccSnowyDesert; + public static RealisticBiomeBase eccVoid; + + public RealisticBiomeECCBase(BiomeConfig config, BiomeGenBase b, BiomeGenBase riverbiome, TerrainBase t, SurfaceBase s) + { + + super(config, b, riverbiome, t, s); + + this.waterSurfaceLakeChance = 0; + this.lavaSurfaceLakeChance = 0; + } + + public static void addBiomes() + { + + if (Loader.isModLoaded("mod_ebm")) + { + BiomeGenBase[] b = BiomeGenBase.getBiomeGenArray(); + + for (int i = 0; i < 256; i++) + { + if (b[i] != null) + { + if (b[i].biomeName == null) { + Logger.warn("Biome ID %d has no name.", b[i].biomeID); + continue; + } + + BiomeGenBase eccBiome = b[i]; + String biomeName = b[i].biomeName; + String biomeClass = b[i].getBiomeClass().getName(); + + if (biomeName.equals("Amethyst") && biomeClass.equals("ebm.com.mce.gen.biomes.Amethyst")) { + eccAmethyst = new RealisticBiomeECCAmethyst(eccBiome, BiomeConfigECC.biomeConfigECCAmethyst); + } + else if (biomeName.equals("Amethyst Grove") && biomeClass.equals("ebm.com.mce.gen.biomes.AmethystGrove")) { + eccAmethystGrove = new RealisticBiomeECCAmethystGrove(eccBiome, BiomeConfigECC.biomeConfigECCAmethystGrove); + } + else if (biomeName.equals("Arctic") && biomeClass.equals("ebm.com.mce.gen.biomes.Arctic")) { + eccArctic = new RealisticBiomeECCArctic(eccBiome, BiomeConfigECC.biomeConfigECCArctic); + } + else if (biomeName.equals("Autil Field") && biomeClass.equals("ebm.com.mce.gen.biomes.AutilField")) { + eccAutilField = new RealisticBiomeECCAutilField(eccBiome, BiomeConfigECC.biomeConfigECCAutilField); + } + else if (biomeName.equals("Bone") && biomeClass.equals("ebm.com.mce.gen.biomes.Bone")) { + eccBone = new RealisticBiomeECCBone(eccBiome, BiomeConfigECC.biomeConfigECCBone); + } + else if (biomeName.equals("Dead Land") && biomeClass.equals("ebm.com.mce.gen.biomes.DeadLand")) { + eccDeadLand = new RealisticBiomeECCDeadLand(eccBiome, BiomeConfigECC.biomeConfigECCDeadLand); + } + else if (biomeName.equals("Death Forest") && biomeClass.equals("ebm.com.mce.gen.biomes.DeathForest")) { + eccDeathForest = new RealisticBiomeECCDeathForest(eccBiome, BiomeConfigECC.biomeConfigECCDeathForest); + } + else if (biomeName.equals("Fertile") && biomeClass.equals("ebm.com.mce.gen.biomes.Fertile")) { + eccFertile = new RealisticBiomeECCFertile(eccBiome, BiomeConfigECC.biomeConfigECCFertile); + } + else if (biomeName.equals("Flamage") && biomeClass.equals("ebm.com.mce.gen.biomes.Flamage")) { + eccFlamage = new RealisticBiomeECCFlamage(eccBiome, BiomeConfigECC.biomeConfigECCFlamage); + } + else if (biomeName.equals("Glassland") && biomeClass.equals("ebm.com.mce.gen.biomes.GlassLand")) { + eccGlassland = new RealisticBiomeECCGlassland(eccBiome, BiomeConfigECC.biomeConfigECCGlassland); + } + else if (biomeName.equals("High Lands") && biomeClass.equals("ebm.com.mce.gen.biomes.HighLand")) { + eccHighLands = new RealisticBiomeECCHighLands(eccBiome, BiomeConfigECC.biomeConfigECCHighLands); + } + else if (biomeName.equals("Hive") && biomeClass.equals("ebm.com.mce.gen.biomes.Hive")) { + eccHive = new RealisticBiomeECCHive(eccBiome, BiomeConfigECC.biomeConfigECCHive); + } + else if (biomeName.equals("Obsidian Forest") && biomeClass.equals("ebm.com.mce.gen.biomes.ObsidianForest")) { + eccObsidianForest = new RealisticBiomeECCObsidianForest(eccBiome, BiomeConfigECC.biomeConfigECCObsidianForest); + } + else if (biomeName.equals("Ocher") && biomeClass.equals("ebm.com.mce.gen.biomes.Ocher")) { + eccOcher = new RealisticBiomeECCOcher(eccBiome, BiomeConfigECC.biomeConfigECCOcher); + } + else if (biomeName.equals("Snowy Desert") && biomeClass.equals("ebm.com.mce.gen.biomes.SnowyDesert")) { + eccSnowyDesert = new RealisticBiomeECCSnowyDesert(eccBiome, BiomeConfigECC.biomeConfigECCSnowyDesert); + } + else if (biomeName.equals("Void") && biomeClass.equals("ebm.com.mce.gen.biomes.Void")) { + eccVoid = new RealisticBiomeECCVoid(eccBiome, BiomeConfigECC.biomeConfigECCVoid); + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBone.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBone.java new file mode 100644 index 000000000..3fbb6bcf3 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCBone.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCBone; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCBone; + +public class RealisticBiomeECCBone extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCBone(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCBone(), + new SurfaceECCBone(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeadLand.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeadLand.java new file mode 100644 index 000000000..4f40ffc3f --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeadLand.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCDeadLand; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCDeadLand; + +public class RealisticBiomeECCDeadLand extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCDeadLand(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCDeadLand(), + new SurfaceECCDeadLand(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeathForest.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeathForest.java new file mode 100644 index 000000000..3444cc601 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCDeathForest.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCDeathForest; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCDeathForest; + +public class RealisticBiomeECCDeathForest extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCDeathForest(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCDeathForest(58f, 80f, 30f), + new SurfaceECCDeathForest(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFertile.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFertile.java new file mode 100644 index 000000000..fb0e1a45d --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFertile.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCFertile; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCFertile; + +public class RealisticBiomeECCFertile extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCFertile(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCFertile(58f, 80f, 30f), + new SurfaceECCFertile(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFlamage.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFlamage.java new file mode 100644 index 000000000..8f1a946f1 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCFlamage.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCFlamage; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCFlamage; + +public class RealisticBiomeECCFlamage extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCFlamage(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCFlamage(58f, 80f, 30f), + new SurfaceECCFlamage(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCGlassland.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCGlassland.java new file mode 100644 index 000000000..28d041d07 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCGlassland.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCGlassland; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCGlassland; + +public class RealisticBiomeECCGlassland extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCGlassland(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCGlassland(), + new SurfaceECCGlassland(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHighLands.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHighLands.java new file mode 100644 index 000000000..73e06f69c --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHighLands.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCHighLands; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCHighLands; + +public class RealisticBiomeECCHighLands extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCHighLands(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCHighLands(), + new SurfaceECCHighLands(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHive.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHive.java new file mode 100644 index 000000000..c79fd2ae4 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCHive.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCHive; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCHive; + +public class RealisticBiomeECCHive extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCHive(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCHive(58f, 80f, 30f), + new SurfaceECCHive(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCObsidianForest.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCObsidianForest.java new file mode 100644 index 000000000..3d8426ece --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCObsidianForest.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCObsidianForest; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCObsidianForest; + +public class RealisticBiomeECCObsidianForest extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCObsidianForest(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCObsidianForest(), + new SurfaceECCObsidianForest(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCOcher.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCOcher.java new file mode 100644 index 000000000..d100f4fc3 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCOcher.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCOcher; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCOcher; + +public class RealisticBiomeECCOcher extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCOcher(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCOcher(), + new SurfaceECCOcher(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCSnowyDesert.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCSnowyDesert.java new file mode 100644 index 000000000..0629e3cdd --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCSnowyDesert.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCSnowyDesert; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCSnowyDesert; + +public class RealisticBiomeECCSnowyDesert extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCSnowyDesert(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.frozenRiver, + new TerrainECCSnowyDesert(), + new SurfaceECCSnowyDesert(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCVoid.java b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCVoid.java new file mode 100644 index 000000000..b0eb9c3a4 --- /dev/null +++ b/src/main/java/rtg/world/biome/realistic/eccentricbiomes/RealisticBiomeECCVoid.java @@ -0,0 +1,25 @@ +package rtg.world.biome.realistic.eccentricbiomes; + +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.world.biome.deco.DecoBaseBiomeDecorations; +import rtg.world.gen.surface.eccentricbiomes.SurfaceECCVoid; +import rtg.world.gen.terrain.eccentricbiomes.TerrainECCVoid; + +public class RealisticBiomeECCVoid extends RealisticBiomeECCBase +{ + + public RealisticBiomeECCVoid(BiomeGenBase eccBiome, BiomeConfig config) + { + + super(config, + eccBiome, BiomeGenBase.river, + new TerrainECCVoid(120f, 100f), + new SurfaceECCVoid(config, eccBiome.topBlock, eccBiome.fillerBlock) + ); + + DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations(); + this.addDeco(decoBaseBiomeDecorations); + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethyst.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethyst.java new file mode 100644 index 000000000..5d7c7e89e --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethyst.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCAmethyst extends SurfaceBase +{ + + public SurfaceECCAmethyst(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethystGrove.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethystGrove.java new file mode 100644 index 000000000..0efa618a6 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAmethystGrove.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCAmethystGrove extends SurfaceBase +{ + + public SurfaceECCAmethystGrove(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCArctic.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCArctic.java new file mode 100644 index 000000000..f1d4ab331 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCArctic.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCArctic extends SurfaceBase +{ + + public SurfaceECCArctic(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAutilField.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAutilField.java new file mode 100644 index 000000000..e0bf7d4b3 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCAutilField.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCAutilField extends SurfaceBase +{ + + public SurfaceECCAutilField(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCBone.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCBone.java new file mode 100644 index 000000000..6da574a0f --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCBone.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCBone extends SurfaceBase +{ + + public SurfaceECCBone(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeadLand.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeadLand.java new file mode 100644 index 000000000..1fba935e5 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeadLand.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCDeadLand extends SurfaceBase +{ + + public SurfaceECCDeadLand(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeathForest.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeathForest.java new file mode 100644 index 000000000..90c0fe87b --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCDeathForest.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCDeathForest extends SurfaceBase +{ + + public SurfaceECCDeathForest(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFertile.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFertile.java new file mode 100644 index 000000000..78a55fbda --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFertile.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCFertile extends SurfaceBase +{ + + public SurfaceECCFertile(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFlamage.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFlamage.java new file mode 100644 index 000000000..8c3c2a3fd --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCFlamage.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCFlamage extends SurfaceBase +{ + + public SurfaceECCFlamage(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCGlassland.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCGlassland.java new file mode 100644 index 000000000..6657b55f7 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCGlassland.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCGlassland extends SurfaceBase +{ + + public SurfaceECCGlassland(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHighLands.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHighLands.java new file mode 100644 index 000000000..9a7b690a2 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHighLands.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCHighLands extends SurfaceBase +{ + + public SurfaceECCHighLands(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHive.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHive.java new file mode 100644 index 000000000..c9da859be --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCHive.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCHive extends SurfaceBase +{ + + public SurfaceECCHive(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCObsidianForest.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCObsidianForest.java new file mode 100644 index 000000000..e4e03135f --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCObsidianForest.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCObsidianForest extends SurfaceBase +{ + + public SurfaceECCObsidianForest(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCOcher.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCOcher.java new file mode 100644 index 000000000..e9bbf0601 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCOcher.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCOcher extends SurfaceBase +{ + + public SurfaceECCOcher(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCSnowyDesert.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCSnowyDesert.java new file mode 100644 index 000000000..5fa28e9e7 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCSnowyDesert.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCSnowyDesert extends SurfaceBase +{ + + public SurfaceECCSnowyDesert(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCVoid.java b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCVoid.java new file mode 100644 index 000000000..66b443fe8 --- /dev/null +++ b/src/main/java/rtg/world/gen/surface/eccentricbiomes/SurfaceECCVoid.java @@ -0,0 +1,78 @@ +package rtg.world.gen.surface.eccentricbiomes; + +import java.util.Random; + +import net.minecraft.block.Block; +import net.minecraft.init.Blocks; +import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; + +import rtg.api.biome.BiomeConfig; +import rtg.util.CellNoise; +import rtg.util.CliffCalculator; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.surface.SurfaceBase; + +public class SurfaceECCVoid extends SurfaceBase +{ + + public SurfaceECCVoid(BiomeConfig config, Block top, Block filler) + { + super(config, top, (byte)0, filler, (byte)0); + } + + @Override + public void paintTerrain(Block[] blocks, byte[] metadata, int i, int j, int x, int y, int depth, World world, Random rand, OpenSimplexNoise simplex, CellNoise cell, float[] noise, float river, BiomeGenBase[] base) + { + float c = CliffCalculator.calc(x, y, noise); + boolean cliff = c > 1.4f ? true : false; + + for(int k = 255; k > -1; k--) + { + Block b = blocks[(y * 16 + x) * 256 + k]; + if(b == Blocks.air) + { + depth = -1; + } + else if(b == Blocks.stone) + { + depth++; + + if(cliff && k > 64) + { + if(depth > -1 && depth < 2) + { + if (rand.nextInt(3) == 0) { + + blocks[(y * 16 + x) * 256 + k] = hcCobble(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcCobbleMeta(world, i, j, x, y, k); + } + else { + + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else if (depth < 10) + { + blocks[(y * 16 + x) * 256 + k] = hcStone(world, i, j, x, y, k); + metadata[(y * 16 + x) * 256 + k] = hcStoneMeta(world, i, j, x, y, k); + } + } + else + { + if(depth == 0 && k > 61) + { + blocks[(y * 16 + x) * 256 + k] = topBlock; + metadata[(y * 16 + x) * 256 + k] = topBlockMeta; + } + else if(depth < 4) + { + blocks[(y * 16 + x) * 256 + k] = fillerBlock; + metadata[(y * 16 + x) * 256 + k] = fillerBlockMeta; + } + } + } + } + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethyst.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethyst.java new file mode 100644 index 000000000..63f5ae76d --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethyst.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCAmethyst extends TerrainBase +{ + + public TerrainECCAmethyst() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainMarsh(x, y, simplex, 61.5f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethystGrove.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethystGrove.java new file mode 100644 index 000000000..6cef8f5e4 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAmethystGrove.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCAmethystGrove extends TerrainBase +{ + + public TerrainECCAmethystGrove() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainPlains(x, y, simplex, river, 160f, 10f, 60f, 200f, 65f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCArctic.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCArctic.java new file mode 100644 index 000000000..bf64c3ea5 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCArctic.java @@ -0,0 +1,21 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.config.rtg.ConfigRTG; +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCArctic extends TerrainBase +{ + + public TerrainECCArctic() + { + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainPolar(x, y, simplex, river, 140f, (minDuneHeight + (float)ConfigRTG.duneHeight), 60, 70, base) + + groundNoise(x, y, 2f, simplex)*river; + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAutilField.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAutilField.java new file mode 100644 index 000000000..31c83cd5c --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCAutilField.java @@ -0,0 +1,19 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCAutilField extends TerrainBase +{ + + public TerrainECCAutilField() + { + + } + + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainFlatLakes(x, y, simplex, river, 13f, 66f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCBone.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCBone.java new file mode 100644 index 000000000..99ded7292 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCBone.java @@ -0,0 +1,70 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.BumpyHillsEffect; +import rtg.world.gen.terrain.GroundEffect; +import rtg.world.gen.terrain.HeightEffect; +import rtg.world.gen.terrain.JitterEffect; +import rtg.world.gen.terrain.RaiseEffect; +import rtg.world.gen.terrain.TerrainBase; +import rtg.world.gen.terrain.VariableRuggednessEffect; + +public class TerrainECCBone extends TerrainBase +{ + + /* Basic idea: High hilly terrain mixed with ground-noisy flats + * using a transition that also generates the hills + */ + + private float hillockWavelength = 30; + private float hillockBoost = 5; + private float hillockVariance = 10; + private float hillockSpikeWidth = 8; + private float hillockSpikeHeight = 4; + private float terrainBase = 68; + + private JitterEffect biomeHeight;// this includes the base + + + public TerrainECCBone() + { + // bumpy hills on top + BumpyHillsEffect onTop = new BumpyHillsEffect(); + onTop.hillHeight = hillockVariance ; + onTop.hillWavelength = hillockWavelength; + onTop.spikeHeight = hillockSpikeHeight; + onTop.spikeWavelength = hillockSpikeWidth; + onTop.hillOctave = 1;// same octave as variableRuggedness + + // plus raised a bit + HeightEffect hillLevel = onTop.plus(new RaiseEffect(hillockBoost+terrainBase)); + + // but only + VariableRuggednessEffect hills = new VariableRuggednessEffect(); + hills.ruggedTerrain = hillLevel; + hills.smoothTerrain = new RaiseEffect(terrainBase); + hills.octave =1;// just to make it clear; + hills.startTransition = 0.1f; + hills.transitionWidth = 0.35f; + hills.wavelength = hillockWavelength; + + HeightEffect unJittered = hills.plus(new GroundEffect(6f)); + + // and lets scramble it a bit + + biomeHeight = new JitterEffect(); + biomeHeight.amplitude = 2; + biomeHeight.wavelength = 5; + biomeHeight.jittered = unJittered; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + float result = biomeHeight.added(simplex, cell, x, y); + if (result < 60) throw new RuntimeException(); + return result; + //return terrainPlains(x, y, simplex, river, 160f, 10f, 60f, 80f, 65f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeadLand.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeadLand.java new file mode 100644 index 000000000..5dd42a15c --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeadLand.java @@ -0,0 +1,30 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.HeightEffect; +import rtg.world.gen.terrain.HeightVariation; +import rtg.world.gen.terrain.JitterEffect; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCDeadLand extends TerrainBase +{ + + private HeightEffect height; + public TerrainECCDeadLand() + { + HeightVariation waterLand = new HeightVariation(); + waterLand.height = 2f; + waterLand.wavelength = 40f; + waterLand.octave =0; + + height = new JitterEffect(5f,10f,waterLand); + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return 62f+ height.added(simplex, cell,x, y); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeathForest.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeathForest.java new file mode 100644 index 000000000..c6beb5b9d --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCDeathForest.java @@ -0,0 +1,27 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCDeathForest extends TerrainBase +{ + private float minHeight; + private float maxHeight; + private float hillStrength; + + // 63f, 80f, 30f + + public TerrainECCDeathForest(float minHeight, float maxHeight, float hillStrength) + { + this.minHeight = minHeight; + this.maxHeight = (maxHeight > rollingHillsMaxHeight) ? rollingHillsMaxHeight : ((maxHeight < this.minHeight) ? rollingHillsMaxHeight : maxHeight); + this.hillStrength = hillStrength; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainRollingHills(x, y, simplex, river, hillStrength, maxHeight, groundNoise, groundNoiseAmplitudeHills, 0f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFertile.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFertile.java new file mode 100644 index 000000000..366227ca1 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFertile.java @@ -0,0 +1,27 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCFertile extends TerrainBase +{ + private float minHeight; + private float maxHeight; + private float hillStrength; + + // 63f, 80f, 30f + + public TerrainECCFertile(float minHeight, float maxHeight, float hillStrength) + { + this.minHeight = minHeight; + this.maxHeight = (maxHeight > rollingHillsMaxHeight) ? rollingHillsMaxHeight : ((maxHeight < this.minHeight) ? rollingHillsMaxHeight : maxHeight); + this.hillStrength = hillStrength; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainRollingHills(x, y, simplex, river, hillStrength, maxHeight, groundNoise, groundNoiseAmplitudeHills, 0f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFlamage.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFlamage.java new file mode 100644 index 000000000..e5541c59b --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCFlamage.java @@ -0,0 +1,27 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCFlamage extends TerrainBase +{ + private float minHeight; + private float maxHeight; + private float hillStrength; + + // 63f, 80f, 30f + + public TerrainECCFlamage(float minHeight, float maxHeight, float hillStrength) + { + this.minHeight = minHeight; + this.maxHeight = (maxHeight > rollingHillsMaxHeight) ? rollingHillsMaxHeight : ((maxHeight < this.minHeight) ? rollingHillsMaxHeight : maxHeight); + this.hillStrength = hillStrength; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainRollingHills(x, y, simplex, river, hillStrength, maxHeight, groundNoise, groundNoiseAmplitudeHills, 0f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCGlassland.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCGlassland.java new file mode 100644 index 000000000..0655f5959 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCGlassland.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCGlassland extends TerrainBase +{ + + public TerrainECCGlassland() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainMarsh(x, y, simplex, 61.5f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHighLands.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHighLands.java new file mode 100644 index 000000000..bd136e69b --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHighLands.java @@ -0,0 +1,33 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.BumpyHillsEffect; +import rtg.world.gen.terrain.JitterEffect; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCHighLands extends TerrainBase +{ + private float baseHeight = 90f; + private BumpyHillsEffect onTop = new BumpyHillsEffect(); + private JitterEffect withJitter; + public TerrainECCHighLands() + { + onTop.hillHeight = 30; + onTop.hillWavelength = 60; + onTop.spikeHeight = 20; + onTop.spikeWavelength = 10; + + withJitter = new JitterEffect(); + withJitter.amplitude=2; + withJitter.wavelength=5; + withJitter.jittered = onTop; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return riverized(baseHeight + withJitter.added(simplex, cell,x, y)+ this.groundNoise(x, y, 6, simplex),river); + //return terrainGrasslandMountains(x, y, simplex, cell, river, 4f, 80f, 68f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHive.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHive.java new file mode 100644 index 000000000..c6ffe6a46 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCHive.java @@ -0,0 +1,27 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCHive extends TerrainBase +{ + private float minHeight; + private float maxHeight; + private float hillStrength; + + // 63f, 80f, 30f + + public TerrainECCHive(float minHeight, float maxHeight, float hillStrength) + { + this.minHeight = minHeight; + this.maxHeight = (maxHeight > rollingHillsMaxHeight) ? rollingHillsMaxHeight : ((maxHeight < this.minHeight) ? rollingHillsMaxHeight : maxHeight); + this.hillStrength = hillStrength; + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainRollingHills(x, y, simplex, river, hillStrength, maxHeight, groundNoise, groundNoiseAmplitudeHills, 0f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCObsidianForest.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCObsidianForest.java new file mode 100644 index 000000000..75ac55c9f --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCObsidianForest.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCObsidianForest extends TerrainBase +{ + + public TerrainECCObsidianForest() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainPlains(x, y, simplex, river, 160f, 10f, 60f, 80f, 65f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCOcher.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCOcher.java new file mode 100644 index 000000000..624b783d5 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCOcher.java @@ -0,0 +1,20 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCOcher extends TerrainBase +{ + + public TerrainECCOcher() + { + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return terrainMarsh(x, y, simplex, 61.5f); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCSnowyDesert.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCSnowyDesert.java new file mode 100644 index 000000000..cad508602 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCSnowyDesert.java @@ -0,0 +1,31 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.config.rtg.ConfigRTG; +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCSnowyDesert extends TerrainBase +{ + public TerrainECCSnowyDesert() + { + super(64); + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + //return terrainPolar(x, y, simplex, river); + float duneHeight = (minDuneHeight + (float) ConfigRTG.duneHeight); + + duneHeight *= (1f + simplex.octave(2).noise2((float)x / 330f, (float)y / 330f)) / 2f; + + float stPitch = 200f; // The higher this is, the more smoothly dunes blend with the terrain + float stFactor = duneHeight; + float hPitch = 70; // Dune scale + float hDivisor = 40; + + return terrainPolar(x, y, simplex, river, stPitch, stFactor, hPitch, hDivisor, base) + + groundNoise(x,y, 1f, simplex); + } +} diff --git a/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCVoid.java b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCVoid.java new file mode 100644 index 000000000..34487c833 --- /dev/null +++ b/src/main/java/rtg/world/gen/terrain/eccentricbiomes/TerrainECCVoid.java @@ -0,0 +1,46 @@ +package rtg.world.gen.terrain.eccentricbiomes; + +import rtg.util.CellNoise; +import rtg.util.OpenSimplexNoise; +import rtg.world.gen.terrain.HeightEffect; +import rtg.world.gen.terrain.JitterEffect; +import rtg.world.gen.terrain.MountainsWithPassesEffect; +import rtg.world.gen.terrain.TerrainBase; + +public class TerrainECCVoid extends TerrainBase +{ + private float width; + private float strength; + private float terrainHeight; + private float spikeWidth = 30; + private float spikeHeight = 50; + private HeightEffect heightEffect; + + public TerrainECCVoid(float mountainWidth, float mountainStrength) + { + this(mountainWidth, mountainStrength, 90f); + } + + public TerrainECCVoid(float mountainWidth, float mountainStrength, float height) + { + width = mountainWidth; + strength = mountainStrength; + terrainHeight = height; + MountainsWithPassesEffect mountainEffect = new MountainsWithPassesEffect(); + mountainEffect.mountainHeight = strength; + mountainEffect.mountainWavelength = width; + mountainEffect.spikeHeight = this.spikeHeight; + mountainEffect.spikeWavelength = this.spikeWidth; + + + heightEffect = new JitterEffect(7f,10f, mountainEffect); + heightEffect = new JitterEffect(3f,6f,heightEffect); + + } + + @Override + public float generateNoise(OpenSimplexNoise simplex, CellNoise cell, int x, int y, float border, float river) + { + return riverized(heightEffect.added(simplex, cell, x, y)+terrainHeight,river); + } +} From 7e6b32443b5fa6f76849cf18b88d924940af9792 Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Sun, 2 Jul 2017 09:07:18 +0100 Subject: [PATCH 6/7] Updated example configs. --- etc/config/RTG/biomes/chromaticraft.cfg | 82 ++ etc/config/RTG/biomes/eccentricbiomes.cfg | 1323 +++++++++++++++++++++ etc/config/RTG/biomes/hotwatermod.cfg | 93 ++ etc/config/RTG/biomes/inthedarkness.cfg | 93 ++ 4 files changed, 1591 insertions(+) create mode 100644 etc/config/RTG/biomes/eccentricbiomes.cfg create mode 100644 etc/config/RTG/biomes/hotwatermod.cfg create mode 100644 etc/config/RTG/biomes/inthedarkness.cfg diff --git a/etc/config/RTG/biomes/chromaticraft.cfg b/etc/config/RTG/biomes/chromaticraft.cfg index db5270dc9..f81d0b92b 100644 --- a/etc/config/RTG/biomes/chromaticraft.cfg +++ b/etc/config/RTG/biomes/chromaticraft.cfg @@ -86,6 +86,88 @@ biome { I:"Volcano Chance"=-1 } + luminouscliffs { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + rainbowforest { # [default: true] B:"Allow Villages"=true diff --git a/etc/config/RTG/biomes/eccentricbiomes.cfg b/etc/config/RTG/biomes/eccentricbiomes.cfg new file mode 100644 index 000000000..91a177f8a --- /dev/null +++ b/etc/config/RTG/biomes/eccentricbiomes.cfg @@ -0,0 +1,1323 @@ +# Configuration file + +biome { + + eccentricbiomes { + + amethyst { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + amethystgrove { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + arctic { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + autilfield { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + bone { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + deadland { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + deathforest { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + fertile { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + flamage { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + glassland { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + highlands { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + hive { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + obsidianforest { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + ocher { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + snowydesert { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + void { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + } + +} + + diff --git a/etc/config/RTG/biomes/hotwatermod.cfg b/etc/config/RTG/biomes/hotwatermod.cfg new file mode 100644 index 000000000..282f0b46d --- /dev/null +++ b/etc/config/RTG/biomes/hotwatermod.cfg @@ -0,0 +1,93 @@ +# Configuration file + +biome { + + hotwatermod { + + hotsprings { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + } + +} + + diff --git a/etc/config/RTG/biomes/inthedarkness.cfg b/etc/config/RTG/biomes/inthedarkness.cfg new file mode 100644 index 000000000..c016cd146 --- /dev/null +++ b/etc/config/RTG/biomes/inthedarkness.cfg @@ -0,0 +1,93 @@ +# Configuration file + +biome { + + inthedarkness { + + darkforest { + # [default: true] + B:"Allow Villages"=true + + # [default: false] + B:"Allow Volcanoes"=false + + # This setting controls the size of caves. + # HIGHER values = BIGGER caves & MORE lag. (14 = vanilla cave density) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Density"=-1 + + # This setting controls the number of caves that generate. + # LOWER values = MORE caves & MORE lag. (6 = vanilla cave frequency) + # Set to -1 to use global setting. Set to 0 to disable caves for this biome. + # [range: -1 ~ 40, default: -1] + I:"Cave Frequency"=-1 + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff cobble block, enter a valid block ID here (e.g. minecraft:cobblestone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Cobble Block"= + + # If you're using a custom cliff cobble block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff cobble block, you would enter minecraft:wool for the Cliff Cobble Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Cobble Block Meta"= + + # Cliff blocks are the blocks that are used on the cliffs of mountains (usually a blend of stone & cobblestone). + # If you want to change this biome's cliff stone block, enter a valid block ID here (e.g. minecraft:stone). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Cliff Stone Block"= + + # If you're using a custom cliff stone block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's cliff stone block, you would enter minecraft:wool for the Cliff Stone Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Cliff Stone Block Meta"= + + # If you want to change this biome's filler block (the block underneath the top block), enter a valid block ID here (e.g. minecraft:dirt). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Filler Block"= + + # If you're using a custom filler block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's filler block, you would enter minecraft:wool for the Filler Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Filler Block Meta"= + + # If you want to change this biome's top block, enter a valid block ID here (e.g. minecraft:grass). + # For more info, visit http://minecraft.gamepedia.com/Data_values#Block_IDs [default: ] + S:"RTG Surface: Top Block"= + + # If you're using a custom top block, enter its numeric data value here. + # For example, if you want to use red wool for this biome's top block, you would enter minecraft:wool for the Top Block ID, + # and you would enter 6 here, because red wool has a data value of 6. (For most blocks, this value will be 0.) + # For more info, visit http://minecraft.gamepedia.com/Data_values [default: ] + S:"RTG Surface: Top Block Meta"= + + # This setting controls the number of ravines that generate. + # LOWER values = MORE ravines & MORE lag. (50 = vanilla ravine frequency) + # Set to -1 to use global setting. Set to 0 to disable ravines for this biome. + # [range: -1 ~ 100, default: -1] + I:"Ravine Frequency"=-1 + + # If FALSE, no RTG decorations will generate in this biome. Instead, only vanilla decorations will generate. + # RTG decorations include custom trees, shrubs, boulders, etc. [default: true] + B:"Use RTG Decorations"=true + + # If FALSE, no RTG surfaces will be used in this biome. Instead, only vanilla surfaces will be used. + # RTG surfaces include custom top & filler blocks, and 'mix' blocks like podzol in Forests. [default: true] + B:"Use RTG Surfaces"=true + + # 1/x chance that a volcano will generate if this biome has volcanoes enabled. + # 1 = Always generate if possible; 2 = 50% chance; 4 = 25% chance + # Set to -1 to use global setting. Set to 0 to disable volcanoes for this biome. + # [range: -1 ~ 2147483647, default: -1] + I:"Volcano Chance"=-1 + } + + } + +} + + From 5894079d0dfb867a67dfb5ce765b95e8c0f9ba9a Mon Sep 17 00:00:00 2001 From: WhichOnesPink Date: Sun, 2 Jul 2017 09:07:53 +0100 Subject: [PATCH 7/7] Bumped to 1.1.1.5 --- build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.properties b/build.properties index 688b54cda..2d591a1e6 100644 --- a/build.properties +++ b/build.properties @@ -4,7 +4,7 @@ mod_id=RTG mod_name=Realistic Terrain Generation mod_desc=Adds a new world type which generates realistic terrain for Overworld biomes. -mod_version=1.1.1.4 +mod_version=1.1.1.5 mc_version=1.7.10 mod_url=https://github.com/Team-RTG/Realistic-Terrain-Generation mod_author="Team RTG"