From 7a1ec6a3a4323bc6cef0775d6c8c1c3dfc821deb Mon Sep 17 00:00:00 2001 From: Adubbz Date: Fri, 5 Apr 2013 21:38:42 +1100 Subject: [PATCH] Moved configuration files out of mod_BiomesOPlenty.class --- .../biomesop/biomes/BiomeDecoratorBOP.java | 1 - .../biomesop/biomes/BiomeGenAlps.java | 3 +- .../biomesop/biomes/BiomeGenArctic.java | 7 +- .../biomesop/biomes/BiomeGenBadlands.java | 7 +- .../biomesop/biomes/BiomeGenBambooForest.java | 1 - .../biomesop/biomes/BiomeGenBayou.java | 6 +- .../biomesop/biomes/BiomeGenBirchForest.java | 4 - .../tdwp_ftw/biomesop/biomes/BiomeGenBog.java | 5 +- .../biomesop/biomes/BiomeGenBorealForest.java | 5 +- .../biomesop/biomes/BiomeGenCanyon.java | 4 +- .../biomesop/biomes/BiomeGenChaparral.java | 4 +- .../biomes/BiomeGenConiferousForest.java | 4 - .../biomesop/biomes/BiomeGenCrag.java | 9 +- .../biomesop/biomes/BiomeGenDeadForest.java | 4 +- .../biomesop/biomes/BiomeGenDeadSwamp.java | 4 +- .../biomesop/biomes/BiomeGenDeadlands.java | 4 +- .../biomes/BiomeGenDeciduousForest.java | 4 +- .../biomesop/biomes/BiomeGenDunes.java | 5 +- .../tdwp_ftw/biomesop/biomes/BiomeGenFen.java | 6 +- .../biomesop/biomes/BiomeGenForestNew.java | 8 +- .../biomesop/biomes/BiomeGenFrostForest.java | 7 +- .../biomesop/biomes/BiomeGenFungiForest.java | 9 +- .../biomesop/biomes/BiomeGenGarden.java | 5 +- .../biomesop/biomes/BiomeGenGlacier.java | 3 +- .../biomesop/biomes/BiomeGenGrassland.java | 4 +- .../biomesop/biomes/BiomeGenIceSheet.java | 3 +- .../biomesop/biomes/BiomeGenIcyHills.java | 13 +- .../biomesop/biomes/BiomeGenJadeCliffs.java | 10 +- .../biomesop/biomes/BiomeGenJungleNew.java | 11 +- .../biomesop/biomes/BiomeGenLushDesert.java | 4 +- .../biomesop/biomes/BiomeGenLushSwamp.java | 2 +- .../biomesop/biomes/BiomeGenMarsh.java | 1 - .../biomesop/biomes/BiomeGenMeadow.java | 2 +- .../biomesop/biomes/BiomeGenMesa.java | 6 +- .../biomesop/biomes/BiomeGenMoor.java | 4 +- .../biomesop/biomes/BiomeGenMountain.java | 4 +- .../biomesop/biomes/BiomeGenMysticGrove.java | 7 +- .../biomesop/biomes/BiomeGenOminousWoods.java | 11 +- .../biomesop/biomes/BiomeGenOrchard.java | 2 - .../biomesop/biomes/BiomeGenOriginValley.java | 6 +- .../biomesop/biomes/BiomeGenOutback.java | 9 +- .../biomesop/biomes/BiomeGenPasture.java | 3 +- .../biomesop/biomes/BiomeGenPlainsNew.java | 4 +- .../biomesop/biomes/BiomeGenPrairie.java | 1 - .../biomesop/biomes/BiomeGenPromisedLand.java | 10 +- .../biomesop/biomes/BiomeGenQuagmire.java | 6 +- .../biomes/BiomeGenRedwoodForest.java | 2 - .../biomes/BiomeGenSacredSprings.java | 7 +- .../biomesop/biomes/BiomeGenSavanna.java | 1 - .../biomes/BiomeGenSeasonalForest.java | 3 - .../biomesop/biomes/BiomeGenShield.java | 4 +- .../biomesop/biomes/BiomeGenShrubland.java | 4 +- .../biomesop/biomes/BiomeGenSnowyWoods.java | 5 +- .../biomesop/biomes/BiomeGenSpruceWoods.java | 2 - .../biomesop/biomes/BiomeGenSteppe.java | 3 +- .../biomesop/biomes/BiomeGenSwampNew.java | 6 +- .../biomesop/biomes/BiomeGenSwampwoods.java | 5 +- .../biomesop/biomes/BiomeGenTaigaNew.java | 8 +- .../biomes/BiomeGenTemperateRainforest.java | 7 +- .../biomes/BiomeGenTropicalRainforest.java | 7 +- .../biomesop/biomes/BiomeGenTropics.java | 9 +- .../biomesop/biomes/BiomeGenVolcano.java | 6 +- .../biomesop/biomes/BiomeGenWasteland.java | 8 +- .../biomesop/biomes/BiomeGenWetland.java | 8 +- .../biomesop/declarations/BOPBiomes.java | 334 ++++---- .../biomesop/declarations/BOPBlocks.java | 305 +++---- .../declarations/BOPConfiguration.java | 804 ++++++++++++++++++ .../biomesop/declarations/BOPItems.java | 76 +- .../helpers/WorldProviderPromised.java | 3 +- .../biomesop/helpers/WorldTypeSize.java | 3 +- .../tdwp_ftw/biomesop/mod_BiomesOPlenty.java | 790 +---------------- .../biomesop/worldtype/ChunkProviderBOP.java | 3 +- .../biomesop/worldtype/WTBiomesOP.java | 173 ++-- 73 files changed, 1375 insertions(+), 1453 deletions(-) create mode 100644 src/minecraft/tdwp_ftw/biomesop/declarations/BOPConfiguration.java diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeDecoratorBOP.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeDecoratorBOP.java index 12f444cb0..e30fbb217 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeDecoratorBOP.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeDecoratorBOP.java @@ -42,7 +42,6 @@ import net.minecraft.world.gen.feature.WorldGenerator; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.terraingen.DecorateBiomeEvent; import net.minecraftforge.event.terraingen.OreGenEvent; -import net.minecraftforge.event.terraingen.DecorateBiomeEvent.Decorate.EventType; import net.minecraftforge.event.terraingen.TerrainGen; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenAlgae; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenAlps.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenAlps.java index a984207a8..0a71a4af5 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenAlps.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenAlps.java @@ -3,10 +3,9 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; import net.minecraft.block.Block; +import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga6; -import tdwp_ftw.biomesop.worldgen.WorldGenAlpsSpruce; -import net.minecraft.world.biome.BiomeGenBase; public class BiomeGenAlps extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenArctic.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenArctic.java index f9e37d80b..a0af9fc86 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenArctic.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenArctic.java @@ -2,18 +2,13 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.gen.feature.WorldGenerator; import net.minecraft.world.gen.feature.WorldGenTallGrass; +import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga3; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga4; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga9; -import tdwp_ftw.biomesop.worldgen.WorldGenFir1; -import tdwp_ftw.biomesop.worldgen.WorldGenFir2; -import tdwp_ftw.biomesop.worldgen.WorldGenFir3; public class BiomeGenArctic extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBadlands.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBadlands.java index 7834d4ed0..5e49327cd 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBadlands.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBadlands.java @@ -2,11 +2,10 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; - import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; +import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenBadlands extends BiomeGenBase { @@ -34,7 +33,7 @@ public class BiomeGenBadlands extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 13421723; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBambooForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBambooForest.java index 9cad19497..5b6891246 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBambooForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBambooForest.java @@ -8,7 +8,6 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenBambooTree; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBayou.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBayou.java index 0c4ca048a..45f6d889d 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBayou.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBayou.java @@ -3,15 +3,13 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenBayou1; import tdwp_ftw.biomesop.worldgen.WorldGenBayou2; import tdwp_ftw.biomesop.worldgen.WorldGenBayou3; -import tdwp_ftw.biomesop.worldgen.WorldGenCypress1; -import tdwp_ftw.biomesop.worldgen.WorldGenCypress2; import tdwp_ftw.biomesop.worldgen.WorldGenMoss; public class BiomeGenBayou extends BiomeGenBase @@ -83,7 +81,7 @@ public class BiomeGenBayou extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 11322556; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBirchForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBirchForest.java index 21274c3f3..6212e1640 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBirchForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBirchForest.java @@ -2,16 +2,12 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenSilverBirch1; -import tdwp_ftw.biomesop.worldgen.WorldGenSilverBirch2; public class BiomeGenBirchForest extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBog.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBog.java index 0a60d2621..476b876b1 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBog.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBog.java @@ -3,8 +3,6 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.block.Block; import net.minecraft.entity.monster.EntitySlime; import net.minecraft.world.biome.BiomeGenBase; @@ -12,6 +10,7 @@ import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenBog1; import tdwp_ftw.biomesop.worldgen.WorldGenBog2; @@ -76,7 +75,7 @@ public class BiomeGenBog extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 7039816; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBorealForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBorealForest.java index 21013b804..584f7d166 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBorealForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenBorealForest.java @@ -6,12 +6,11 @@ import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityWolf; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; import tdwp_ftw.biomesop.worldgen.WorldGenAutumn; -import net.minecraft.world.gen.feature.WorldGenShrub; +import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; public class BiomeGenBorealForest extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCanyon.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCanyon.java index 93eb594c8..397501ad7 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCanyon.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCanyon.java @@ -2,13 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenCanyonShrub; import tdwp_ftw.biomesop.worldgen.WorldGenCanyonTree; -import net.minecraft.world.gen.feature.WorldGenerator; public class BiomeGenCanyon extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenChaparral.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenChaparral.java index f56dc6d6f..e1210cd76 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenChaparral.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenChaparral.java @@ -2,13 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.gen.feature.WorldGenerator; import net.minecraft.world.gen.feature.WorldGenTallGrass; +import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenChaparral1; import tdwp_ftw.biomesop.worldgen.WorldGenChaparral2; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenConiferousForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenConiferousForest.java index c51f76296..bc5054a42 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenConiferousForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenConiferousForest.java @@ -9,11 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenFir1; -import tdwp_ftw.biomesop.worldgen.WorldGenFir2; -import tdwp_ftw.biomesop.worldgen.WorldGenFir3; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga3; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga4; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga9; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCrag.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCrag.java index c000c38bd..712da1aef 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCrag.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenCrag.java @@ -1,15 +1,10 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - -import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenCrag; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenCrag extends BiomeGenBase { @@ -33,7 +28,7 @@ public class BiomeGenCrag extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 4944498; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadForest.java index b6e168ccd..6f50f7fbb 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadForest.java @@ -7,8 +7,8 @@ import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree2; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; @@ -58,7 +58,7 @@ public class BiomeGenDeadForest extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 9873591; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadSwamp.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadSwamp.java index d8ba3521a..baae87c08 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadSwamp.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadSwamp.java @@ -7,8 +7,8 @@ import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; public class BiomeGenDeadSwamp extends BiomeGenBase @@ -63,7 +63,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 6451816; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadlands.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadlands.java index 5afd36521..f7552499e 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadlands.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeadlands.java @@ -11,8 +11,8 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenMinable; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree3; import tdwp_ftw.biomesop.worldgen.WorldGenDeadlands; @@ -83,7 +83,7 @@ public class BiomeGenDeadlands extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 4464929; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeciduousForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeciduousForest.java index fa14eaf90..3c5ddae32 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeciduousForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDeciduousForest.java @@ -2,12 +2,10 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import net.minecraft.world.gen.feature.WorldGenShrub; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenDeciduous; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDunes.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDunes.java index 11eea97ed..b2b5e9eac 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDunes.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenDunes.java @@ -2,10 +2,9 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenDunes extends BiomeGenBase { @@ -32,7 +31,7 @@ public class BiomeGenDunes extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 14203007; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFen.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFen.java index f41817c6f..f9abe0f02 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFen.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFen.java @@ -1,18 +1,16 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import net.minecraft.world.World; import net.minecraft.block.Block; +import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; import tdwp_ftw.biomesop.worldgen.WorldGenFen1; import tdwp_ftw.biomesop.worldgen.WorldGenFen2; -import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; import tdwp_ftw.biomesop.worldgen.WorldGenMoss; public class BiomeGenFen extends BiomeGenBase diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenForestNew.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenForestNew.java index df0960004..cb937fdc1 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenForestNew.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenForestNew.java @@ -2,17 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.world.World; import net.minecraft.entity.passive.EntityWolf; +import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenWhiteOak1; -import tdwp_ftw.biomesop.worldgen.WorldGenWhiteOak2; -import tdwp_ftw.biomesop.worldgen.WorldGenAlder1; -import tdwp_ftw.biomesop.worldgen.WorldGenAlder2; -import tdwp_ftw.biomesop.worldgen.WorldGenPaperBirch1; -import tdwp_ftw.biomesop.worldgen.WorldGenPaperBirch2; import tdwp_ftw.biomesop.worldgen.WorldGenMoss; public class BiomeGenForestNew extends BiomeGenBase diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFrostForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFrostForest.java index ebab949ae..598d31d83 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFrostForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFrostForest.java @@ -1,12 +1,11 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenFrostForest extends BiomeGenBase { @@ -53,7 +52,7 @@ public class BiomeGenFrostForest extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 13557994; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFungiForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFungiForest.java index 71180e7e6..f8911e25b 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFungiForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenFungiForest.java @@ -1,18 +1,17 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.entity.passive.EntityMooshroom; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; +import tdwp_ftw.biomesop.worldgen.WorldGenMoss; import tdwp_ftw.biomesop.worldgen.WorldGenSwampTall; import tdwp_ftw.biomesop.worldgen.WorldGenThickTree; -import tdwp_ftw.biomesop.worldgen.WorldGenMoss; public class BiomeGenFungiForest extends BiomeGenBase { @@ -81,7 +80,7 @@ public class BiomeGenFungiForest extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 5888980; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGarden.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGarden.java index 5c8a0f917..0429f6ee6 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGarden.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGarden.java @@ -8,11 +8,10 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenGiantFlowerRed; -import tdwp_ftw.biomesop.worldgen.WorldGenGiantFlowerYellow; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.mobs.EntityRosester; +import tdwp_ftw.biomesop.worldgen.WorldGenGiantFlowerRed; +import tdwp_ftw.biomesop.worldgen.WorldGenGiantFlowerYellow; public class BiomeGenGarden extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGlacier.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGlacier.java index 6c2540ac5..586ea892a 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGlacier.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGlacier.java @@ -1,8 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; import net.minecraft.world.biome.BiomeGenBase; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenGlacier extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGrassland.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGrassland.java index 88bd7e33f..48396295c 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGrassland.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenGrassland.java @@ -2,9 +2,6 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; - import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityChicken; import net.minecraft.entity.passive.EntityCow; @@ -15,6 +12,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenGrassland extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIceSheet.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIceSheet.java index e95381f74..c98596c96 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIceSheet.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIceSheet.java @@ -1,8 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.block.Block; +import net.minecraft.world.biome.BiomeGenBase; public class BiomeGenIceSheet extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIcyHills.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIcyHills.java index 0594e5d24..2dae402fe 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIcyHills.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenIcyHills.java @@ -1,16 +1,15 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; -import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenIceTree; import net.minecraft.entity.monster.EntitySnowman; +import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; +import tdwp_ftw.biomesop.worldgen.WorldGenIceTree; public class BiomeGenIcyHills extends BiomeGenBase { @@ -43,7 +42,7 @@ public class BiomeGenIcyHills extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 16777215; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJadeCliffs.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJadeCliffs.java index c95e105b7..ffd324735 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJadeCliffs.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJadeCliffs.java @@ -1,17 +1,15 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.World; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import net.minecraft.world.biome.BiomeGenBase; -import tdwp_ftw.biomesop.worldgen.WorldGenJadeTree; -import net.minecraft.world.gen.feature.WorldGenTaiga2; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenMoss; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; +import tdwp_ftw.biomesop.worldgen.WorldGenJadeTree; public class BiomeGenJadeCliffs extends BiomeGenBase { @@ -58,7 +56,7 @@ public class BiomeGenJadeCliffs extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 12045485; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJungleNew.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJungleNew.java index 4355659de..8a40b7ea5 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJungleNew.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenJungleNew.java @@ -1,9 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityChicken; @@ -17,10 +15,7 @@ import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenTrees; import net.minecraft.world.gen.feature.WorldGenVines; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenBrazilNut1; -import tdwp_ftw.biomesop.worldgen.WorldGenBrazilNut2; -import tdwp_ftw.biomesop.worldgen.WorldGenSandboxTree1; -import tdwp_ftw.biomesop.worldgen.WorldGenSandboxTree2; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.mobs.EntityJungleSpider; public class BiomeGenJungleNew extends BiomeGenBase @@ -96,7 +91,7 @@ public class BiomeGenJungleNew extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 16751442; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushDesert.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushDesert.java index 74b8e4a86..5db38652c 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushDesert.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushDesert.java @@ -2,13 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenShrub; +import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenAcacia; -import net.minecraft.world.gen.feature.WorldGenerator; public class BiomeGenLushDesert extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushSwamp.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushSwamp.java index ac01ff2f4..a66333388 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushSwamp.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenLushSwamp.java @@ -2,8 +2,8 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.entity.monster.EntitySlime; import net.minecraft.block.Block; +import net.minecraft.entity.monster.EntitySlime; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMarsh.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMarsh.java index 83e9bd6b0..a19b5c203 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMarsh.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMarsh.java @@ -7,7 +7,6 @@ import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenMarsh; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMeadow.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMeadow.java index 4b15e43e6..95a3ec81f 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMeadow.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMeadow.java @@ -3,8 +3,8 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; import net.minecraft.block.Block; -import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTaiga2; import net.minecraft.world.gen.feature.WorldGenerator; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMesa.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMesa.java index 8f2712661..8fd1e6019 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMesa.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMesa.java @@ -2,11 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; import net.minecraft.entity.monster.EntitySpider; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; +import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenMesa extends BiomeGenBase { @@ -32,7 +32,7 @@ public class BiomeGenMesa extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 15898486; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMoor.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMoor.java index 63e2edf83..31f80879a 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMoor.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMoor.java @@ -8,8 +8,8 @@ import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenMoor; public class BiomeGenMoor extends BiomeGenBase @@ -69,7 +69,7 @@ public class BiomeGenMoor extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 10536403; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMountain.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMountain.java index fe4cc8669..b1f288569 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMountain.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMountain.java @@ -4,10 +4,8 @@ import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTaiga2; -import tdwp_ftw.biomesop.worldgen.WorldGenScotsPine1; -import tdwp_ftw.biomesop.worldgen.WorldGenScotsPine2; -import tdwp_ftw.biomesop.worldgen.WorldGenTaiga7; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.worldgen.WorldGenTaiga7; public class BiomeGenMountain extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMysticGrove.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMysticGrove.java index ad7231e80..110b068dc 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMysticGrove.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenMysticGrove.java @@ -1,9 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.entity.monster.EntityWitch; @@ -11,6 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenMystic1; import tdwp_ftw.biomesop.worldgen.WorldGenMystic2; @@ -77,7 +76,7 @@ public class BiomeGenMysticGrove extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 16751558; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOminousWoods.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOminousWoods.java index db4fd76d6..8fe466603 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOminousWoods.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOminousWoods.java @@ -1,9 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.entity.monster.EntityCaveSpider; @@ -13,10 +11,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenDarkTree1; -import tdwp_ftw.biomesop.worldgen.WorldGenDarkTree2; -import tdwp_ftw.biomesop.worldgen.WorldGenWillow1; -import tdwp_ftw.biomesop.worldgen.WorldGenWillow2; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenOminous1; import tdwp_ftw.biomesop.worldgen.WorldGenOminous2; @@ -85,7 +80,7 @@ public class BiomeGenOminousWoods extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 5069168; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOrchard.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOrchard.java index 4a97ec701..1e0906829 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOrchard.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOrchard.java @@ -5,8 +5,6 @@ import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.worldgen.WorldGenApple; -import tdwp_ftw.biomesop.worldgen.WorldGenAppleTree1; -import tdwp_ftw.biomesop.worldgen.WorldGenAppleTree2; public class BiomeGenOrchard extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOriginValley.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOriginValley.java index 8430652d4..9b24d2c92 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOriginValley.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOriginValley.java @@ -1,12 +1,12 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; +import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenOriginTree; public class BiomeGenOriginValley extends BiomeGenBase @@ -56,7 +56,7 @@ public class BiomeGenOriginValley extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 8703228; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOutback.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOutback.java index 0bf0e6ef3..62473a704 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOutback.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenOutback.java @@ -2,14 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.world.biome.BiomeGenBase; -import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenOutback; -import tdwp_ftw.biomesop.worldgen.WorldGenOutbackTree; -import tdwp_ftw.biomesop.worldgen.WorldGenOutbackShrub; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.worldgen.WorldGenOutbackShrub; +import tdwp_ftw.biomesop.worldgen.WorldGenOutbackTree; public class BiomeGenOutback extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPasture.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPasture.java index 0d389d3bd..c7ac02d27 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPasture.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPasture.java @@ -1,12 +1,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenPasture extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPlainsNew.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPlainsNew.java index ddcf6a6e2..f338de5ff 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPlainsNew.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPlainsNew.java @@ -2,13 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; - import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenPlainsNew extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPrairie.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPrairie.java index 428f9b191..c3dea2e0a 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPrairie.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPrairie.java @@ -4,7 +4,6 @@ import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.declarations.BOPBlocks; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPromisedLand.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPromisedLand.java index 36822c1d4..3a75cac21 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPromisedLand.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenPromisedLand.java @@ -1,19 +1,19 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.gen.feature.WorldGenMinable; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; +import tdwp_ftw.biomesop.worldgen.WorldGenPromisedShrub; import tdwp_ftw.biomesop.worldgen.WorldGenPromisedTree; import tdwp_ftw.biomesop.worldgen.WorldGenPromisedTree2; import tdwp_ftw.biomesop.worldgen.WorldGenPromisedTree3; -import tdwp_ftw.biomesop.worldgen.WorldGenPromisedShrub; -import net.minecraft.world.gen.feature.WorldGenMinable; public class BiomeGenPromisedLand extends BiomeGenBase { @@ -92,7 +92,7 @@ public class BiomeGenPromisedLand extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 50175; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenQuagmire.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenQuagmire.java index 1b7e6b681..b49d95d92 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenQuagmire.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenQuagmire.java @@ -1,12 +1,12 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; +import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; public class BiomeGenQuagmire extends BiomeGenBase @@ -60,7 +60,7 @@ public class BiomeGenQuagmire extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 12436670; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenRedwoodForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenRedwoodForest.java index 37cd02c97..155065a56 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenRedwoodForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenRedwoodForest.java @@ -8,8 +8,6 @@ import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.worldgen.WorldGenRedwoodTree; import tdwp_ftw.biomesop.worldgen.WorldGenRedwoodTree2; -import tdwp_ftw.biomesop.worldgen.WorldGenRedwood1; -import tdwp_ftw.biomesop.worldgen.WorldGenRedwood2; public class BiomeGenRedwoodForest extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSacredSprings.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSacredSprings.java index cea222779..f8442c660 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSacredSprings.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSacredSprings.java @@ -1,9 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.World; @@ -11,6 +9,7 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.mobs.EntityJungleSpider; public class BiomeGenSacredSprings extends BiomeGenBase @@ -78,7 +77,7 @@ public class BiomeGenSacredSprings extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 1995007; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSavanna.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSavanna.java index 44a8ada92..328fe1a51 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSavanna.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSavanna.java @@ -7,7 +7,6 @@ import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenAcacia; diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSeasonalForest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSeasonalForest.java index a9fd4c77b..41e38a191 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSeasonalForest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSeasonalForest.java @@ -2,19 +2,16 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityWolf; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenAutumn; import tdwp_ftw.biomesop.worldgen.WorldGenAutumn2; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree2; import tdwp_ftw.biomesop.worldgen.WorldGenMaple; -import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; public class BiomeGenSeasonalForest extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShield.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShield.java index 0a67e6acd..0d0dee749 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShield.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShield.java @@ -3,13 +3,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; import net.minecraft.world.World; -import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; import tdwp_ftw.biomesop.worldgen.WorldGenMoss; +import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; public class BiomeGenShield extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShrubland.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShrubland.java index 2aa184d48..37a2400eb 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShrubland.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenShrubland.java @@ -2,13 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; - import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenShrubland extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSnowyWoods.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSnowyWoods.java index bdce2b8b2..d8b03e7f9 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSnowyWoods.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSnowyWoods.java @@ -3,12 +3,11 @@ package tdwp_ftw.biomesop.biomes; import java.awt.Color; import java.util.Random; -import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree; import tdwp_ftw.biomesop.worldgen.WorldGenDeadTree2; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; @@ -64,7 +63,7 @@ public class BiomeGenSnowyWoods extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 9873591; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSpruceWoods.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSpruceWoods.java index 081c9c2a5..48aadda16 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSpruceWoods.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSpruceWoods.java @@ -8,8 +8,6 @@ import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenTaiga2; import net.minecraft.world.gen.feature.WorldGenerator; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; -import tdwp_ftw.biomesop.worldgen.WorldGenLarch1; -import tdwp_ftw.biomesop.worldgen.WorldGenLarch2; public class BiomeGenSpruceWoods extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSteppe.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSteppe.java index a7d30f42e..e2314b92e 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSteppe.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSteppe.java @@ -2,12 +2,11 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; -import tdwp_ftw.biomesop.declarations.BOPBlocks; import net.minecraft.block.Block; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenSteppe extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampNew.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampNew.java index 6670bf9d8..9ed2bd631 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampNew.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampNew.java @@ -2,16 +2,16 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.world.World; import net.minecraft.entity.monster.EntitySlime; import net.minecraft.world.ColorizerFoliage; import net.minecraft.world.ColorizerGrass; +import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.worldgen.WorldGenWillow; -import tdwp_ftw.biomesop.worldgen.WorldGenMoss; import tdwp_ftw.biomesop.worldgen.WorldGenLog; +import tdwp_ftw.biomesop.worldgen.WorldGenMoss; +import tdwp_ftw.biomesop.worldgen.WorldGenWillow; public class BiomeGenSwampNew extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampwoods.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampwoods.java index efed0f91f..fc1b7b014 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampwoods.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenSwampwoods.java @@ -5,13 +5,12 @@ import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenMarsh; import tdwp_ftw.biomesop.worldgen.WorldGenCypress; -import net.minecraft.world.gen.feature.WorldGenShrub; +import tdwp_ftw.biomesop.worldgen.WorldGenMarsh; public class BiomeGenSwampwoods extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTaigaNew.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTaigaNew.java index 9cc2ae775..3ad2bd989 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTaigaNew.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTaigaNew.java @@ -2,18 +2,14 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; - import net.minecraft.entity.passive.EntityWolf; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; -import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenTaiga1; import net.minecraft.world.gen.feature.WorldGenTaiga2; -import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenNorwaySpruce1; -import tdwp_ftw.biomesop.worldgen.WorldGenNorwaySpruce2; +import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPBlocks; public class BiomeGenTaigaNew extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTemperateRainforest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTemperateRainforest.java index ccec0441a..58659150b 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTemperateRainforest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTemperateRainforest.java @@ -1,23 +1,18 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.gen.feature.WorldGenShrub; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; -import net.minecraft.world.gen.feature.WorldGenShrub; import tdwp_ftw.biomesop.declarations.BOPBlocks; import tdwp_ftw.biomesop.worldgen.WorldGenMoss; import tdwp_ftw.biomesop.worldgen.WorldGenTemperate; import tdwp_ftw.biomesop.worldgen.WorldGenThickTree; import tdwp_ftw.biomesop.worldgen.WorldGenWillow; -import tdwp_ftw.biomesop.worldgen.WorldGenGrandFir1; -import tdwp_ftw.biomesop.worldgen.WorldGenGrandFir2; -import tdwp_ftw.biomesop.worldgen.WorldGenAlaskanCedar1; -import tdwp_ftw.biomesop.worldgen.WorldGenAlaskanCedar2; public class BiomeGenTemperateRainforest extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropicalRainforest.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropicalRainforest.java index 12c89b54d..e80363f2e 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropicalRainforest.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropicalRainforest.java @@ -1,9 +1,7 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.block.Block; import net.minecraft.entity.passive.EntityOcelot; @@ -11,6 +9,7 @@ import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.mobs.EntityJungleSpider; import tdwp_ftw.biomesop.worldgen.WorldGenRainforest1; import tdwp_ftw.biomesop.worldgen.WorldGenRainforest2; @@ -87,7 +86,7 @@ public class BiomeGenTropicalRainforest extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 12971089; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropics.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropics.java index 0ac2adb95..23f0e3ae6 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropics.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenTropics.java @@ -1,18 +1,15 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; - -import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.biome.SpawnListEntry; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.mobs.EntityJungleSpider; import tdwp_ftw.biomesop.worldgen.WorldGenPalmTree1; import tdwp_ftw.biomesop.worldgen.WorldGenPalmTree3; -import tdwp_ftw.biomesop.worldgen.WorldGenPalm1; -import tdwp_ftw.biomesop.worldgen.WorldGenPalm2; public class BiomeGenTropics extends BiomeGenBase { @@ -48,7 +45,7 @@ public class BiomeGenTropics extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 3333631; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenVolcano.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenVolcano.java index ef92f83d8..3bc971806 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenVolcano.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenVolcano.java @@ -1,12 +1,12 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; +import java.util.Random; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.worldgen.WorldGenVolcano; public class BiomeGenVolcano extends BiomeGenBase @@ -41,7 +41,7 @@ public class BiomeGenVolcano extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 8026746; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWasteland.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWasteland.java index ba3eefc2a..d925141f6 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWasteland.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWasteland.java @@ -1,14 +1,10 @@ package tdwp_ftw.biomesop.biomes; -import java.util.Random; import java.awt.Color; import net.minecraft.world.biome.BiomeGenBase; -import net.minecraft.world.biome.SpawnListEntry; -import net.minecraft.world.gen.feature.WorldGenerator; -import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBlocks; -import tdwp_ftw.biomesop.worldgen.WorldGenSpire; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class BiomeGenWasteland extends BiomeGenBase { @@ -49,7 +45,7 @@ public class BiomeGenWasteland extends BiomeGenBase */ public int getSkyColorByTemp(float par1) { - if (mod_BiomesOPlenty.skyColors = true) + if (BOPConfiguration.skyColors = true) { return 10465942; } diff --git a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWetland.java b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWetland.java index e98d9bf59..7ea6f7e7f 100644 --- a/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWetland.java +++ b/src/minecraft/tdwp_ftw/biomesop/biomes/BiomeGenWetland.java @@ -2,18 +2,14 @@ package tdwp_ftw.biomesop.biomes; import java.util.Random; -import net.minecraft.world.World; import net.minecraft.block.Block; +import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.gen.feature.WorldGenTallGrass; import net.minecraft.world.gen.feature.WorldGenerator; +import tdwp_ftw.biomesop.worldgen.WorldGenMoss; import tdwp_ftw.biomesop.worldgen.WorldGenTaiga5; import tdwp_ftw.biomesop.worldgen.WorldGenWillow; -import tdwp_ftw.biomesop.worldgen.WorldGenWillow1; -import tdwp_ftw.biomesop.worldgen.WorldGenWillow2; -import tdwp_ftw.biomesop.worldgen.WorldGenLarch1; -import tdwp_ftw.biomesop.worldgen.WorldGenLarch2; -import tdwp_ftw.biomesop.worldgen.WorldGenMoss; public class BiomeGenWetland extends BiomeGenBase { diff --git a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBiomes.java b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBiomes.java index 664a0be56..ab47586c0 100644 --- a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBiomes.java +++ b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBiomes.java @@ -175,86 +175,86 @@ public class BOPBiomes { public static void init() { // Initialize biomes - alps = (new BiomeGenAlps(mod_BiomesOPlenty.alpsID)).setColor(353825).setBiomeName("Alps").func_76733_a(5159473).setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(5.0F, 5.0F); - arctic = (new BiomeGenArctic(mod_BiomesOPlenty.arcticID)).setColor(14090235).setBiomeName("Arctic").setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.7F); - badlands = (new BiomeGenBadlands(mod_BiomesOPlenty.badlandsID)).setColor(16421912).setBiomeName("Badlands").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.9F); - bambooForest = (new BiomeGenBambooForest(mod_BiomesOPlenty.bambooForestID)).setColor(112).setBiomeName("Bamboo Forest").setMinMaxHeight(0.0F, 0.3F); - bayou = (new BiomeGenBayou(mod_BiomesOPlenty.bayouID)).setColor(522674).setBiomeName("Bayou").func_76733_a(9154376).setMinMaxHeight(-0.3F, 0.2F); - birchForest = (new BiomeGenBirchForest(mod_BiomesOPlenty.birchForestID)).setColor(353825).setBiomeName("Birch Forest").func_76733_a(5159473).setTemperatureRainfall(0.4F, 0.3F); - bog = (new BiomeGenBog(mod_BiomesOPlenty.bogID)).setColor(522674).setBiomeName("Bog").func_76733_a(9154376).setMinMaxHeight(-0.3F, -0.1F).setTemperatureRainfall(0.8F, 0.9F); - borealForest = (new BiomeGenBorealForest(mod_BiomesOPlenty.borealForestID)).setColor(353825).setBiomeName("Boreal Forest").func_76733_a(5159473).setMinMaxHeight(0.0F, 1.0F).setTemperatureRainfall(0.6F, 0.7F); - canyon = (new BiomeGenCanyon(mod_BiomesOPlenty.canyonID)).setColor(9286496).setBiomeName("Canyon").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(3.0F, 5.0F); - chaparral = (new BiomeGenChaparral(mod_BiomesOPlenty.chaparralID)).setColor(9286496).setBiomeName("Chaparral").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.3F, 0.6F); - cherryBlossomGrove = (new BiomeGenCherryBlossomGrove(mod_BiomesOPlenty.cherryBlossomGroveID)).setColor(9286496).setBiomeName("Cherry Blossom Grove").setMinMaxHeight(0.1F, 0.2F); - coniferousForest = (new BiomeGenConiferousForest(mod_BiomesOPlenty.coniferousForestID)).setColor(747097).setBiomeName("Coniferous Forest").func_76733_a(5159473).setTemperatureRainfall(0.3F, 0.4F).setMinMaxHeight(0.1F, 0.8F); - crag = (new BiomeGenCrag(mod_BiomesOPlenty.cragID)).setColor(9286496).setBiomeName("Crag").setMinMaxHeight(0.0F, 9.9F); - deadForest = (new BiomeGenDeadForest(mod_BiomesOPlenty.deadForestID)).setColor(522674).setBiomeName("Dead Forest").func_76733_a(9154376).setMinMaxHeight(0.2F, 0.7F); - deadSwamp = (new BiomeGenDeadSwamp(mod_BiomesOPlenty.deadSwampID)).setColor(522674).setBiomeName("Dead Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F); - deadlands = (new BiomeGenDeadlands(mod_BiomesOPlenty.deadlandsID)).setColor(522674).setBiomeName("Deadlands").setDisableRain().func_76733_a(9154376).setMinMaxHeight(0.1F, 0.5F); - deciduousForest = (new BiomeGenDeciduousForest(mod_BiomesOPlenty.deciduousForestID)).setColor(353825).setBiomeName("Deciduous Forest").func_76733_a(5159473); - drylands = (new BiomeGenDrylands(mod_BiomesOPlenty.drylandsID)).setColor(16421912).setBiomeName("Drylands").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.0F, 0.5F); - dunes = (new BiomeGenDunes(mod_BiomesOPlenty.dunesID)).setColor(13786898).setBiomeName("Dunes").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.5F, 1.3F); - fen = (new BiomeGenFen(mod_BiomesOPlenty.fenID)).setColor(9286496).setBiomeName("Fen").setTemperatureRainfall(0.4F, 0.0F).setMinMaxHeight(-0.2F, 0.1F); - field = (new BiomeGenField(mod_BiomesOPlenty.fieldID)).setColor(9286496).setBiomeName("Field").setTemperatureRainfall(0.4F, 0.8F).setMinMaxHeight(0.0F, 0.1F); - frostForest = (new BiomeGenFrostForest(mod_BiomesOPlenty.frostForestID)).setColor(14090235).setBiomeName("Frost Forest").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.4F); - fungiForest = (new BiomeGenFungiForest(mod_BiomesOPlenty.fungiForestID)).setColor(747097).setBiomeName("Fungi Forest").func_76733_a(5159473).setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(0.0F, 0.4F); - garden = (new BiomeGenGarden(mod_BiomesOPlenty.gardenID)).setColor(9286496).setBiomeName("Garden").setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.1F, 0.2F); - glacier = (new BiomeGenGlacier(mod_BiomesOPlenty.glacierID)).setColor(6316128).setBiomeName("Glacier").setEnableSnow().setMinMaxHeight(0.4F, 1.0F).setTemperatureRainfall(0.0F, 0.0F); - grassland = (new BiomeGenGrassland(mod_BiomesOPlenty.grasslandID)).setColor(9286496).setBiomeName("Grassland").setTemperatureRainfall(0.7F, 0.7F).setMinMaxHeight(0.2F, 0.2F); - grove = (new BiomeGenGrove(mod_BiomesOPlenty.groveID)).setColor(9286496).setBiomeName("Grove").setTemperatureRainfall(0.4F, 0.8F).setMinMaxHeight(0.0F, 0.1F); - heathland = (new BiomeGenHeathland(mod_BiomesOPlenty.heathlandID)).setColor(353825).setBiomeName("Heathland").func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.1F).setMinMaxHeight(0.1F, 0.3F); - highland = (new BiomeGenHighland(mod_BiomesOPlenty.highlandID)).setColor(6316128).setBiomeName("Highland").setMinMaxHeight(0.9F, 1.9F).setTemperatureRainfall(0.5F, 0.5F); - iceSheet = (new BiomeGenIceSheet(mod_BiomesOPlenty.iceSheetID)).setColor(6316128).setBiomeName("Ice Sheet").setEnableSnow().setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.0F, 0.0F); - icyHills = (new BiomeGenIcyHills(mod_BiomesOPlenty.icyHillsID)).setColor(14090235).setBiomeName("Icy Hills").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(-0.2F, 0.5F); - jadeCliffs = (new BiomeGenJadeCliffs(mod_BiomesOPlenty.jadeCliffsID)).setColor(14090235).setBiomeName("Jade Cliffs").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(0.1F, 2.0F); - lushDesert = (new BiomeGenLushDesert(mod_BiomesOPlenty.lushDesertID)).setColor(16421912).setBiomeName("Lush Desert").setTemperatureRainfall(0.8F, 0.3F).setMinMaxHeight(0.2F, 0.8F); - lushSwamp = (new BiomeGenLushSwamp(mod_BiomesOPlenty.lushSwampID)).setColor(522674).setBiomeName("Lush Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.7F, 1.0F); - mangrove = (new BiomeGenMangrove(mod_BiomesOPlenty.mangroveID)).setColor(16440917).setBiomeName("Mangrove").setMinMaxHeight(-0.4F, -0.1F); - mapleWoods = (new BiomeGenMapleWoods(mod_BiomesOPlenty.mapleWoodsID)).setColor(747097).setBiomeName("Maple Woods").func_76733_a(5159473).setTemperatureRainfall(0.2F, 0.8F).setMinMaxHeight(0.1F, 0.6F); - marsh = (new BiomeGenMarsh(mod_BiomesOPlenty.marshID)).setColor(10486015).setBiomeName("Marsh").setMinMaxHeight(-0.5F, 0.0F); - meadow = (new BiomeGenMeadow(mod_BiomesOPlenty.meadowID)).setColor(9286496).setBiomeName("Meadow").setTemperatureRainfall(0.7F, 0.7F); - mesa = (new BiomeGenMesa(mod_BiomesOPlenty.mesaID)).setColor(16421912).setBiomeName("Mesa").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.8F, 1.0F); - moor = (new BiomeGenMoor(mod_BiomesOPlenty.moorID)).setColor(16421912).setBiomeName("Moor").setTemperatureRainfall(0.5F, 1.0F).setMinMaxHeight(0.7F, 0.8F); - mountain = (new BiomeGenMountain(mod_BiomesOPlenty.mountainID)).setColor(14090235).setBiomeName("Mountain").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(1.2F, 1.2F); - mysticGrove = (new BiomeGenMysticGrove(mod_BiomesOPlenty.mysticGroveID)).setColor(353825).setBiomeName("Mystic Grove").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.9F, 1.0F); - oasis = (new BiomeGenOasis(mod_BiomesOPlenty.oasisID)).setColor(16421912).setBiomeName("Oasis").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.2F); - ominousWoods = (new BiomeGenOminousWoods(mod_BiomesOPlenty.ominousWoodsID)).setColor(353825).setBiomeName("Ominous Woods").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.9F); - orchard = (new BiomeGenOrchard(mod_BiomesOPlenty.orchardID)).setColor(9286496).setBiomeName("Orchard").setTemperatureRainfall(0.8F, 0.4F); - originValley = (new BiomeGenOriginValley(mod_BiomesOPlenty.originValleyID)).setColor(353825).setBiomeName("Origin Valley").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(-0.1F, 0.6F); - outback = (new BiomeGenOutback(mod_BiomesOPlenty.outbackID)).setColor(9286496).setBiomeName("Outback").setTemperatureRainfall(0.8F, 0.0F).setMinMaxHeight(0.1F, 0.1F); - pasture = (new BiomeGenPasture(mod_BiomesOPlenty.pastureID)).setColor(9286496).setBiomeName("Pasture").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.1F, 0.2F); - prairie = (new BiomeGenPrairie(mod_BiomesOPlenty.prairieID)).setColor(353825).setBiomeName("Prairie").func_76733_a(5159473).setTemperatureRainfall(0.9F, 0.6F).setMinMaxHeight(0.1F, 0.1F); - promisedLand = (new BiomeGenPromisedLand(mod_BiomesOPlenty.promisedLandID)).setColor(112).setBiomeName("Promised Land").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 2.0F); - quagmire = (new BiomeGenQuagmire(mod_BiomesOPlenty.quagmireID)).setColor(522674).setBiomeName("Quagmire").func_76733_a(9154376).setMinMaxHeight(-0.1F, 0.3F).setTemperatureRainfall(0.8F, 0.9F); - rainforest = (new BiomeGenRainforest(mod_BiomesOPlenty.rainforestID)).setColor(5470985).setBiomeName("Rainforest").func_76733_a(5470985).setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.7F, 1.8F); - redwoodForest = (new BiomeGenRedwoodForest(mod_BiomesOPlenty.redwoodForestID)).setColor(747097).setBiomeName("Redwood Forest").func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.4F); - sacredSprings = (new BiomeGenSacredSprings(mod_BiomesOPlenty.sacredSpringsID)).setColor(522674).setBiomeName("Sacred Springs").func_76733_a(9154376).setMinMaxHeight(0.0F, 1.2F).setTemperatureRainfall(0.8F, 0.9F); - savanna = (new BiomeGenSavanna(mod_BiomesOPlenty.savannaID)).setColor(9286496).setBiomeName("Savanna").setTemperatureRainfall(2.0F, 0.1F).setMinMaxHeight(0.1F, 0.1F); - scrubland = (new BiomeGenScrubland(mod_BiomesOPlenty.scrublandID)).setColor(9286496).setBiomeName("Scrubland").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.3F); - seasonalForest = (new BiomeGenSeasonalForest(mod_BiomesOPlenty.seasonalForestID)).setColor(353825).setBiomeName("Seasonal Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.2F, 0.7F); - shield = (new BiomeGenShield(mod_BiomesOPlenty.shieldID)).setColor(522674).setBiomeName("Shield").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.5F, 0.8F); - shore = (new BiomeGenShore(mod_BiomesOPlenty.shoreID)).setColor(9286496).setBiomeName("Shore").setMinMaxHeight(-1.0F, 0.4F); - shrubland = (new BiomeGenShrubland(mod_BiomesOPlenty.shrublandID)).setColor(9286496).setBiomeName("Shrubland").setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.6F, 0.0F); - snowyWoods = (new BiomeGenSnowyWoods(mod_BiomesOPlenty.snowyWoodsID)).setColor(522674).setBiomeName("Snowy Woods").func_76733_a(9154376).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.2F, 0.7F); - spruceWoods = (new BiomeGenSpruceWoods(mod_BiomesOPlenty.spruceWoodsID)).setColor(353825).setBiomeName("Spruce Woods").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.7F); - steppe = (new BiomeGenSteppe(mod_BiomesOPlenty.steppeID)).setColor(9286496).setBiomeName("Steppe").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F); - swampwoods = (new BiomeGenSwampwoods(mod_BiomesOPlenty.swampwoodsID)).setColor(522674).setBiomeName("Swampwoods").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.2F).setTemperatureRainfall(0.8F, 0.9F); - temperateRainforest = (new BiomeGenTemperateRainforest(mod_BiomesOPlenty.temperateRainforestID)).setColor(353825).setBiomeName("Temperate Rainforest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.2F, 1.2F); - thicket = (new BiomeGenThicket(mod_BiomesOPlenty.thicketID)).setColor(353825).setBiomeName("Thicket").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.2F).setMinMaxHeight(0.0F, 0.2F); - tropicalRainforest = (new BiomeGenTropicalRainforest(mod_BiomesOPlenty.tropicalRainforestID)).setColor(9286496).setBiomeName("Tropical Rainforest").setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.3F, 0.7F); - tropics = (new BiomeGenTropics(mod_BiomesOPlenty.tropicsID)).setColor(9286496).setBiomeName("Tropics").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.8F); - tundra = (new BiomeGenTundra(mod_BiomesOPlenty.tundraID)).setColor(14090235).setBiomeName("Tundra").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(-0.2F, 0.0F); - volcano = (new BiomeGenVolcano(mod_BiomesOPlenty.volcanoID)).setColor(9286496).setBiomeName("Volcano").setDisableRain().setMinMaxHeight(0.6F, 0.9F); - wasteland = (new BiomeGenWasteland(mod_BiomesOPlenty.wastelandID)).setColor(16421912).setBiomeName("Wasteland").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.0F, 0.0F); - wetland = (new BiomeGenWetland(mod_BiomesOPlenty.wetlandID)).setColor(522674).setBiomeName("Wetland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.8F, 0.9F); - woodland = (new BiomeGenWoodland(mod_BiomesOPlenty.woodlandID)).setColor(353825).setBiomeName("Woodland").func_76733_a(5159473).setTemperatureRainfall(2.0F, 0.2F).setMinMaxHeight(0.1F, 0.2F); - plainsNew = (new BiomeGenPlainsNew(mod_BiomesOPlenty.plainsNewID)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F); - desertNew = (new BiomeGenDesertNew(mod_BiomesOPlenty.desertNewID)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F); - extremeHillsNew = (new BiomeGenHillsNew(mod_BiomesOPlenty.extremeHillsNewID)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F); - forestNew = (new BiomeGenForestNew(mod_BiomesOPlenty.forestNewID)).setColor(353825).setBiomeName("Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F); - taigaNew = (new BiomeGenTaigaNew(mod_BiomesOPlenty.taigaNewID)).setColor(747097).setBiomeName("Taiga").func_76733_a(5159473).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.1F, 0.4F); - swamplandNew = (new BiomeGenSwampNew(mod_BiomesOPlenty.swamplandNewID)).setColor(522674).setBiomeName("Swampland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F); - jungleNew = (new BiomeGenJungleNew(mod_BiomesOPlenty.jungleNewID)).setColor(5470985).setBiomeName("Jungle").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.2F, 0.4F); + alps = (new BiomeGenAlps(BOPConfiguration.alpsID)).setColor(353825).setBiomeName("Alps").func_76733_a(5159473).setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(5.0F, 5.0F); + arctic = (new BiomeGenArctic(BOPConfiguration.arcticID)).setColor(14090235).setBiomeName("Arctic").setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.7F); + badlands = (new BiomeGenBadlands(BOPConfiguration.badlandsID)).setColor(16421912).setBiomeName("Badlands").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.9F); + bambooForest = (new BiomeGenBambooForest(BOPConfiguration.bambooForestID)).setColor(112).setBiomeName("Bamboo Forest").setMinMaxHeight(0.0F, 0.3F); + bayou = (new BiomeGenBayou(BOPConfiguration.bayouID)).setColor(522674).setBiomeName("Bayou").func_76733_a(9154376).setMinMaxHeight(-0.3F, 0.2F); + birchForest = (new BiomeGenBirchForest(BOPConfiguration.birchForestID)).setColor(353825).setBiomeName("Birch Forest").func_76733_a(5159473).setTemperatureRainfall(0.4F, 0.3F); + bog = (new BiomeGenBog(BOPConfiguration.bogID)).setColor(522674).setBiomeName("Bog").func_76733_a(9154376).setMinMaxHeight(-0.3F, -0.1F).setTemperatureRainfall(0.8F, 0.9F); + borealForest = (new BiomeGenBorealForest(BOPConfiguration.borealForestID)).setColor(353825).setBiomeName("Boreal Forest").func_76733_a(5159473).setMinMaxHeight(0.0F, 1.0F).setTemperatureRainfall(0.6F, 0.7F); + canyon = (new BiomeGenCanyon(BOPConfiguration.canyonID)).setColor(9286496).setBiomeName("Canyon").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(3.0F, 5.0F); + chaparral = (new BiomeGenChaparral(BOPConfiguration.chaparralID)).setColor(9286496).setBiomeName("Chaparral").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.3F, 0.6F); + cherryBlossomGrove = (new BiomeGenCherryBlossomGrove(BOPConfiguration.cherryBlossomGroveID)).setColor(9286496).setBiomeName("Cherry Blossom Grove").setMinMaxHeight(0.1F, 0.2F); + coniferousForest = (new BiomeGenConiferousForest(BOPConfiguration.coniferousForestID)).setColor(747097).setBiomeName("Coniferous Forest").func_76733_a(5159473).setTemperatureRainfall(0.3F, 0.4F).setMinMaxHeight(0.1F, 0.8F); + crag = (new BiomeGenCrag(BOPConfiguration.cragID)).setColor(9286496).setBiomeName("Crag").setMinMaxHeight(0.0F, 9.9F); + deadForest = (new BiomeGenDeadForest(BOPConfiguration.deadForestID)).setColor(522674).setBiomeName("Dead Forest").func_76733_a(9154376).setMinMaxHeight(0.2F, 0.7F); + deadSwamp = (new BiomeGenDeadSwamp(BOPConfiguration.deadSwampID)).setColor(522674).setBiomeName("Dead Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F); + deadlands = (new BiomeGenDeadlands(BOPConfiguration.deadlandsID)).setColor(522674).setBiomeName("Deadlands").setDisableRain().func_76733_a(9154376).setMinMaxHeight(0.1F, 0.5F); + deciduousForest = (new BiomeGenDeciduousForest(BOPConfiguration.deciduousForestID)).setColor(353825).setBiomeName("Deciduous Forest").func_76733_a(5159473); + drylands = (new BiomeGenDrylands(BOPConfiguration.drylandsID)).setColor(16421912).setBiomeName("Drylands").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.0F, 0.5F); + dunes = (new BiomeGenDunes(BOPConfiguration.dunesID)).setColor(13786898).setBiomeName("Dunes").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.5F, 1.3F); + fen = (new BiomeGenFen(BOPConfiguration.fenID)).setColor(9286496).setBiomeName("Fen").setTemperatureRainfall(0.4F, 0.0F).setMinMaxHeight(-0.2F, 0.1F); + field = (new BiomeGenField(BOPConfiguration.fieldID)).setColor(9286496).setBiomeName("Field").setTemperatureRainfall(0.4F, 0.8F).setMinMaxHeight(0.0F, 0.1F); + frostForest = (new BiomeGenFrostForest(BOPConfiguration.frostForestID)).setColor(14090235).setBiomeName("Frost Forest").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.4F); + fungiForest = (new BiomeGenFungiForest(BOPConfiguration.fungiForestID)).setColor(747097).setBiomeName("Fungi Forest").func_76733_a(5159473).setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(0.0F, 0.4F); + garden = (new BiomeGenGarden(BOPConfiguration.gardenID)).setColor(9286496).setBiomeName("Garden").setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.1F, 0.2F); + glacier = (new BiomeGenGlacier(BOPConfiguration.glacierID)).setColor(6316128).setBiomeName("Glacier").setEnableSnow().setMinMaxHeight(0.4F, 1.0F).setTemperatureRainfall(0.0F, 0.0F); + grassland = (new BiomeGenGrassland(BOPConfiguration.grasslandID)).setColor(9286496).setBiomeName("Grassland").setTemperatureRainfall(0.7F, 0.7F).setMinMaxHeight(0.2F, 0.2F); + grove = (new BiomeGenGrove(BOPConfiguration.groveID)).setColor(9286496).setBiomeName("Grove").setTemperatureRainfall(0.4F, 0.8F).setMinMaxHeight(0.0F, 0.1F); + heathland = (new BiomeGenHeathland(BOPConfiguration.heathlandID)).setColor(353825).setBiomeName("Heathland").func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.1F).setMinMaxHeight(0.1F, 0.3F); + highland = (new BiomeGenHighland(BOPConfiguration.highlandID)).setColor(6316128).setBiomeName("Highland").setMinMaxHeight(0.9F, 1.9F).setTemperatureRainfall(0.5F, 0.5F); + iceSheet = (new BiomeGenIceSheet(BOPConfiguration.iceSheetID)).setColor(6316128).setBiomeName("Ice Sheet").setEnableSnow().setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.0F, 0.0F); + icyHills = (new BiomeGenIcyHills(BOPConfiguration.icyHillsID)).setColor(14090235).setBiomeName("Icy Hills").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(-0.2F, 0.5F); + jadeCliffs = (new BiomeGenJadeCliffs(BOPConfiguration.jadeCliffsID)).setColor(14090235).setBiomeName("Jade Cliffs").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(0.1F, 2.0F); + lushDesert = (new BiomeGenLushDesert(BOPConfiguration.lushDesertID)).setColor(16421912).setBiomeName("Lush Desert").setTemperatureRainfall(0.8F, 0.3F).setMinMaxHeight(0.2F, 0.8F); + lushSwamp = (new BiomeGenLushSwamp(BOPConfiguration.lushSwampID)).setColor(522674).setBiomeName("Lush Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.7F, 1.0F); + mangrove = (new BiomeGenMangrove(BOPConfiguration.mangroveID)).setColor(16440917).setBiomeName("Mangrove").setMinMaxHeight(-0.4F, -0.1F); + mapleWoods = (new BiomeGenMapleWoods(BOPConfiguration.mapleWoodsID)).setColor(747097).setBiomeName("Maple Woods").func_76733_a(5159473).setTemperatureRainfall(0.2F, 0.8F).setMinMaxHeight(0.1F, 0.6F); + marsh = (new BiomeGenMarsh(BOPConfiguration.marshID)).setColor(10486015).setBiomeName("Marsh").setMinMaxHeight(-0.5F, 0.0F); + meadow = (new BiomeGenMeadow(BOPConfiguration.meadowID)).setColor(9286496).setBiomeName("Meadow").setTemperatureRainfall(0.7F, 0.7F); + mesa = (new BiomeGenMesa(BOPConfiguration.mesaID)).setColor(16421912).setBiomeName("Mesa").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.8F, 1.0F); + moor = (new BiomeGenMoor(BOPConfiguration.moorID)).setColor(16421912).setBiomeName("Moor").setTemperatureRainfall(0.5F, 1.0F).setMinMaxHeight(0.7F, 0.8F); + mountain = (new BiomeGenMountain(BOPConfiguration.mountainID)).setColor(14090235).setBiomeName("Mountain").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(1.2F, 1.2F); + mysticGrove = (new BiomeGenMysticGrove(BOPConfiguration.mysticGroveID)).setColor(353825).setBiomeName("Mystic Grove").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.9F, 1.0F); + oasis = (new BiomeGenOasis(BOPConfiguration.oasisID)).setColor(16421912).setBiomeName("Oasis").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.2F); + ominousWoods = (new BiomeGenOminousWoods(BOPConfiguration.ominousWoodsID)).setColor(353825).setBiomeName("Ominous Woods").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.9F); + orchard = (new BiomeGenOrchard(BOPConfiguration.orchardID)).setColor(9286496).setBiomeName("Orchard").setTemperatureRainfall(0.8F, 0.4F); + originValley = (new BiomeGenOriginValley(BOPConfiguration.originValleyID)).setColor(353825).setBiomeName("Origin Valley").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(-0.1F, 0.6F); + outback = (new BiomeGenOutback(BOPConfiguration.outbackID)).setColor(9286496).setBiomeName("Outback").setTemperatureRainfall(0.8F, 0.0F).setMinMaxHeight(0.1F, 0.1F); + pasture = (new BiomeGenPasture(BOPConfiguration.pastureID)).setColor(9286496).setBiomeName("Pasture").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.1F, 0.2F); + prairie = (new BiomeGenPrairie(BOPConfiguration.prairieID)).setColor(353825).setBiomeName("Prairie").func_76733_a(5159473).setTemperatureRainfall(0.9F, 0.6F).setMinMaxHeight(0.1F, 0.1F); + promisedLand = (new BiomeGenPromisedLand(BOPConfiguration.promisedLandID)).setColor(112).setBiomeName("Promised Land").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 2.0F); + quagmire = (new BiomeGenQuagmire(BOPConfiguration.quagmireID)).setColor(522674).setBiomeName("Quagmire").func_76733_a(9154376).setMinMaxHeight(-0.1F, 0.3F).setTemperatureRainfall(0.8F, 0.9F); + rainforest = (new BiomeGenRainforest(BOPConfiguration.rainforestID)).setColor(5470985).setBiomeName("Rainforest").func_76733_a(5470985).setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.7F, 1.8F); + redwoodForest = (new BiomeGenRedwoodForest(BOPConfiguration.redwoodForestID)).setColor(747097).setBiomeName("Redwood Forest").func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.4F); + sacredSprings = (new BiomeGenSacredSprings(BOPConfiguration.sacredSpringsID)).setColor(522674).setBiomeName("Sacred Springs").func_76733_a(9154376).setMinMaxHeight(0.0F, 1.2F).setTemperatureRainfall(0.8F, 0.9F); + savanna = (new BiomeGenSavanna(BOPConfiguration.savannaID)).setColor(9286496).setBiomeName("Savanna").setTemperatureRainfall(2.0F, 0.1F).setMinMaxHeight(0.1F, 0.1F); + scrubland = (new BiomeGenScrubland(BOPConfiguration.scrublandID)).setColor(9286496).setBiomeName("Scrubland").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.3F); + seasonalForest = (new BiomeGenSeasonalForest(BOPConfiguration.seasonalForestID)).setColor(353825).setBiomeName("Seasonal Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.2F, 0.7F); + shield = (new BiomeGenShield(BOPConfiguration.shieldID)).setColor(522674).setBiomeName("Shield").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.5F, 0.8F); + shore = (new BiomeGenShore(BOPConfiguration.shoreID)).setColor(9286496).setBiomeName("Shore").setMinMaxHeight(-1.0F, 0.4F); + shrubland = (new BiomeGenShrubland(BOPConfiguration.shrublandID)).setColor(9286496).setBiomeName("Shrubland").setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.6F, 0.0F); + snowyWoods = (new BiomeGenSnowyWoods(BOPConfiguration.snowyWoodsID)).setColor(522674).setBiomeName("Snowy Woods").func_76733_a(9154376).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.2F, 0.7F); + spruceWoods = (new BiomeGenSpruceWoods(BOPConfiguration.spruceWoodsID)).setColor(353825).setBiomeName("Spruce Woods").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.7F); + steppe = (new BiomeGenSteppe(BOPConfiguration.steppeID)).setColor(9286496).setBiomeName("Steppe").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F); + swampwoods = (new BiomeGenSwampwoods(BOPConfiguration.swampwoodsID)).setColor(522674).setBiomeName("Swampwoods").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.2F).setTemperatureRainfall(0.8F, 0.9F); + temperateRainforest = (new BiomeGenTemperateRainforest(BOPConfiguration.temperateRainforestID)).setColor(353825).setBiomeName("Temperate Rainforest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.2F, 1.2F); + thicket = (new BiomeGenThicket(BOPConfiguration.thicketID)).setColor(353825).setBiomeName("Thicket").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.2F).setMinMaxHeight(0.0F, 0.2F); + tropicalRainforest = (new BiomeGenTropicalRainforest(BOPConfiguration.tropicalRainforestID)).setColor(9286496).setBiomeName("Tropical Rainforest").setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.3F, 0.7F); + tropics = (new BiomeGenTropics(BOPConfiguration.tropicsID)).setColor(9286496).setBiomeName("Tropics").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.8F); + tundra = (new BiomeGenTundra(BOPConfiguration.tundraID)).setColor(14090235).setBiomeName("Tundra").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(-0.2F, 0.0F); + volcano = (new BiomeGenVolcano(BOPConfiguration.volcanoID)).setColor(9286496).setBiomeName("Volcano").setDisableRain().setMinMaxHeight(0.6F, 0.9F); + wasteland = (new BiomeGenWasteland(BOPConfiguration.wastelandID)).setColor(16421912).setBiomeName("Wasteland").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.0F, 0.0F); + wetland = (new BiomeGenWetland(BOPConfiguration.wetlandID)).setColor(522674).setBiomeName("Wetland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.8F, 0.9F); + woodland = (new BiomeGenWoodland(BOPConfiguration.woodlandID)).setColor(353825).setBiomeName("Woodland").func_76733_a(5159473).setTemperatureRainfall(2.0F, 0.2F).setMinMaxHeight(0.1F, 0.2F); + plainsNew = (new BiomeGenPlainsNew(BOPConfiguration.plainsNewID)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F); + desertNew = (new BiomeGenDesertNew(BOPConfiguration.desertNewID)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F); + extremeHillsNew = (new BiomeGenHillsNew(BOPConfiguration.extremeHillsNewID)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F); + forestNew = (new BiomeGenForestNew(BOPConfiguration.forestNewID)).setColor(353825).setBiomeName("Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F); + taigaNew = (new BiomeGenTaigaNew(BOPConfiguration.taigaNewID)).setColor(747097).setBiomeName("Taiga").func_76733_a(5159473).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.1F, 0.4F); + swamplandNew = (new BiomeGenSwampNew(BOPConfiguration.swamplandNewID)).setColor(522674).setBiomeName("Swampland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F); + jungleNew = (new BiomeGenJungleNew(BOPConfiguration.jungleNewID)).setColor(5470985).setBiomeName("Jungle").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.2F, 0.4F); //Initialize new world type @@ -440,347 +440,347 @@ public class BOPBiomes { BiomeManager.addStrongholdBiome(swamplandNew); BiomeManager.addStrongholdBiome(jungleNew); - if (mod_BiomesOPlenty.addToDefault == true) + if (BOPConfiguration.addToDefault == true) { - if (mod_BiomesOPlenty.alpsGen == true) + if (BOPConfiguration.alpsGen == true) { GameRegistry.addBiome(alps); } - if (mod_BiomesOPlenty.arcticGen == true) + if (BOPConfiguration.arcticGen == true) { GameRegistry.addBiome(arctic); } - if (mod_BiomesOPlenty.badlandsGen == true) + if (BOPConfiguration.badlandsGen == true) { GameRegistry.addBiome(badlands); } - if (mod_BiomesOPlenty.bambooForestGen == true) + if (BOPConfiguration.bambooForestGen == true) { GameRegistry.addBiome(bambooForest); } - if (mod_BiomesOPlenty.bayouGen == true) + if (BOPConfiguration.bayouGen == true) { GameRegistry.addBiome(bayou); } - if (mod_BiomesOPlenty.birchForestGen == true) + if (BOPConfiguration.birchForestGen == true) { GameRegistry.addBiome(birchForest); } - if (mod_BiomesOPlenty.bogGen == true) + if (BOPConfiguration.bogGen == true) { GameRegistry.addBiome(bog); } - if (mod_BiomesOPlenty.borealForestGen == true) + if (BOPConfiguration.borealForestGen == true) { GameRegistry.addBiome(borealForest); } - if (mod_BiomesOPlenty.canyonGen == true) + if (BOPConfiguration.canyonGen == true) { GameRegistry.addBiome(canyon); } - if (mod_BiomesOPlenty.chaparralGen == true) + if (BOPConfiguration.chaparralGen == true) { GameRegistry.addBiome(chaparral); } - if (mod_BiomesOPlenty.cherryBlossomGroveGen == true) + if (BOPConfiguration.cherryBlossomGroveGen == true) { GameRegistry.addBiome(cherryBlossomGrove); } - if (mod_BiomesOPlenty.coniferousForestGen == true) + if (BOPConfiguration.coniferousForestGen == true) { GameRegistry.addBiome(coniferousForest); } - if (mod_BiomesOPlenty.cragGen == true) + if (BOPConfiguration.cragGen == true) { GameRegistry.addBiome(crag); } - if (mod_BiomesOPlenty.deadForestGen == true) + if (BOPConfiguration.deadForestGen == true) { GameRegistry.addBiome(deadForest); } - if (mod_BiomesOPlenty.deadSwampGen == true) + if (BOPConfiguration.deadSwampGen == true) { GameRegistry.addBiome(deadSwamp); } - if (mod_BiomesOPlenty.deadlandsGen == true) + if (BOPConfiguration.deadlandsGen == true) { GameRegistry.addBiome(deadlands); } - if (mod_BiomesOPlenty.deciduousForestGen == true) + if (BOPConfiguration.deciduousForestGen == true) { GameRegistry.addBiome(deciduousForest); } - if (mod_BiomesOPlenty.drylandsGen == true) + if (BOPConfiguration.drylandsGen == true) { GameRegistry.addBiome(drylands); } - if (mod_BiomesOPlenty.dunesGen == true) + if (BOPConfiguration.dunesGen == true) { GameRegistry.addBiome(dunes); } - if (mod_BiomesOPlenty.fenGen == true) + if (BOPConfiguration.fenGen == true) { GameRegistry.addBiome(fen); } - if (mod_BiomesOPlenty.fieldGen == true) + if (BOPConfiguration.fieldGen == true) { GameRegistry.addBiome(field); } - if (mod_BiomesOPlenty.frostForestGen == true) + if (BOPConfiguration.frostForestGen == true) { GameRegistry.addBiome(frostForest); } - if (mod_BiomesOPlenty.fungiForestGen == true) + if (BOPConfiguration.fungiForestGen == true) { GameRegistry.addBiome(fungiForest); } - if (mod_BiomesOPlenty.gardenGen == true) + if (BOPConfiguration.gardenGen == true) { GameRegistry.addBiome(garden); } - if (mod_BiomesOPlenty.glacierGen == true) + if (BOPConfiguration.glacierGen == true) { GameRegistry.addBiome(glacier); } - if (mod_BiomesOPlenty.grasslandGen == true) + if (BOPConfiguration.grasslandGen == true) { GameRegistry.addBiome(grassland); } - if (mod_BiomesOPlenty.groveGen == true) + if (BOPConfiguration.groveGen == true) { GameRegistry.addBiome(grove); } - if (mod_BiomesOPlenty.heathlandGen == true) + if (BOPConfiguration.heathlandGen == true) { GameRegistry.addBiome(heathland); } - if (mod_BiomesOPlenty.highlandGen == true) + if (BOPConfiguration.highlandGen == true) { GameRegistry.addBiome(highland); } - if (mod_BiomesOPlenty.iceSheetGen == true) + if (BOPConfiguration.iceSheetGen == true) { GameRegistry.addBiome(iceSheet); } - if (mod_BiomesOPlenty.icyHillsGen == true) + if (BOPConfiguration.icyHillsGen == true) { GameRegistry.addBiome(icyHills); } - if (mod_BiomesOPlenty.jadeCliffsGen == true) + if (BOPConfiguration.jadeCliffsGen == true) { GameRegistry.addBiome(jadeCliffs); } - if (mod_BiomesOPlenty.lushDesertGen == true) + if (BOPConfiguration.lushDesertGen == true) { GameRegistry.addBiome(lushDesert); } - if (mod_BiomesOPlenty.lushSwampGen == true) + if (BOPConfiguration.lushSwampGen == true) { GameRegistry.addBiome(lushSwamp); } - if (mod_BiomesOPlenty.mangroveGen == true) + if (BOPConfiguration.mangroveGen == true) { GameRegistry.addBiome(mangrove); } - if (mod_BiomesOPlenty.mapleWoodsGen == true) + if (BOPConfiguration.mapleWoodsGen == true) { GameRegistry.addBiome(mapleWoods); } - if (mod_BiomesOPlenty.marshGen == true) + if (BOPConfiguration.marshGen == true) { GameRegistry.addBiome(marsh); } - if (mod_BiomesOPlenty.meadowGen == true) + if (BOPConfiguration.meadowGen == true) { GameRegistry.addBiome(meadow); } - if (mod_BiomesOPlenty.mesaGen == true) + if (BOPConfiguration.mesaGen == true) { GameRegistry.addBiome(mesa); } - if (mod_BiomesOPlenty.moorGen == true) + if (BOPConfiguration.moorGen == true) { GameRegistry.addBiome(moor); } - if (mod_BiomesOPlenty.mountainGen == true) + if (BOPConfiguration.mountainGen == true) { GameRegistry.addBiome(mountain); } - if (mod_BiomesOPlenty.mushroomIslandGen == true) + if (BOPConfiguration.mushroomIslandGen == true) { GameRegistry.addBiome(BiomeGenBase.mushroomIsland); } - if (mod_BiomesOPlenty.mysticGroveGen == true) + if (BOPConfiguration.mysticGroveGen == true) { GameRegistry.addBiome(mysticGrove); } - if (mod_BiomesOPlenty.oasisGen == true) + if (BOPConfiguration.oasisGen == true) { GameRegistry.addBiome(oasis); } - if (mod_BiomesOPlenty.ominousWoodsGen == true) + if (BOPConfiguration.ominousWoodsGen == true) { GameRegistry.addBiome(ominousWoods); } - if (mod_BiomesOPlenty.orchardGen == true) + if (BOPConfiguration.orchardGen == true) { GameRegistry.addBiome(orchard); } - if (mod_BiomesOPlenty.originValleyGen == true) + if (BOPConfiguration.originValleyGen == true) { GameRegistry.addBiome(originValley); } - if (mod_BiomesOPlenty.outbackGen == true) + if (BOPConfiguration.outbackGen == true) { GameRegistry.addBiome(outback); } - if (mod_BiomesOPlenty.pastureGen == true) + if (BOPConfiguration.pastureGen == true) { GameRegistry.addBiome(pasture); } - if (mod_BiomesOPlenty.prairieGen == true) + if (BOPConfiguration.prairieGen == true) { GameRegistry.addBiome(prairie); } - if (mod_BiomesOPlenty.quagmireGen == true) + if (BOPConfiguration.quagmireGen == true) { GameRegistry.addBiome(quagmire); } - if (mod_BiomesOPlenty.rainforestGen == true) + if (BOPConfiguration.rainforestGen == true) { GameRegistry.addBiome(rainforest); } - if (mod_BiomesOPlenty.redwoodForestGen == true) + if (BOPConfiguration.redwoodForestGen == true) { GameRegistry.addBiome(redwoodForest); } - if (mod_BiomesOPlenty.sacredSpringsGen == true) + if (BOPConfiguration.sacredSpringsGen == true) { GameRegistry.addBiome(sacredSprings); } - if (mod_BiomesOPlenty.savannaGen == true) + if (BOPConfiguration.savannaGen == true) { GameRegistry.addBiome(savanna); } - if (mod_BiomesOPlenty.scrublandGen == true) + if (BOPConfiguration.scrublandGen == true) { GameRegistry.addBiome(scrubland); } - if (mod_BiomesOPlenty.seasonalForestGen == true) + if (BOPConfiguration.seasonalForestGen == true) { GameRegistry.addBiome(seasonalForest); } - if (mod_BiomesOPlenty.shieldGen == true) + if (BOPConfiguration.shieldGen == true) { GameRegistry.addBiome(shield); } - if (mod_BiomesOPlenty.shrublandGen == true) + if (BOPConfiguration.shrublandGen == true) { GameRegistry.addBiome(shrubland); } - if (mod_BiomesOPlenty.snowyWoodsGen == true) + if (BOPConfiguration.snowyWoodsGen == true) { GameRegistry.addBiome(snowyWoods); } - if (mod_BiomesOPlenty.spruceWoodsGen == true) + if (BOPConfiguration.spruceWoodsGen == true) { GameRegistry.addBiome(spruceWoods); } - if (mod_BiomesOPlenty.steppeGen == true) + if (BOPConfiguration.steppeGen == true) { GameRegistry.addBiome(steppe); } - if (mod_BiomesOPlenty.swampwoodsGen == true) + if (BOPConfiguration.swampwoodsGen == true) { GameRegistry.addBiome(swampwoods); } - if (mod_BiomesOPlenty.temperateRainforestGen == true) + if (BOPConfiguration.temperateRainforestGen == true) { GameRegistry.addBiome(temperateRainforest); } - if (mod_BiomesOPlenty.thicketGen == true) + if (BOPConfiguration.thicketGen == true) { GameRegistry.addBiome(thicket); } - if (mod_BiomesOPlenty.tropicalRainforestGen == true) + if (BOPConfiguration.tropicalRainforestGen == true) { GameRegistry.addBiome(tropicalRainforest); } - if (mod_BiomesOPlenty.tropicsGen == true) + if (BOPConfiguration.tropicsGen == true) { GameRegistry.addBiome(tropics); } - if (mod_BiomesOPlenty.tundraGen == true) + if (BOPConfiguration.tundraGen == true) { GameRegistry.addBiome(tundra); } - if (mod_BiomesOPlenty.volcanoGen == true) + if (BOPConfiguration.volcanoGen == true) { GameRegistry.addBiome(volcano); } - if (mod_BiomesOPlenty.wastelandGen == true) + if (BOPConfiguration.wastelandGen == true) { GameRegistry.addBiome(wasteland); } - if (mod_BiomesOPlenty.wetlandGen == true) + if (BOPConfiguration.wetlandGen == true) { GameRegistry.addBiome(wetland); } - if (mod_BiomesOPlenty.woodlandGen == true) + if (BOPConfiguration.woodlandGen == true) { GameRegistry.addBiome(woodland); } - if (mod_BiomesOPlenty.plainsGen == true) + if (BOPConfiguration.plainsGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(plainsNew); GameRegistry.removeBiome(BiomeGenBase.plains); } } - if (mod_BiomesOPlenty.desertGen == true) + if (BOPConfiguration.desertGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(desertNew); GameRegistry.removeBiome(BiomeGenBase.desert); } } - if (mod_BiomesOPlenty.extremeHillsGen == true) + if (BOPConfiguration.extremeHillsGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(extremeHillsNew); GameRegistry.removeBiome(BiomeGenBase.extremeHills); } } - if (mod_BiomesOPlenty.forestGen == true) + if (BOPConfiguration.forestGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(forestNew); GameRegistry.removeBiome(BiomeGenBase.forest); } } - if (mod_BiomesOPlenty.taigaGen == true) + if (BOPConfiguration.taigaGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(taigaNew); GameRegistry.removeBiome(BiomeGenBase.taiga); } } - if (mod_BiomesOPlenty.swamplandGen == true) + if (BOPConfiguration.swamplandGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(swamplandNew); GameRegistry.removeBiome(BiomeGenBase.swampland); } } - if (mod_BiomesOPlenty.jungleGen == true) + if (BOPConfiguration.jungleGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { GameRegistry.addBiome(jungleNew); GameRegistry.removeBiome(BiomeGenBase.jungle); diff --git a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBlocks.java b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBlocks.java index 529bb9505..2e6eaccd1 100644 --- a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBlocks.java +++ b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPBlocks.java @@ -189,177 +189,177 @@ public class BOPBlocks { public static void init() { // Block declaration - mud = (new BlockMud(mod_BiomesOPlenty.mudID)).setHardness(0.6F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("mud"); - driedDirt = (new BlockDriedDirt(mod_BiomesOPlenty.driedDirtID)).setHardness(0.1F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("driedDirt"); - redRock = (new BlockRedRock(mod_BiomesOPlenty.redRockID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRock"); - ash = (new BlockAsh(mod_BiomesOPlenty.ashID)).setHardness(0.4F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("ash"); - deadGrass = (new BlockDeadGrass(mod_BiomesOPlenty.deadGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deadGrass"); - desertGrass = (new BlockDesertGrass(mod_BiomesOPlenty.desertGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("desertGrass"); - whiteFlower = (new BlockWhiteFlower(mod_BiomesOPlenty.whiteFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteFlower"); - blueFlower = (new BlockBlueFlower(mod_BiomesOPlenty.blueFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("blueFlower"); - purpleFlower = (new BlockPurpleFlower(mod_BiomesOPlenty.purpleFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("purpleFlower"); - orangeFlower = (new BlockOrangeFlower(mod_BiomesOPlenty.orangeFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeFlower"); - tinyFlower = (new BlockTinyFlower(mod_BiomesOPlenty.tinyFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("tinyFlower"); - glowFlower = (new BlockGlowFlower(mod_BiomesOPlenty.glowFlowerID)).setHardness(0.0F).setLightValue(0.65F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("glowFlower"); - cattail = (new BlockCattail(mod_BiomesOPlenty.cattailID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("cattail"); - willow = (new BlockWillow(mod_BiomesOPlenty.willowID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willow"); - autumnLeaves = (BlockAutumnLeaves)(new BlockAutumnLeaves(mod_BiomesOPlenty.autumnLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("autumnLeaves"); - thorn = (new BlockThorn(mod_BiomesOPlenty.thornID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("thorn"); - toadstool = (new BlockToadstool(mod_BiomesOPlenty.toadstoolID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("toadstool"); - highGrassBottom = (BlockHighGrassBottom)(new BlockHighGrassBottom(mod_BiomesOPlenty.highGrassBottomID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("highGrassBottom"); - highGrassTop = (BlockHighGrassTop)(new BlockHighGrassTop(mod_BiomesOPlenty.highGrassTopID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("highGrassTop"); - ashStone = (new BlockAshStone(mod_BiomesOPlenty.ashStoneID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("ashStone"); - hardIce = (new BlockHardIce(mod_BiomesOPlenty.hardIceID)).setHardness(0.75F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("hardIce"); - redLeaves = (BlockRedLeaves)(new BlockRedLeaves(mod_BiomesOPlenty.redLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redLeaves"); - orangeLeaves = (BlockOrangeLeaves)(new BlockOrangeLeaves(mod_BiomesOPlenty.orangeLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeLeaves"); - pinkLeaves = (BlockPinkLeaves)(new BlockPinkLeaves(mod_BiomesOPlenty.pinkLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkLeaves"); - blueLeaves = (BlockBlueLeaves)(new BlockBlueLeaves(mod_BiomesOPlenty.blueLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("blueLeaves"); - whiteLeaves = (BlockWhiteLeaves)(new BlockWhiteLeaves(mod_BiomesOPlenty.whiteLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteLeaves"); - deadLeaves = (BlockDeadLeaves)(new BlockDeadLeaves(mod_BiomesOPlenty.deadLeavesID)).setHardness(0.1F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deadLeaves"); - shortGrass = (BlockShortGrass)(new BlockShortGrass(mod_BiomesOPlenty.shortGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("shortGrass"); - appleLeaves = (BlockAppleLeaves)(new BlockAppleLeaves(mod_BiomesOPlenty.appleLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleLeaves"); - sprout = (BlockSprout)(new BlockSprout(mod_BiomesOPlenty.sproutID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("sprout"); - bush = (BlockBush)(new BlockBush(mod_BiomesOPlenty.bushID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bush"); - bamboo = new BlockBamboo(mod_BiomesOPlenty.bambooID).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bamboo"); - bambooLeaves = (BlockBambooLeaves)(new BlockBambooLeaves(mod_BiomesOPlenty.bambooLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bambooLeaves"); - mudBrickBlock = (new BlockMudBrick(mod_BiomesOPlenty.mudBrickBlockID)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickBlock"); - originGrass = (BlockOriginGrass)(new BlockOriginGrass(mod_BiomesOPlenty.originGrassID)).setHardness(0.6F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originGrass"); - originLeaves = (BlockOriginLeaves)(new BlockOriginLeaves(mod_BiomesOPlenty.originLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originLeaves"); - pinkFlower = (new BlockPinkFlower(mod_BiomesOPlenty.pinkFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkFlower"); - treeMoss = (new BlockTreeMoss(mod_BiomesOPlenty.treeMossID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("treeMoss"); - deadWood = (new BlockDeadLog(mod_BiomesOPlenty.deadWoodID)).setHardness(0.8F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("deadWood"); - appleLeavesFruitless = (BlockAppleLeavesFruitless)(new BlockAppleLeavesFruitless(mod_BiomesOPlenty.appleLeavesFruitlessID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleLeavesFruitless"); - barley = (new BlockBarley(mod_BiomesOPlenty.barleyID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("barley"); - giantFlowerStem = (new BlockGiantFlowerStem(mod_BiomesOPlenty.giantFlowerStemID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerStem"); - giantFlowerRed = (BlockGiantFlowerRed)(new BlockGiantFlowerRed(mod_BiomesOPlenty.giantFlowerRedID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerRed"); - giantFlowerYellow = (BlockGiantFlowerYellow)(new BlockGiantFlowerYellow(mod_BiomesOPlenty.giantFlowerYellowID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerYellow"); - tinyCactus = (new BlockTinyCactus(mod_BiomesOPlenty.tinyCactusID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("tinyCactus"); - firSapling = (new BlockFirSapling(mod_BiomesOPlenty.firSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("firSapling"); - redwoodSapling = (new BlockRedwoodSapling(mod_BiomesOPlenty.redwoodSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redwoodSapling"); - palmSapling = (new BlockPalmSapling(mod_BiomesOPlenty.palmSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("palmSapling"); - redSapling = (new BlockRedSapling(mod_BiomesOPlenty.redSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redSapling"); - orangeSapling = (new BlockOrangeSapling(mod_BiomesOPlenty.orangeSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeSapling"); - yellowSapling = (new BlockYellowSapling(mod_BiomesOPlenty.yellowSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("yellowSapling"); - brownSapling = (new BlockBrownSapling(mod_BiomesOPlenty.brownSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("brownSapling"); - willowSapling = (new BlockWillowSapling(mod_BiomesOPlenty.willowSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willowSapling"); - appleSapling = (new BlockAppleSapling(mod_BiomesOPlenty.appleSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleSapling"); - originSapling = (new BlockOriginSapling(mod_BiomesOPlenty.originSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originSapling"); - pinkSapling = (new BlockPinkSapling(mod_BiomesOPlenty.pinkSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkSapling"); - whiteSapling = (new BlockWhiteSapling(mod_BiomesOPlenty.whiteSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteSapling"); - darkSapling = (new BlockDarkSapling(mod_BiomesOPlenty.darkSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("darkSapling"); - magicSapling = (new BlockMagicSapling(mod_BiomesOPlenty.magicSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("magicSapling"); - deathbloom = (new BlockDeathbloom(mod_BiomesOPlenty.deathbloomID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deathbloom"); - redRockCobble = (new BlockRedRockCobble(mod_BiomesOPlenty.redRockCobbleID)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobble"); - redRockBrick = (new BlockRedRockBrick(mod_BiomesOPlenty.redRockBrickID)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrick"); - hydrangea = (new BlockHydrangea(mod_BiomesOPlenty.hydrangeaID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("hydrangea"); - violet = (new BlockViolet(mod_BiomesOPlenty.violetID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("violet"); - mediumGrass = (BlockMediumGrass)(new BlockMediumGrass(mod_BiomesOPlenty.mediumGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mediumGrass"); - duneGrass = (new BlockDuneGrass(mod_BiomesOPlenty.duneGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("duneGrass"); - desertSprouts = (new BlockDesertSprouts(mod_BiomesOPlenty.desertSproutsID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("desertSprouts"); - redRockCobbleDoubleSlab = (BlockHalfSlab)(new BlockRedRockCobbleSlab(mod_BiomesOPlenty.redRockCobbleDoubleSlabID, true)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobbleSlab"); - redRockCobbleSingleSlab = (BlockHalfSlab)(new BlockRedRockCobbleSlab(mod_BiomesOPlenty.redRockCobbleSingleSlabID, false)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobbleSlab"); - redRockCobbleStairs = (new BlockRedRockCobbleStairs(mod_BiomesOPlenty.redRockCobbleStairsID, redRockCobble)).setUnlocalizedName("redRockCobbleStairs"); - redRockBrickDoubleSlab = (BlockHalfSlab)(new BlockRedRockBrickSlab(mod_BiomesOPlenty.redRockBrickDoubleSlabID, true)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrickSlab"); - redRockBrickSingleSlab = (BlockHalfSlab)(new BlockRedRockBrickSlab(mod_BiomesOPlenty.redRockBrickSingleSlabID, false)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrickSlab"); - redRockBrickStairs = (new BlockRedRockBrickStairs(mod_BiomesOPlenty.redRockBrickStairsID, redRockBrick)).setUnlocalizedName("redRockBrickStairs"); - mudBrickDoubleSlab = (BlockHalfSlab)(new BlockMudBrickSlab(mod_BiomesOPlenty.mudBrickDoubleSlabID, true)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickSlab"); - mudBrickSingleSlab = (BlockHalfSlab)(new BlockMudBrickSlab(mod_BiomesOPlenty.mudBrickSingleSlabID, false)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickSlab"); - mudBrickStairs = (new BlockMudBrickStairs(mod_BiomesOPlenty.mudBrickStairsID, mudBrickBlock)).setUnlocalizedName("mudBrickStairs"); - mangroveSapling = (new BlockMangroveSapling(mod_BiomesOPlenty.mangroveSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mangroveSapling"); - hardSand = (new BlockHardSand(mod_BiomesOPlenty.hardSandID)).setHardness(0.7F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("hardSand"); - acaciaSapling = (new BlockAcaciaSapling(mod_BiomesOPlenty.acaciaSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("acaciaSapling"); - hardDirt = (new BlockHardDirt(mod_BiomesOPlenty.hardDirtID)).setHardness(0.9F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("hardDirt"); - holyGrass = (BlockHolyGrass)(new BlockHolyGrass(mod_BiomesOPlenty.holyGrassID)).setHardness(1.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyGrass"); - holyStone = (new BlockHolyStone(mod_BiomesOPlenty.holyStoneID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("holyStone"); - holyTallGrass = (new BlockHolyTallGrass(mod_BiomesOPlenty.holyTallGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyTallGrass"); - promisedPortal = new BlockPromisedPortal(mod_BiomesOPlenty.promisedLandPortalID).setUnlocalizedName("promisedPortal").setBlockUnbreakable().setResistance(6000000.0F).setLightValue(1.0F); - holySapling = (new BlockHolySapling(mod_BiomesOPlenty.holySaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holySapling"); - amethystOre = (new BlockAmethystOre(mod_BiomesOPlenty.amethystOreID)).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("amethystOre"); - amethystBlock = (new BlockAmethystBlock(mod_BiomesOPlenty.amethystBlockID)).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("amethystBlock"); - bambooThatching = (new BlockBambooThatching(mod_BiomesOPlenty.bambooThatchingID)).setHardness(1.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("bambooThatching"); - moss = (new BlockMoss(mod_BiomesOPlenty.mossID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("moss"); - algae = (new BlockAlgae(mod_BiomesOPlenty.algaeID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("algae"); - smolderingGrass = (BlockSmolderingGrass)(new BlockSmolderingGrass(mod_BiomesOPlenty.smolderingGrassID)).setHardness(0.6F).setLightValue(0.25F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("smolderingGrass"); - cragRock = (new BlockCragRock(mod_BiomesOPlenty.cragRockID)).setHardness(1.0F).setStepSound(Block.soundGravelFootstep).setUnlocalizedName("cragRock"); - quicksand = (new BlockQuicksand(mod_BiomesOPlenty.quicksandID)).setHardness(0.3F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("quicksand"); + mud = (new BlockMud(BOPConfiguration.mudID)).setHardness(0.6F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("mud"); + driedDirt = (new BlockDriedDirt(BOPConfiguration.driedDirtID)).setHardness(0.1F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("driedDirt"); + redRock = (new BlockRedRock(BOPConfiguration.redRockID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRock"); + ash = (new BlockAsh(BOPConfiguration.ashID)).setHardness(0.4F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("ash"); + deadGrass = (new BlockDeadGrass(BOPConfiguration.deadGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deadGrass"); + desertGrass = (new BlockDesertGrass(BOPConfiguration.desertGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("desertGrass"); + whiteFlower = (new BlockWhiteFlower(BOPConfiguration.whiteFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteFlower"); + blueFlower = (new BlockBlueFlower(BOPConfiguration.blueFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("blueFlower"); + purpleFlower = (new BlockPurpleFlower(BOPConfiguration.purpleFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("purpleFlower"); + orangeFlower = (new BlockOrangeFlower(BOPConfiguration.orangeFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeFlower"); + tinyFlower = (new BlockTinyFlower(BOPConfiguration.tinyFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("tinyFlower"); + glowFlower = (new BlockGlowFlower(BOPConfiguration.glowFlowerID)).setHardness(0.0F).setLightValue(0.65F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("glowFlower"); + cattail = (new BlockCattail(BOPConfiguration.cattailID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("cattail"); + willow = (new BlockWillow(BOPConfiguration.willowID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willow"); + autumnLeaves = (BlockAutumnLeaves)(new BlockAutumnLeaves(BOPConfiguration.autumnLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("autumnLeaves"); + thorn = (new BlockThorn(BOPConfiguration.thornID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("thorn"); + toadstool = (new BlockToadstool(BOPConfiguration.toadstoolID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("toadstool"); + highGrassBottom = (BlockHighGrassBottom)(new BlockHighGrassBottom(BOPConfiguration.highGrassBottomID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("highGrassBottom"); + highGrassTop = (BlockHighGrassTop)(new BlockHighGrassTop(BOPConfiguration.highGrassTopID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("highGrassTop"); + ashStone = (new BlockAshStone(BOPConfiguration.ashStoneID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("ashStone"); + hardIce = (new BlockHardIce(BOPConfiguration.hardIceID)).setHardness(0.75F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("hardIce"); + redLeaves = (BlockRedLeaves)(new BlockRedLeaves(BOPConfiguration.redLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redLeaves"); + orangeLeaves = (BlockOrangeLeaves)(new BlockOrangeLeaves(BOPConfiguration.orangeLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeLeaves"); + pinkLeaves = (BlockPinkLeaves)(new BlockPinkLeaves(BOPConfiguration.pinkLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkLeaves"); + blueLeaves = (BlockBlueLeaves)(new BlockBlueLeaves(BOPConfiguration.blueLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("blueLeaves"); + whiteLeaves = (BlockWhiteLeaves)(new BlockWhiteLeaves(BOPConfiguration.whiteLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteLeaves"); + deadLeaves = (BlockDeadLeaves)(new BlockDeadLeaves(BOPConfiguration.deadLeavesID)).setHardness(0.1F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deadLeaves"); + shortGrass = (BlockShortGrass)(new BlockShortGrass(BOPConfiguration.shortGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("shortGrass"); + appleLeaves = (BlockAppleLeaves)(new BlockAppleLeaves(BOPConfiguration.appleLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleLeaves"); + sprout = (BlockSprout)(new BlockSprout(BOPConfiguration.sproutID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("sprout"); + bush = (BlockBush)(new BlockBush(BOPConfiguration.bushID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bush"); + bamboo = new BlockBamboo(BOPConfiguration.bambooID).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bamboo"); + bambooLeaves = (BlockBambooLeaves)(new BlockBambooLeaves(BOPConfiguration.bambooLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("bambooLeaves"); + mudBrickBlock = (new BlockMudBrick(BOPConfiguration.mudBrickBlockID)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickBlock"); + originGrass = (BlockOriginGrass)(new BlockOriginGrass(BOPConfiguration.originGrassID)).setHardness(0.6F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originGrass"); + originLeaves = (BlockOriginLeaves)(new BlockOriginLeaves(BOPConfiguration.originLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originLeaves"); + pinkFlower = (new BlockPinkFlower(BOPConfiguration.pinkFlowerID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkFlower"); + treeMoss = (new BlockTreeMoss(BOPConfiguration.treeMossID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("treeMoss"); + deadWood = (new BlockDeadLog(BOPConfiguration.deadWoodID)).setHardness(0.8F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("deadWood"); + appleLeavesFruitless = (BlockAppleLeavesFruitless)(new BlockAppleLeavesFruitless(BOPConfiguration.appleLeavesFruitlessID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleLeavesFruitless"); + barley = (new BlockBarley(BOPConfiguration.barleyID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("barley"); + giantFlowerStem = (new BlockGiantFlowerStem(BOPConfiguration.giantFlowerStemID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerStem"); + giantFlowerRed = (BlockGiantFlowerRed)(new BlockGiantFlowerRed(BOPConfiguration.giantFlowerRedID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerRed"); + giantFlowerYellow = (BlockGiantFlowerYellow)(new BlockGiantFlowerYellow(BOPConfiguration.giantFlowerYellowID)).setHardness(0.5F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("giantFlowerYellow"); + tinyCactus = (new BlockTinyCactus(BOPConfiguration.tinyCactusID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("tinyCactus"); + firSapling = (new BlockFirSapling(BOPConfiguration.firSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("firSapling"); + redwoodSapling = (new BlockRedwoodSapling(BOPConfiguration.redwoodSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redwoodSapling"); + palmSapling = (new BlockPalmSapling(BOPConfiguration.palmSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("palmSapling"); + redSapling = (new BlockRedSapling(BOPConfiguration.redSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redSapling"); + orangeSapling = (new BlockOrangeSapling(BOPConfiguration.orangeSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("orangeSapling"); + yellowSapling = (new BlockYellowSapling(BOPConfiguration.yellowSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("yellowSapling"); + brownSapling = (new BlockBrownSapling(BOPConfiguration.brownSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("brownSapling"); + willowSapling = (new BlockWillowSapling(BOPConfiguration.willowSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willowSapling"); + appleSapling = (new BlockAppleSapling(BOPConfiguration.appleSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("appleSapling"); + originSapling = (new BlockOriginSapling(BOPConfiguration.originSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("originSapling"); + pinkSapling = (new BlockPinkSapling(BOPConfiguration.pinkSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("pinkSapling"); + whiteSapling = (new BlockWhiteSapling(BOPConfiguration.whiteSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("whiteSapling"); + darkSapling = (new BlockDarkSapling(BOPConfiguration.darkSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("darkSapling"); + magicSapling = (new BlockMagicSapling(BOPConfiguration.magicSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("magicSapling"); + deathbloom = (new BlockDeathbloom(BOPConfiguration.deathbloomID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("deathbloom"); + redRockCobble = (new BlockRedRockCobble(BOPConfiguration.redRockCobbleID)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobble"); + redRockBrick = (new BlockRedRockBrick(BOPConfiguration.redRockBrickID)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrick"); + hydrangea = (new BlockHydrangea(BOPConfiguration.hydrangeaID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("hydrangea"); + violet = (new BlockViolet(BOPConfiguration.violetID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("violet"); + mediumGrass = (BlockMediumGrass)(new BlockMediumGrass(BOPConfiguration.mediumGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mediumGrass"); + duneGrass = (new BlockDuneGrass(BOPConfiguration.duneGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("duneGrass"); + desertSprouts = (new BlockDesertSprouts(BOPConfiguration.desertSproutsID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("desertSprouts"); + redRockCobbleDoubleSlab = (BlockHalfSlab)(new BlockRedRockCobbleSlab(BOPConfiguration.redRockCobbleDoubleSlabID, true)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobbleSlab"); + redRockCobbleSingleSlab = (BlockHalfSlab)(new BlockRedRockCobbleSlab(BOPConfiguration.redRockCobbleSingleSlabID, false)).setHardness(1.6F).setResistance(7.5F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockCobbleSlab"); + redRockCobbleStairs = (new BlockRedRockCobbleStairs(BOPConfiguration.redRockCobbleStairsID, redRockCobble)).setUnlocalizedName("redRockCobbleStairs"); + redRockBrickDoubleSlab = (BlockHalfSlab)(new BlockRedRockBrickSlab(BOPConfiguration.redRockBrickDoubleSlabID, true)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrickSlab"); + redRockBrickSingleSlab = (BlockHalfSlab)(new BlockRedRockBrickSlab(BOPConfiguration.redRockBrickSingleSlabID, false)).setHardness(1.1F).setResistance(7.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("redRockBrickSlab"); + redRockBrickStairs = (new BlockRedRockBrickStairs(BOPConfiguration.redRockBrickStairsID, redRockBrick)).setUnlocalizedName("redRockBrickStairs"); + mudBrickDoubleSlab = (BlockHalfSlab)(new BlockMudBrickSlab(BOPConfiguration.mudBrickDoubleSlabID, true)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickSlab"); + mudBrickSingleSlab = (BlockHalfSlab)(new BlockMudBrickSlab(BOPConfiguration.mudBrickSingleSlabID, false)).setHardness(1.0F).setResistance(2.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("mudBrickSlab"); + mudBrickStairs = (new BlockMudBrickStairs(BOPConfiguration.mudBrickStairsID, mudBrickBlock)).setUnlocalizedName("mudBrickStairs"); + mangroveSapling = (new BlockMangroveSapling(BOPConfiguration.mangroveSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mangroveSapling"); + hardSand = (new BlockHardSand(BOPConfiguration.hardSandID)).setHardness(0.7F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("hardSand"); + acaciaSapling = (new BlockAcaciaSapling(BOPConfiguration.acaciaSaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("acaciaSapling"); + hardDirt = (new BlockHardDirt(BOPConfiguration.hardDirtID)).setHardness(0.9F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("hardDirt"); + holyGrass = (BlockHolyGrass)(new BlockHolyGrass(BOPConfiguration.holyGrassID)).setHardness(1.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyGrass"); + holyStone = (new BlockHolyStone(BOPConfiguration.holyStoneID)).setHardness(1.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("holyStone"); + holyTallGrass = (new BlockHolyTallGrass(BOPConfiguration.holyTallGrassID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyTallGrass"); + promisedPortal = new BlockPromisedPortal(BOPConfiguration.promisedLandPortalID).setUnlocalizedName("promisedPortal").setBlockUnbreakable().setResistance(6000000.0F).setLightValue(1.0F); + holySapling = (new BlockHolySapling(BOPConfiguration.holySaplingID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holySapling"); + amethystOre = (new BlockAmethystOre(BOPConfiguration.amethystOreID)).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("amethystOre"); + amethystBlock = (new BlockAmethystBlock(BOPConfiguration.amethystBlockID)).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("amethystBlock"); + bambooThatching = (new BlockBambooThatching(BOPConfiguration.bambooThatchingID)).setHardness(1.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("bambooThatching"); + moss = (new BlockMoss(BOPConfiguration.mossID)).setHardness(0.2F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("moss"); + algae = (new BlockAlgae(BOPConfiguration.algaeID)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("algae"); + smolderingGrass = (BlockSmolderingGrass)(new BlockSmolderingGrass(BOPConfiguration.smolderingGrassID)).setHardness(0.6F).setLightValue(0.25F).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("smolderingGrass"); + cragRock = (new BlockCragRock(BOPConfiguration.cragRockID)).setHardness(1.0F).setStepSound(Block.soundGravelFootstep).setUnlocalizedName("cragRock"); + quicksand = (new BlockQuicksand(BOPConfiguration.quicksandID)).setHardness(0.3F).setStepSound(Block.soundSandFootstep).setUnlocalizedName("quicksand"); //Redwood - redwoodPlank = (new BlockRedwoodPlank(mod_BiomesOPlenty.redwoodPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodPlank"); - redwoodWood = (new BlockRedwoodLog(mod_BiomesOPlenty.redwoodWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodWood"); - redwoodLeaves = (BlockRedwoodLeaves)(new BlockRedwoodLeaves(mod_BiomesOPlenty.redwoodLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redwoodLeaves"); - redwoodDoubleSlab = (BlockHalfSlab)(new BlockRedwoodSlab(mod_BiomesOPlenty.redwoodDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodSlab"); - redwoodSingleSlab = (BlockHalfSlab)(new BlockRedwoodSlab(mod_BiomesOPlenty.redwoodSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodSlab"); - redwoodStairs = (new BlockRedwoodStairs(mod_BiomesOPlenty.redwoodStairsID, redwoodPlank)).setUnlocalizedName("redwoodStairs"); + redwoodPlank = (new BlockRedwoodPlank(BOPConfiguration.redwoodPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodPlank"); + redwoodWood = (new BlockRedwoodLog(BOPConfiguration.redwoodWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodWood"); + redwoodLeaves = (BlockRedwoodLeaves)(new BlockRedwoodLeaves(BOPConfiguration.redwoodLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("redwoodLeaves"); + redwoodDoubleSlab = (BlockHalfSlab)(new BlockRedwoodSlab(BOPConfiguration.redwoodDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodSlab"); + redwoodSingleSlab = (BlockHalfSlab)(new BlockRedwoodSlab(BOPConfiguration.redwoodSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("redwoodSlab"); + redwoodStairs = (new BlockRedwoodStairs(BOPConfiguration.redwoodStairsID, redwoodPlank)).setUnlocalizedName("redwoodStairs"); //Willow - willowPlank = (new BlockWillowPlank(mod_BiomesOPlenty.willowPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowPlank"); - willowWood = (new BlockWillowLog(mod_BiomesOPlenty.willowWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowWood"); - willowLeaves = (BlockWillowLeaves)(new BlockWillowLeaves(mod_BiomesOPlenty.willowLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willowLeaves"); - willowDoubleSlab = (BlockHalfSlab)(new BlockWillowSlab(mod_BiomesOPlenty.willowDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowSlab"); - willowSingleSlab = (BlockHalfSlab)(new BlockWillowSlab(mod_BiomesOPlenty.willowSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowSlab"); - willowStairs = (new BlockWillowStairs(mod_BiomesOPlenty.willowStairsID, willowPlank)).setUnlocalizedName("willowStairs"); + willowPlank = (new BlockWillowPlank(BOPConfiguration.willowPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowPlank"); + willowWood = (new BlockWillowLog(BOPConfiguration.willowWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowWood"); + willowLeaves = (BlockWillowLeaves)(new BlockWillowLeaves(BOPConfiguration.willowLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("willowLeaves"); + willowDoubleSlab = (BlockHalfSlab)(new BlockWillowSlab(BOPConfiguration.willowDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowSlab"); + willowSingleSlab = (BlockHalfSlab)(new BlockWillowSlab(BOPConfiguration.willowSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("willowSlab"); + willowStairs = (new BlockWillowStairs(BOPConfiguration.willowStairsID, willowPlank)).setUnlocalizedName("willowStairs"); //Fir - firPlank = (new BlockFirPlank(mod_BiomesOPlenty.firPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firPlank"); - firWood = (new BlockFirLog(mod_BiomesOPlenty.firWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firWood"); - firLeaves = (BlockFirLeaves)(new BlockFirLeaves(mod_BiomesOPlenty.firLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("firLeaves"); - firDoubleSlab = (BlockHalfSlab)(new BlockFirSlab(mod_BiomesOPlenty.firDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firSlab"); - firSingleSlab = (BlockHalfSlab)(new BlockFirSlab(mod_BiomesOPlenty.firSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firSlab"); - firStairs = (new BlockFirStairs(mod_BiomesOPlenty.firStairsID, firPlank)).setUnlocalizedName("firStairs"); + firPlank = (new BlockFirPlank(BOPConfiguration.firPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firPlank"); + firWood = (new BlockFirLog(BOPConfiguration.firWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firWood"); + firLeaves = (BlockFirLeaves)(new BlockFirLeaves(BOPConfiguration.firLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("firLeaves"); + firDoubleSlab = (BlockHalfSlab)(new BlockFirSlab(BOPConfiguration.firDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firSlab"); + firSingleSlab = (BlockHalfSlab)(new BlockFirSlab(BOPConfiguration.firSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("firSlab"); + firStairs = (new BlockFirStairs(BOPConfiguration.firStairsID, firPlank)).setUnlocalizedName("firStairs"); //Acacia - acaciaPlank = (new BlockAcaciaPlank(mod_BiomesOPlenty.acaciaPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaPlank"); - acaciaWood = (new BlockAcaciaLog(mod_BiomesOPlenty.acaciaWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaWood"); - acaciaLeaves = (BlockAcaciaLeaves)(new BlockAcaciaLeaves(mod_BiomesOPlenty.acaciaLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("acaciaLeaves"); - acaciaDoubleSlab = (BlockHalfSlab)(new BlockAcaciaSlab(mod_BiomesOPlenty.acaciaDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaSlab"); - acaciaSingleSlab = (BlockHalfSlab)(new BlockAcaciaSlab(mod_BiomesOPlenty.acaciaSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaSlab"); - acaciaStairs = (new BlockAcaciaStairs(mod_BiomesOPlenty.acaciaStairsID, acaciaPlank)).setUnlocalizedName("acaciaStairs"); + acaciaPlank = (new BlockAcaciaPlank(BOPConfiguration.acaciaPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaPlank"); + acaciaWood = (new BlockAcaciaLog(BOPConfiguration.acaciaWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaWood"); + acaciaLeaves = (BlockAcaciaLeaves)(new BlockAcaciaLeaves(BOPConfiguration.acaciaLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("acaciaLeaves"); + acaciaDoubleSlab = (BlockHalfSlab)(new BlockAcaciaSlab(BOPConfiguration.acaciaDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaSlab"); + acaciaSingleSlab = (BlockHalfSlab)(new BlockAcaciaSlab(BOPConfiguration.acaciaSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("acaciaSlab"); + acaciaStairs = (new BlockAcaciaStairs(BOPConfiguration.acaciaStairsID, acaciaPlank)).setUnlocalizedName("acaciaStairs"); //Cherry - cherryPlank = (new BlockCherryPlank(mod_BiomesOPlenty.cherryPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherryPlank"); - cherryWood = (new BlockCherryLog(mod_BiomesOPlenty.cherryWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherryWood"); - cherryDoubleSlab = (BlockHalfSlab)(new BlockCherrySlab(mod_BiomesOPlenty.cherryDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherrySlab"); - cherrySingleSlab = (BlockHalfSlab)(new BlockCherrySlab(mod_BiomesOPlenty.cherrySingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherrySlab"); - cherryStairs = (new BlockCherryStairs(mod_BiomesOPlenty.cherryStairsID, cherryPlank)).setUnlocalizedName("cherryStairs"); + cherryPlank = (new BlockCherryPlank(BOPConfiguration.cherryPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherryPlank"); + cherryWood = (new BlockCherryLog(BOPConfiguration.cherryWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherryWood"); + cherryDoubleSlab = (BlockHalfSlab)(new BlockCherrySlab(BOPConfiguration.cherryDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherrySlab"); + cherrySingleSlab = (BlockHalfSlab)(new BlockCherrySlab(BOPConfiguration.cherrySingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("cherrySlab"); + cherryStairs = (new BlockCherryStairs(BOPConfiguration.cherryStairsID, cherryPlank)).setUnlocalizedName("cherryStairs"); //Dark - darkPlank = (new BlockDarkPlank(mod_BiomesOPlenty.darkPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkPlank"); - darkWood = (new BlockDarkLog(mod_BiomesOPlenty.darkWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkWood"); - darkLeaves = (BlockDarkLeaves)(new BlockDarkLeaves(mod_BiomesOPlenty.darkLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("darkLeaves"); - darkDoubleSlab = (BlockHalfSlab)(new BlockDarkSlab(mod_BiomesOPlenty.darkDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkSlab"); - darkSingleSlab = (BlockHalfSlab)(new BlockDarkSlab(mod_BiomesOPlenty.darkSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkSlab"); - darkStairs = (new BlockDarkStairs(mod_BiomesOPlenty.darkStairsID, darkPlank)).setUnlocalizedName("darkStairs"); + darkPlank = (new BlockDarkPlank(BOPConfiguration.darkPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkPlank"); + darkWood = (new BlockDarkLog(BOPConfiguration.darkWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkWood"); + darkLeaves = (BlockDarkLeaves)(new BlockDarkLeaves(BOPConfiguration.darkLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("darkLeaves"); + darkDoubleSlab = (BlockHalfSlab)(new BlockDarkSlab(BOPConfiguration.darkDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkSlab"); + darkSingleSlab = (BlockHalfSlab)(new BlockDarkSlab(BOPConfiguration.darkSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("darkSlab"); + darkStairs = (new BlockDarkStairs(BOPConfiguration.darkStairsID, darkPlank)).setUnlocalizedName("darkStairs"); //Magic - magicPlank = (new BlockMagicPlank(mod_BiomesOPlenty.magicPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicPlank"); - magicWood = (new BlockMagicLog(mod_BiomesOPlenty.magicWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicWood"); - magicDoubleSlab = (BlockHalfSlab)(new BlockMagicSlab(mod_BiomesOPlenty.magicDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicSlab"); - magicSingleSlab = (BlockHalfSlab)(new BlockMagicSlab(mod_BiomesOPlenty.magicSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicSlab"); - magicStairs = (new BlockMagicStairs(mod_BiomesOPlenty.magicStairsID, magicPlank)).setUnlocalizedName("magicStairs"); + magicPlank = (new BlockMagicPlank(BOPConfiguration.magicPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicPlank"); + magicWood = (new BlockMagicLog(BOPConfiguration.magicWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicWood"); + magicDoubleSlab = (BlockHalfSlab)(new BlockMagicSlab(BOPConfiguration.magicDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicSlab"); + magicSingleSlab = (BlockHalfSlab)(new BlockMagicSlab(BOPConfiguration.magicSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("magicSlab"); + magicStairs = (new BlockMagicStairs(BOPConfiguration.magicStairsID, magicPlank)).setUnlocalizedName("magicStairs"); //Palm - palmPlank = (new BlockPalmPlank(mod_BiomesOPlenty.palmPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmPlank"); - palmWood = (new BlockPalmLog(mod_BiomesOPlenty.palmWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmWood"); - palmLeaves = (BlockPalmLeaves)(new BlockPalmLeaves(mod_BiomesOPlenty.palmLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("palmLeaves"); - palmDoubleSlab = (BlockHalfSlab)(new BlockPalmSlab(mod_BiomesOPlenty.palmDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmSlab"); - palmSingleSlab = (BlockHalfSlab)(new BlockPalmSlab(mod_BiomesOPlenty.palmSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmSlab"); - palmStairs = (new BlockPalmStairs(mod_BiomesOPlenty.palmStairsID, palmPlank)).setUnlocalizedName("palmStairs"); + palmPlank = (new BlockPalmPlank(BOPConfiguration.palmPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmPlank"); + palmWood = (new BlockPalmLog(BOPConfiguration.palmWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmWood"); + palmLeaves = (BlockPalmLeaves)(new BlockPalmLeaves(BOPConfiguration.palmLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("palmLeaves"); + palmDoubleSlab = (BlockHalfSlab)(new BlockPalmSlab(BOPConfiguration.palmDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmSlab"); + palmSingleSlab = (BlockHalfSlab)(new BlockPalmSlab(BOPConfiguration.palmSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("palmSlab"); + palmStairs = (new BlockPalmStairs(BOPConfiguration.palmStairsID, palmPlank)).setUnlocalizedName("palmStairs"); //Mangrove - mangrovePlank = (new BlockMangrovePlank(mod_BiomesOPlenty.mangrovePlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangrovePlank"); - mangroveWood = (new BlockMangroveLog(mod_BiomesOPlenty.mangroveWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveWood"); - mangroveLeaves = (BlockMangroveLeaves)(new BlockMangroveLeaves(mod_BiomesOPlenty.mangroveLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mangroveLeaves"); - mangroveDoubleSlab = (BlockHalfSlab)(new BlockMangroveSlab(mod_BiomesOPlenty.mangroveDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveSlab"); - mangroveSingleSlab = (BlockHalfSlab)(new BlockMangroveSlab(mod_BiomesOPlenty.mangroveSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveSlab"); - mangroveStairs = (new BlockMangroveStairs(mod_BiomesOPlenty.mangroveStairsID, mangrovePlank)).setUnlocalizedName("mangroveStairs"); + mangrovePlank = (new BlockMangrovePlank(BOPConfiguration.mangrovePlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangrovePlank"); + mangroveWood = (new BlockMangroveLog(BOPConfiguration.mangroveWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveWood"); + mangroveLeaves = (BlockMangroveLeaves)(new BlockMangroveLeaves(BOPConfiguration.mangroveLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("mangroveLeaves"); + mangroveDoubleSlab = (BlockHalfSlab)(new BlockMangroveSlab(BOPConfiguration.mangroveDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveSlab"); + mangroveSingleSlab = (BlockHalfSlab)(new BlockMangroveSlab(BOPConfiguration.mangroveSingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("mangroveSlab"); + mangroveStairs = (new BlockMangroveStairs(BOPConfiguration.mangroveStairsID, mangrovePlank)).setUnlocalizedName("mangroveStairs"); //Holy - holyPlank = (new BlockHolyPlank(mod_BiomesOPlenty.holyPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holyPlank"); - holyWood = (new BlockHolyLog(mod_BiomesOPlenty.holyWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holyWood"); - holyLeaves = (BlockHolyLeaves)(new BlockHolyLeaves(mod_BiomesOPlenty.holyLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyLeaves"); - holyDoubleSlab = (BlockHalfSlab)(new BlockHolySlab(mod_BiomesOPlenty.holyDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holySlab"); - holySingleSlab = (BlockHalfSlab)(new BlockHolySlab(mod_BiomesOPlenty.holySingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holySlab"); - holyStairs = (new BlockHolyStairs(mod_BiomesOPlenty.holyStairsID, holyPlank)).setUnlocalizedName("holyStairs"); + holyPlank = (new BlockHolyPlank(BOPConfiguration.holyPlankID)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holyPlank"); + holyWood = (new BlockHolyLog(BOPConfiguration.holyWoodID)).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holyWood"); + holyLeaves = (BlockHolyLeaves)(new BlockHolyLeaves(BOPConfiguration.holyLeavesID)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("holyLeaves"); + holyDoubleSlab = (BlockHalfSlab)(new BlockHolySlab(BOPConfiguration.holyDoubleSlabID, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holySlab"); + holySingleSlab = (BlockHalfSlab)(new BlockHolySlab(BOPConfiguration.holySingleSlabID, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("holySlab"); + holyStairs = (new BlockHolyStairs(BOPConfiguration.holyStairsID, holyPlank)).setUnlocalizedName("holyStairs"); // Add block registration GameRegistry.registerBlock(mud, "mud"); @@ -655,7 +655,8 @@ public class BOPBlocks { MinecraftForge.setBlockHarvestLevel(quicksand, "shovel", 0); MinecraftForge.setBlockHarvestLevel(driedDirt, "pickaxe", 0); - MinecraftForge.setBlockHarvestLevel(amethystOre, "pickaxe", 3); + MinecraftForge.setBlockHarvestLevel(amethystOre, "pickaxe", 3); + MinecraftForge.setBlockHarvestLevel(amethystBlock, "pickaxe", 3); // Add block names LanguageRegistry.addName(mud, "Mud"); diff --git a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPConfiguration.java b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPConfiguration.java new file mode 100644 index 000000000..29fee1f8b --- /dev/null +++ b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPConfiguration.java @@ -0,0 +1,804 @@ +package tdwp_ftw.biomesop.declarations; + +import static net.minecraftforge.common.Configuration.CATEGORY_BLOCK; +import static net.minecraftforge.common.Configuration.CATEGORY_GENERAL; + +import java.io.File; +import java.util.logging.Level; + +import net.minecraftforge.common.Configuration; +import cpw.mods.fml.common.FMLLog; + +public class BOPConfiguration { + + public static Configuration config; + + // Configuration variables + public static boolean skyColors; + public static int biomeSize; + public static boolean addToDefault; + public static boolean achievements; + public static boolean vanillaEnhanced; + public static int promisedLandDimID; + + public static boolean alpsGen; + public static boolean arcticGen; + public static boolean badlandsGen; + public static boolean bambooForestGen; + public static boolean bayouGen; + public static boolean birchForestGen; + public static boolean bogGen; + public static boolean borealForestGen; + public static boolean canyonGen; + public static boolean chaparralGen; + public static boolean cherryBlossomGroveGen; + public static boolean coniferousForestGen; + public static boolean cragGen; + public static boolean deadForestGen; + public static boolean deadSwampGen; + public static boolean deadlandsGen; + public static boolean deciduousForestGen; + public static boolean drylandsGen; + public static boolean dunesGen; + public static boolean fenGen; + public static boolean fieldGen; + public static boolean frostForestGen; + public static boolean fungiForestGen; + public static boolean gardenGen; + public static boolean glacierGen; + public static boolean grasslandGen; + public static boolean groveGen; + public static boolean heathlandGen; + public static boolean highlandGen; + public static boolean iceSheetGen; + public static boolean icyHillsGen; + public static boolean jadeCliffsGen; + public static boolean lushDesertGen; + public static boolean lushSwampGen; + public static boolean mangroveGen; + public static boolean mapleWoodsGen; + public static boolean marshGen; + public static boolean meadowGen; + public static boolean mesaGen; + public static boolean moorGen; + public static boolean mountainGen; + public static boolean mushroomIslandGen; + public static boolean mysticGroveGen; + public static boolean oasisGen; + public static boolean ominousWoodsGen; + public static boolean orchardGen; + public static boolean originValleyGen; + public static boolean outbackGen; + public static boolean pastureGen; + public static boolean prairieGen; + public static boolean quagmireGen; + public static boolean rainforestGen; + public static boolean redwoodForestGen; + public static boolean sacredSpringsGen; + public static boolean savannaGen; + public static boolean scrublandGen; + public static boolean seasonalForestGen; + public static boolean shieldGen; + public static boolean shrublandGen; + public static boolean snowyWoodsGen; + public static boolean spruceWoodsGen; + public static boolean steppeGen; + public static boolean swampwoodsGen; + public static boolean temperateRainforestGen; + public static boolean thicketGen; + public static boolean tropicalRainforestGen; + public static boolean tropicsGen; + public static boolean tundraGen; + public static boolean volcanoGen; + public static boolean wastelandGen; + public static boolean wetlandGen; + public static boolean woodlandGen; + + public static boolean plainsGen; + public static boolean desertGen; + public static boolean extremeHillsGen; + public static boolean forestGen; + public static boolean taigaGen; + public static boolean swamplandGen; + public static boolean jungleGen; + + public static int mudID; + public static int driedDirtID; + public static int redRockID; + public static int ashID; + public static int deadGrassID; + public static int desertGrassID; + public static int whiteFlowerID; + public static int blueFlowerID; + public static int purpleFlowerID; + public static int orangeFlowerID; + public static int tinyFlowerID; + public static int glowFlowerID; + public static int cattailID; + public static int willowID; + public static int autumnLeavesID; + public static int thornID; + public static int toadstoolID; + public static int highGrassBottomID; + public static int highGrassTopID; + public static int ashStoneID; + public static int hardIceID; + public static int redLeavesID; + public static int orangeLeavesID; + public static int pinkLeavesID; + public static int blueLeavesID; + public static int whiteLeavesID; + public static int deadLeavesID; + public static int shortGrassID; + public static int appleLeavesID; + public static int sproutID; + public static int bushID; + public static int bambooID; + public static int bambooLeavesID; + public static int mudBrickBlockID; + public static int mudBrickDoubleSlabID; + public static int mudBrickSingleSlabID; + public static int mudBrickStairsID; + public static int originGrassID; + public static int originLeavesID; + public static int pinkFlowerID; + public static int treeMossID; + public static int deadWoodID; + public static int appleLeavesFruitlessID; + public static int barleyID; + public static int giantFlowerStemID; + public static int giantFlowerRedID; + public static int giantFlowerYellowID; + public static int tinyCactusID; + public static int firSaplingID; + public static int redwoodSaplingID; + public static int palmSaplingID; + public static int redSaplingID; + public static int orangeSaplingID; + public static int yellowSaplingID; + public static int brownSaplingID; + public static int willowSaplingID; + public static int appleSaplingID; + public static int originSaplingID; + public static int pinkSaplingID; + public static int whiteSaplingID; + public static int darkSaplingID; + public static int magicSaplingID; + public static int deathbloomID; + public static int redRockCobbleID; + public static int redRockCobbleDoubleSlabID; + public static int redRockCobbleSingleSlabID; + public static int redRockCobbleStairsID; + public static int redRockBrickID; + public static int redRockBrickDoubleSlabID; + public static int redRockBrickSingleSlabID; + public static int redRockBrickStairsID; + public static int hydrangeaID; + public static int violetID; + public static int mediumGrassID; + public static int duneGrassID; + public static int desertSproutsID; + public static int mangroveSaplingID; + public static int hardSandID; + public static int acaciaSaplingID; + public static int hardDirtID; + public static int holyGrassID; + public static int holyStoneID; + public static int holyTallGrassID; + public static int promisedLandPortalID; + public static int holySaplingID; + public static int amethystOreID; + public static int amethystBlockID; + public static int bambooThatchingID; + public static int mossID; + public static int algaeID; + public static int smolderingGrassID; + public static int cragRockID; + public static int quicksandID; + + //Redwood + public static int redwoodPlankID; + public static int redwoodWoodID; + public static int redwoodLeavesID; + public static int redwoodDoubleSlabID; + public static int redwoodSingleSlabID; + public static int redwoodStairsID; + + //Willow + public static int willowPlankID; + public static int willowWoodID; + public static int willowLeavesID; + public static int willowDoubleSlabID; + public static int willowSingleSlabID; + public static int willowStairsID; + + //Fir + public static int firPlankID; + public static int firWoodID; + public static int firLeavesID; + public static int firDoubleSlabID; + public static int firSingleSlabID; + public static int firStairsID; + + //Acacia + public static int acaciaPlankID; + public static int acaciaWoodID; + public static int acaciaLeavesID; + public static int acaciaDoubleSlabID; + public static int acaciaSingleSlabID; + public static int acaciaStairsID; + + //Cherry + public static int cherryPlankID; + public static int cherryWoodID; + public static int cherryDoubleSlabID; + public static int cherrySingleSlabID; + public static int cherryStairsID; + + //Dark + public static int darkPlankID; + public static int darkWoodID; + public static int darkLeavesID; + public static int darkDoubleSlabID; + public static int darkSingleSlabID; + public static int darkStairsID; + + //Magic + public static int magicPlankID; + public static int magicWoodID; + public static int magicDoubleSlabID; + public static int magicSingleSlabID; + public static int magicStairsID; + + //Palm + public static int palmPlankID; + public static int palmWoodID; + public static int palmLeavesID; + public static int palmDoubleSlabID; + public static int palmSingleSlabID; + public static int palmStairsID; + + //Mangrove + public static int mangrovePlankID; + public static int mangroveWoodID; + public static int mangroveLeavesID; + public static int mangroveDoubleSlabID; + public static int mangroveSingleSlabID; + public static int mangroveStairsID; + + //Holy + public static int holyPlankID; + public static int holyWoodID; + public static int holyLeavesID; + public static int holyDoubleSlabID; + public static int holySingleSlabID; + public static int holyStairsID; + + public static int shroomPowderID; + public static int mudBallID; + public static int mudBrickID; + public static int cattailItemID; + public static int bambooItemID; + public static int barleyItemID; + public static int shortGrassItemID; + public static int mediumGrassItemID; + public static int bushItemID; + public static int sproutItemID; + public static int mossItemID; + public static int ashesID; + public static int ancientStaffID; + public static int ancientStaffHandleID; + public static int ancientStaffPoleID; + public static int ancientStaffTopperID; + public static int enderporterID; + public static int bopDiscID; + public static int bopDiscMudID; + public static int swordMudID; + public static int shovelMudID; + public static int pickaxeMudID; + public static int axeMudID; + public static int hoeMudID; + public static int helmetMudID; + public static int chestplateMudID; + public static int leggingsMudID; + public static int bootsMudID; + public static int amethystID; + public static int swordAmethystID; + public static int shovelAmethystID; + public static int pickaxeAmethystID; + public static int axeAmethystID; + public static int hoeAmethystID; + public static int helmetAmethystID; + public static int chestplateAmethystID; + public static int leggingsAmethystID; + public static int bootsAmethystID; + + public static int alpsID; + public static int arcticID; + public static int arcticForestID; + public static int badlandsID; + public static int bambooForestID; + public static int bayouID; + public static int birchForestID; + public static int bogID; + public static int borealForestID; + public static int canyonID; + public static int chaparralID; + public static int cherryBlossomGroveID; + public static int coniferousForestID; + public static int coniferousForestThinID; + public static int cragID; + public static int deadForestID; + public static int deadSwampID; + public static int deadlandsID; + public static int deciduousForestID; + public static int drylandsID; + public static int dunesID; + public static int fenID; + public static int fieldID; + public static int frostForestID; + public static int fungiForestID; + public static int gardenID; + public static int glacierID; + public static int grasslandID; + public static int groveID; + public static int groveThinID; + public static int heathlandID; + public static int highlandID; + public static int iceSheetID; + public static int icyHillsID; + public static int jadeCliffsID; + public static int lushDesertID; + public static int lushSwampID; + public static int mangroveID; + public static int mapleWoodsID; + public static int marshID; + public static int meadowID; + public static int meadowForestID; + public static int mesaID; + public static int moorID; + public static int mountainID; + public static int mysticGroveID; + public static int oasisID; + public static int ominousWoodsID; + public static int orchardID; + public static int originValleyID; + public static int outbackID; + public static int pastureID; + public static int prairieID; + public static int promisedLandID; + public static int promisedLandHillsID; + public static int promisedLandPlainsID; + public static int promisedLandSwampID; + public static int quagmireID; + public static int rainforestID; + public static int redwoodForestID; + public static int reefID; + public static int sacredSpringsID; + public static int savannaID; + public static int savannaThickID; + public static int scrublandID; + public static int seasonalForestID; + public static int shieldID; + public static int shoreID; + public static int shrublandID; + public static int snowyWoodsID; + public static int spruceWoodsID; + public static int steppeID; + public static int swampwoodsID; + public static int temperateRainforestID; + public static int thicketID; + public static int tropicalRainforestID; + public static int tropicsID; + public static int tundraID; + public static int tundraDryID; + public static int volcanoID; + public static int wastelandID; + public static int wastelandTreesID; + public static int wetlandID; + public static int woodlandID; + public static int plainsNewID; + public static int desertNewID; + public static int desertHillsNewID; + public static int extremeHillsNewID; + public static int extremeHillsEdgeNewID; + public static int forestNewID; + public static int forestHillsNewID; + public static int taigaNewID; + public static int taigaHillsNewID; + public static int swamplandNewID; + public static int jungleNewID; + public static int jungleHillsNewID; + + public static int jungleSpiderID; + public static int rosesterID; + + public static void init(File configFile) + { + config = new Configuration(configFile); + + try + { + config.load(); + + skyColors = true; + biomeSize = config.get("Biome Settings", "Biome Size", 4, null).getInt(); + achievements = config.get("Achievement Settings", "Add Biomes O Plenty Achievemnets (Currently Broken)", false).getBoolean(false); + addToDefault = config.get("Biome Settings", "Add Biomes To Default World", false).getBoolean(false); + vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false); + promisedLandDimID = config.get("Dimension Settings", "Promised Land Dimension ID", 20, null).getInt(); + + alpsGen = config.get("Biomes To Generate", "Alps", true).getBoolean(false); + arcticGen = config.get("Biomes To Generate", "Arctic", true).getBoolean(false); + badlandsGen = config.get("Biomes To Generate", "Badlands", true).getBoolean(false); + bambooForestGen = config.get("Biomes To Generate", "BambooForest", true).getBoolean(false); + bayouGen = config.get("Biomes To Generate", "Bayou", true).getBoolean(false); + birchForestGen = config.get("Biomes To Generate", "BirchForest", true).getBoolean(false); + bogGen = config.get("Biomes To Generate", "Bog", true).getBoolean(false); + borealForestGen = config.get("Biomes To Generate", "BorealForest", true).getBoolean(false); + canyonGen = config.get("Biomes To Generate", "Canyon", true).getBoolean(false); + chaparralGen = config.get("Biomes To Generate", "Chaparral", true).getBoolean(false); + cherryBlossomGroveGen = config.get("Biomes To Generate", "CherryBlossomGrove", true).getBoolean(false); + coniferousForestGen = config.get("Biomes To Generate", "ConiferousForest", true).getBoolean(false); + cragGen = config.get("Biomes To Generate", "Crag", true).getBoolean(false); + deadForestGen = config.get("Biomes To Generate", "DeadForest", true).getBoolean(false); + deadSwampGen = config.get("Biomes To Generate", "DeadSwamp", true).getBoolean(false); + deadlandsGen = config.get("Biomes To Generate", "Deadlands", true).getBoolean(false); + deciduousForestGen = config.get("Biomes To Generate", "DeciduousForest", true).getBoolean(false); + desertGen = config.get("Biomes To Generate", "Desert", true).getBoolean(false); + drylandsGen = config.get("Biomes To Generate", "Drylands", true).getBoolean(false); + dunesGen = config.get("Biomes To Generate", "Dunes", true).getBoolean(false); + extremeHillsGen = config.get("Biomes To Generate", "ExtremeHills", true).getBoolean(false); + fenGen = config.get("Biomes To Generate", "Fen", true).getBoolean(false); + fieldGen = config.get("Biomes To Generate", "Field", true).getBoolean(false); + forestGen = config.get("Biomes To Generate", "Forest", true).getBoolean(false); + frostForestGen = config.get("Biomes To Generate", "FrostForest", true).getBoolean(false); + fungiForestGen = config.get("Biomes To Generate", "FungiForest", true).getBoolean(false); + gardenGen = config.get("Biomes To Generate", "Garden", true).getBoolean(false); + glacierGen = config.get("Biomes To Generate", "Glacier", true).getBoolean(false); + grasslandGen = config.get("Biomes To Generate", "Grassland", true).getBoolean(false); + groveGen = config.get("Biomes To Generate", "Grove", true).getBoolean(false); + heathlandGen = config.get("Biomes To Generate", "Heathland", true).getBoolean(false); + highlandGen = config.get("Biomes To Generate", "Highland", true).getBoolean(false); + iceSheetGen = config.get("Biomes To Generate", "IcySheet", true).getBoolean(false); + icyHillsGen = config.get("Biomes To Generate", "IcyHills", true).getBoolean(false); + jadeCliffsGen = config.get("Biomes To Generate", "JadeCliffs", true).getBoolean(false); + jungleGen = config.get("Biomes To Generate", "Jungle", true).getBoolean(false); + lushDesertGen = config.get("Biomes To Generate", "LushDesert", true).getBoolean(false); + lushSwampGen = config.get("Biomes To Generate", "LushSwamp", true).getBoolean(false); + mangroveGen = config.get("Biomes To Generate", "Mangrove", true).getBoolean(false); + mapleWoodsGen = config.get("Biomes To Generate", "MapleWoods", true).getBoolean(false); + marshGen = config.get("Biomes To Generate", "Marsh", true).getBoolean(false); + meadowGen = config.get("Biomes To Generate", "Meadow", true).getBoolean(false); + mesaGen = config.get("Biomes To Generate", "Mesa", true).getBoolean(false); + moorGen = config.get("Biomes To Generate", "Moor", true).getBoolean(false); + mountainGen = config.get("Biomes To Generate", "Mountain", true).getBoolean(false); + mushroomIslandGen = config.get("Biomes To Generate", "MushroomIsland", true).getBoolean(false); + mysticGroveGen = config.get("Biomes To Generate", "MysticGrove", true).getBoolean(false); + oasisGen = config.get("Biomes To Generate", "Oasis", true).getBoolean(false); + ominousWoodsGen = config.get("Biomes To Generate", "OminousWoods", true).getBoolean(false); + orchardGen = config.get("Biomes To Generate", "Orchard", true).getBoolean(false); + originValleyGen = config.get("Biomes To Generate", "OriginValley", true).getBoolean(false); + outbackGen = config.get("Biomes To Generate", "Outback", true).getBoolean(false); + pastureGen = config.get("Biomes To Generate", "Pasture", true).getBoolean(false); + plainsGen = config.get("Biomes To Generate", "Plains", true).getBoolean(false); + prairieGen = config.get("Biomes To Generate", "Prairie", true).getBoolean(false); + quagmireGen = config.get("Biomes To Generate", "Quagmire", true).getBoolean(false); + rainforestGen = config.get("Biomes To Generate", "Rainforest", true).getBoolean(false); + redwoodForestGen = config.get("Biomes To Generate", "RedwoodForest", true).getBoolean(false); + sacredSpringsGen = config.get("Biomes To Generate", "SacredSprings", true).getBoolean(false); + savannaGen = config.get("Biomes To Generate", "Savanna", true).getBoolean(false); + scrublandGen = config.get("Biomes To Generate", "Scrubland", true).getBoolean(false); + seasonalForestGen = config.get("Biomes To Generate", "SeasonalForest", true).getBoolean(false); + shieldGen = config.get("Biomes To Generate", "Shield", true).getBoolean(false); + shrublandGen = config.get("Biomes To Generate", "Shrubland", true).getBoolean(false); + snowyWoodsGen = config.get("Biomes To Generate", "SnowyWoods", true).getBoolean(false); + spruceWoodsGen = config.get("Biomes To Generate", "SpruceWoods", true).getBoolean(false); + steppeGen = config.get("Biomes To Generate", "Steppe", true).getBoolean(false); + swamplandGen = config.get("Biomes To Generate", "Swampland", true).getBoolean(false); + swampwoodsGen = config.get("Biomes To Generate", "Swampwoods", true).getBoolean(false); + taigaGen = config.get("Biomes To Generate", "Taiga", true).getBoolean(false); + temperateRainforestGen = config.get("Biomes To Generate", "TemperateRainforest", true).getBoolean(false); + thicketGen = config.get("Biomes To Generate", "Thicket", true).getBoolean(false); + tropicalRainforestGen = config.get("Biomes To Generate", "TropicalRainforest", true).getBoolean(false); + tropicsGen = config.get("Biomes To Generate", "Tropics", true).getBoolean(false); + tundraGen = config.get("Biomes To Generate", "Tundra", true).getBoolean(false); + volcanoGen = config.get("Biomes To Generate", "Volcano", true).getBoolean(false); + wastelandGen = config.get("Biomes To Generate", "Wasteland", true).getBoolean(false); + wetlandGen = config.get("Biomes To Generate", "Wetland", true).getBoolean(false); + woodlandGen = config.get("Biomes To Generate", "Woodland", true).getBoolean(false); + + // Get Terrain Block ID's + mudID = config.getTerrainBlock("Terrain Block IDs", "Mud ID", 160, null).getInt(); + driedDirtID = config.getTerrainBlock("Terrain Block IDs", "Dried Dirt ID", 161, null).getInt(); + redRockID = config.getTerrainBlock("Terrain Block IDs", "Red Rock ID", 162, null).getInt(); + ashID = config.getTerrainBlock("Terrain Block IDs", "Ash Block ID", 163, null).getInt(); + ashStoneID = config.getTerrainBlock("Terrain Block IDs", "Ash Stone ID", 164, null).getInt(); + hardIceID = config.getTerrainBlock("Terrain Block IDs", "Hard Ice ID", 165, null).getInt(); + originGrassID = config.getTerrainBlock("Terrain Block IDs", "Origin Grass ID", 166, null).getInt(); + hardSandID = config.getTerrainBlock("Terrain Block IDs", "Hard Sand ID", 167, null).getInt(); + hardDirtID = config.getTerrainBlock("Terrain Block IDs", "Hard Dirt ID", 168, null).getInt(); + holyGrassID = config.getTerrainBlock("Terrain Block IDs", "Holy Grass ID", 169, null).getInt(); + holyStoneID = config.getTerrainBlock("Terrain Block IDs", "Holy Stone ID", 170, null).getInt(); + cragRockID = config.getTerrainBlock("Terrain Block IDs", "Crag Rock ID", 171, null).getInt(); + + // Get Crafted Block ID's + mudBrickBlockID = config.getBlock("Mud Bricks ID", 256, null).getInt(); + redwoodPlankID = config.getBlock("Redwood Plank ID", 257, null).getInt(); + redwoodDoubleSlabID = config.getBlock("Redwood Double Slab ID", 258, null).getInt(); + redwoodSingleSlabID = config.getBlock("Redwood Single Slab ID", 259, null).getInt(); + redwoodStairsID = config.getBlock("Redwood Stairs ID", 260, null).getInt(); + willowPlankID = config.getBlock("Willow Plank ID", 261, null).getInt(); + willowDoubleSlabID = config.getBlock("Willow Double Slab ID", 262, null).getInt(); + willowSingleSlabID = config.getBlock("Willow Single Slab ID", 263, null).getInt(); + willowStairsID = config.getBlock("Willow Stairs ID", 264, null).getInt(); + firPlankID = config.getBlock("Fir Plank ID", 265, null).getInt(); + firDoubleSlabID = config.getBlock("Fir Double Slab ID", 266, null).getInt(); + firSingleSlabID = config.getBlock("Fir Single Slab ID", 267, null).getInt(); + firStairsID = config.getBlock("Fir Stairs ID", 268, null).getInt(); + acaciaPlankID = config.getBlock("Acacia Plank ID", 269, null).getInt(); + acaciaDoubleSlabID = config.getBlock("Acacia Double Slab ID", 270, null).getInt(); + acaciaSingleSlabID = config.getBlock("Acacia Single Slab ID", 271, null).getInt(); + acaciaStairsID = config.getBlock("Acacia Stairs ID", 272, null).getInt(); + cherryPlankID = config.getBlock("Cherry Plank ID", 273, null).getInt(); + cherryDoubleSlabID = config.getBlock("Cherry Double Slab ID", 274, null).getInt(); + cherrySingleSlabID = config.getBlock("Cherry Single Slab ID", 275, null).getInt(); + cherryStairsID = config.getBlock("Cherry Stairs ID", 276, null).getInt(); + darkPlankID = config.getBlock("Dark Plank ID", 277, null).getInt(); + darkDoubleSlabID = config.getBlock("Dark Double Slab ID", 278, null).getInt(); + darkSingleSlabID = config.getBlock("Dark Single Slab ID", 279, null).getInt(); + darkStairsID = config.getBlock("Dark Stairs ID", 280, null).getInt(); + magicPlankID = config.getBlock("Magic Plank ID", 281, null).getInt(); + magicDoubleSlabID = config.getBlock("Magic Double Slab ID", 282, null).getInt(); + magicSingleSlabID = config.getBlock("Magic Single Slab ID", 283, null).getInt(); + magicStairsID = config.getBlock("Magic Stairs ID", 284, null).getInt(); + palmPlankID = config.getBlock("Palm Plank ID", 285, null).getInt(); + palmDoubleSlabID = config.getBlock("Palm Double Slab ID", 286, null).getInt(); + palmSingleSlabID = config.getBlock("Palm Single Slab ID", 287, null).getInt(); + palmStairsID = config.getBlock("Palm Stairs ID", 288, null).getInt(); + originLeavesID = config.getBlock("Origin Leaves ID", 289, null).getInt(); + redwoodWoodID = config.getBlock("Redwood Log ID", 290, null).getInt(); + redwoodLeavesID = config.getBlock("Redwood Leaves ID", 291, null).getInt(); + willowWoodID = config.getBlock("Willow Log ID", 292, null).getInt(); + willowLeavesID = config.getBlock("Willow Leaves ID", 293, null).getInt(); + firWoodID = config.getBlock("Fir Log ID", 294, null).getInt(); + firLeavesID = config.getBlock("Fir Leaves ID", 295, null).getInt(); + acaciaWoodID = config.getBlock("Acacia Log ID", 296, null).getInt(); + acaciaLeavesID = config.getBlock("Acacia Leaves ID", 297, null).getInt(); + cherryWoodID = config.getBlock("Cherry Log ID", 298, null).getInt(); + pinkFlowerID = config.getBlock("Pink Flower ID", 299, null).getInt(); + darkWoodID = config.getBlock("Dark Log ID", 300, null).getInt(); + darkLeavesID = config.getBlock("Dark Leaves ID", 301, null).getInt(); + treeMossID = config.getBlock("Tree Moss ID", 302, null).getInt(); + magicWoodID = config.getBlock("Magic Log ID", 303, null).getInt(); + deadWoodID = config.getBlock("Dead Log ID", 304, null).getInt(); + appleLeavesFruitlessID = config.getBlock("Fruitless Apple Leaves ID", 305, null).getInt(); + barleyID = config.getBlock("Barley ID", 306, null).getInt(); + palmWoodID = config.getBlock("Palm Log ID", 307, null).getInt(); + palmLeavesID = config.getBlock("Palm Leaves ID", 308, null).getInt(); + giantFlowerRedID = config.getBlock("Giant Red Flower ID", 309, null).getInt(); + giantFlowerStemID = config.getBlock("Giant Flower Stem ID", 310, null).getInt(); + giantFlowerYellowID = config.getBlock("Giant Yellow Flower ID", 311, null).getInt(); + redLeavesID = config.getBlock("Maple Leaves ID", 312, null).getInt(); + orangeLeavesID = config.getBlock("Orange Autumn Leaves ID", 313, null).getInt(); + pinkLeavesID = config.getBlock("Pink Cherry Leaves ID", 314, null).getInt(); + blueLeavesID = config.getBlock("Magic Leaves ID", 315, null).getInt(); + whiteLeavesID = config.getBlock("White Cherry Leaves ID", 316, null).getInt(); + deadLeavesID = config.getBlock("Dying Leaves ID", 317, null).getInt(); + shortGrassID = config.getBlock("Short Grass ID", 318, null).getInt(); + appleLeavesID = config.getBlock("Apple Leaves ID", 319, null).getInt(); + sproutID = config.getBlock("Sprout ID", 320, null).getInt(); + bushID = config.getBlock("Bush ID", 321, null).getInt(); + bambooID = config.getBlock("Bamboo ID", 322, null).getInt(); + bambooLeavesID = config.getBlock("Bamboo Leaves ID", 323, null).getInt(); + deadGrassID = config.getBlock("Dead Grass ID", 324, null).getInt(); + desertGrassID = config.getBlock("Desert Grass ID", 325, null).getInt(); + whiteFlowerID = config.getBlock("Anenome ID", 326, null).getInt(); + blueFlowerID = config.getBlock("Swampflower ID", 327, null).getInt(); + purpleFlowerID = config.getBlock("Wildflower ID", 328, null).getInt(); + orangeFlowerID = config.getBlock("Daisy ID", 329, null).getInt(); + tinyFlowerID = config.getBlock("Clover ID", 330, null).getInt(); + glowFlowerID = config.getBlock("Glowflower ID", 331, null).getInt(); + cattailID = config.getBlock("Cattail ID", 332, null).getInt(); + willowID = config.getBlock("Willow ID", 333, null).getInt(); + autumnLeavesID = config.getBlock("Yellow Autumn Leaves ID", 334, null).getInt(); + thornID = config.getBlock("Thorns ID", 335, null).getInt(); + toadstoolID = config.getBlock("Toadstool ID", 336, null).getInt(); + highGrassBottomID = config.getBlock("High Grass Bottom ID", 337, null).getInt(); + highGrassTopID = config.getBlock("High Grass Top ID", 338, null).getInt(); + tinyCactusID = config.getBlock("Tiny Cactus ID", 339, null).getInt(); + firSaplingID = config.getBlock("Fir Sapling ID", 340, null).getInt(); + redwoodSaplingID = config.getBlock("Redwood Sapling ID", 341, null).getInt(); + palmSaplingID = config.getBlock("Palm Sapling ID", 342, null).getInt(); + redSaplingID = config.getBlock("Maple Sapling ID", 343, null).getInt(); + orangeSaplingID = config.getBlock("Orange Autumn Sapling ID", 344, null).getInt(); + yellowSaplingID = config.getBlock("Yellow Autumn Sapling ID", 345, null).getInt(); + brownSaplingID = config.getBlock("Dying Sapling ID", 346, null).getInt(); + willowSaplingID = config.getBlock("Willow Sapling ID", 347, null).getInt(); + appleSaplingID = config.getBlock("Apple Sapling ID", 348, null).getInt(); + originSaplingID = config.getBlock("Origin Sapling ID", 349, null).getInt(); + pinkSaplingID = config.getBlock("Pink Cherry Sapling ID", 350, null).getInt(); + whiteSaplingID = config.getBlock("White Cherry Sapling ID", 351, null).getInt(); + darkSaplingID = config.getBlock("Dark Sapling ID", 352, null).getInt(); + magicSaplingID = config.getBlock("Magic Sapling ID", 353, null).getInt(); + deathbloomID = config.getBlock("Deathbloom ID", 354, null).getInt(); + redRockCobbleID = config.getBlock("Red Rock Cobblestone ID", 355, null).getInt(); + redRockBrickID = config.getBlock("Red Rock Bricks ID", 356, null).getInt(); + hydrangeaID = config.getBlock("Hydrangea ID", 357, null).getInt(); + violetID = config.getBlock("Violet ID", 358, null).getInt(); + mediumGrassID = config.getBlock("Medium Grass ID", 359, null).getInt(); + duneGrassID = config.getBlock("Dune Grass ID", 360, null).getInt(); + desertSproutsID = config.getBlock("Desert Sprouts ID", 361, null).getInt(); + redRockCobbleDoubleSlabID = config.getBlock("Red Rock Cobblestone Double Slab ID", 362, null).getInt(); + redRockCobbleSingleSlabID = config.getBlock("Red Rock Cobblestone Single Slab ID", 363, null).getInt(); + redRockCobbleStairsID = config.getBlock("Red Rock Cobblestone Stairs ID", 364, null).getInt(); + redRockBrickDoubleSlabID = config.getBlock("Red Rock Brick Double Slab ID", 365, null).getInt(); + redRockBrickSingleSlabID = config.getBlock("Red Rock Brick Single Slab ID", 366, null).getInt(); + redRockBrickStairsID = config.getBlock("Red Rock Brick Stairs ID", 367, null).getInt(); + mudBrickDoubleSlabID = config.getBlock("Mud Brick Double Slab ID", 368, null).getInt(); + mudBrickSingleSlabID = config.getBlock("Mud Brick Single Slab ID", 369, null).getInt(); + mudBrickStairsID = config.getBlock("Mud Brick Stairs ID", 370, null).getInt(); + mangroveWoodID = config.getBlock("Mangrove Log ID", 371, null).getInt(); + mangroveLeavesID = config.getBlock("Mangrove Leaves ID", 372, null).getInt(); + mangroveSaplingID = config.getBlock("Mangrove Sapling ID", 373, null).getInt(); + mangrovePlankID = config.getBlock("Mangrove Plank ID", 374, null).getInt(); + mangroveDoubleSlabID = config.getBlock("Mangrove Double Slab ID", 375, null).getInt(); + mangroveSingleSlabID = config.getBlock("Mangrove Single Slab ID", 376, null).getInt(); + mangroveStairsID = config.getBlock("Mangrove Stairs ID", 377, null).getInt(); + acaciaSaplingID = config.getBlock("Acacia Sapling ID", 378, null).getInt(); + holyTallGrassID = config.getBlock("Holy Tall Grass ID", 379, null).getInt(); + promisedLandPortalID = config.getBlock("Promised Land Portal ID", 380, null).getInt(); + holyWoodID = config.getBlock("Holy Log ID", 381, null).getInt(); + holyLeavesID = config.getBlock("Holy Leaves ID", 382, null).getInt(); + holySaplingID = config.getBlock("Holy Sapling ID", 383, null).getInt(); + holyPlankID = config.getBlock("Holy Plank ID", 384, null).getInt(); + holyDoubleSlabID = config.getBlock("Holy Double Slab ID", 385, null).getInt(); + holySingleSlabID = config.getBlock("Holy Single Slab ID", 386, null).getInt(); + holyStairsID = config.getBlock("Holy Stairs ID", 387, null).getInt(); + amethystOreID = config.getBlock("Amethyst Ore ID", 388, null).getInt(); + amethystBlockID = config.getBlock("Block of Amethyst ID", 389, null).getInt(); + bambooThatchingID = config.getBlock("Bamboo Thatching ID", 390, null).getInt(); + mossID = config.getBlock("Moss ID", 391, null).getInt(); + algaeID = config.getBlock("Algae ID", 392, null).getInt(); + smolderingGrassID = config.getBlock("Smoldering Grass ID", 393, null).getInt(); + quicksandID = config.getBlock("Quicksand ID", 394, null).getInt(); + + // Get Item ID's + shroomPowderID = config.getItem("Shroom Powder ID", 1001, null).getInt(); + mudBallID = config.getItem("Mud Ball ID", 1002, null).getInt(); + mudBrickID = config.getItem("Mud Brick ID", 1003, null).getInt(); + bambooItemID = config.getItem("Bamboo ID", 1004).getInt(); + cattailItemID = config.getItem("Cattail ID", 1005).getInt(); + ancientStaffID = config.getItem("Ancient Staff ID", 1006).getInt(); + enderporterID = config.getItem("Enderporter ID", 1007).getInt(); + ashesID = config.getItem("Pile of Ashes ID", 1008, null).getInt(); + barleyItemID = config.getItem("Barley ID", 1009).getInt(); + amethystID = config.getItem("Amethyst ID", 1010).getInt(); + ancientStaffHandleID = config.getItem("Ancient Staff Handle ID", 1011, null).getInt(); + ancientStaffPoleID = config.getItem("Ancient Staff Pole ID", 1012, null).getInt(); + ancientStaffTopperID = config.getItem("Ancient Staff Topper ID", 1013, null).getInt(); + shortGrassItemID = config.getItem("Short Grass (Item) ID", 1014, null).getInt(); + mediumGrassItemID = config.getItem("Medium Grass (Item) ID", 1015, null).getInt(); + bushItemID = config.getItem("Bush (Item) ID", 1016, null).getInt(); + sproutItemID = config.getItem("Sprout (Item) ID", 1017, null).getInt(); + mossItemID = config.getItem("Moss (Item) ID", 1018, null).getInt(); + bopDiscID = config.getItem("Traversia Music Disc ID", 1019, null).getInt(); + bopDiscMudID = config.getItem("Muddy Music Disc ID", 1020, null).getInt(); + swordMudID = config.getItem("Muddy Sword ID", 1060, null).getInt(); + shovelMudID = config.getItem("Muddy Shovel ID", 1061, null).getInt(); + pickaxeMudID = config.getItem("Muddy Pickaxe ID", 1062, null).getInt(); + axeMudID = config.getItem("Muddy Axe ID", 1063, null).getInt(); + hoeMudID = config.getItem("Muddy Hoe ID", 1064, null).getInt(); + helmetMudID = config.getItem("Muddy Helmet ID", 1065, null).getInt(); + chestplateMudID = config.getItem("Muddy Chestplate ID", 1066, null).getInt(); + leggingsMudID = config.getItem("Muddy Leggings ID", 1067, null).getInt(); + bootsMudID = config.getItem("Muddy Boots ID", 1068, null).getInt(); + swordAmethystID = config.getItem("Amethyst Sword ID", 1069, null).getInt(); + shovelAmethystID = config.getItem("Amethyst Shovel ID", 1070, null).getInt(); + pickaxeAmethystID = config.getItem("Amethyst Pickaxe ID", 1071, null).getInt(); + axeAmethystID = config.getItem("Amethyst Axe ID", 1072, null).getInt(); + hoeAmethystID = config.getItem("Amethyst Hoe ID", 1073, null).getInt(); + helmetAmethystID = config.getItem("Amethyst Helmet ID", 1074, null).getInt(); + chestplateAmethystID = config.getItem("Amethyst Chestplate ID", 1075, null).getInt(); + leggingsAmethystID = config.getItem("Amethyst Leggings ID", 1076, null).getInt(); + bootsAmethystID = config.getItem("Amethyst Boots ID", 1077, null).getInt(); + + //Mob IDs + jungleSpiderID = config.get("Mob IDs", "Jungle Spider ID", 101, null).getInt(); + rosesterID = config.get("Mob IDs", "Rosester ID", 102, null).getInt(); + + System.out.println("Generating Biome ID's"); + alpsID = config.get("Biome IDs", "Alps ID", 23).getInt(); + arcticID = config.get("Biome IDs", "Arctic ID", 24).getInt(); + badlandsID = config.get("Biome IDs", "Badlands ID", 25).getInt(); + bambooForestID = config.get("Biome IDs", "Bamboo Forest ID", 26).getInt(); + bayouID = config.get("Biome IDs", "Bayou ID", 27).getInt(); + birchForestID = config.get("Biome IDs", "Birch Forest ID", 28).getInt(); + bogID = config.get("Biome IDs", "Bog ID", 29).getInt(); + borealForestID = config.get("Biome IDs", "Boreal Forest ID", 30).getInt(); + canyonID = config.get("Biome IDs", "Canyon ID", 31).getInt(); + chaparralID = config.get("Biome IDs", "Chaparral ID", 32).getInt(); + cherryBlossomGroveID = config.get("Biome IDs", "Cherry Blossom Grove ID", 33).getInt(); + coniferousForestID = config.get("Biome IDs", "Coniferous Forest ID", 34).getInt(); + cragID = config.get("Biome IDs", "Crag ID", 35).getInt(); + deadForestID = config.get("Biome IDs", "Dead Forest ID", 36).getInt(); + deadSwampID = config.get("Biome IDs", "Dead Swamp ID", 37).getInt(); + deadlandsID = config.get("Biome IDs", "Deadlands ID", 38).getInt(); + deciduousForestID = config.get("Biome IDs", "Deciduous Forest ID", 39).getInt(); + drylandsID = config.get("Biome IDs", "Drylands ID", 40).getInt(); + dunesID = config.get("Biome IDs", "Dunes ID", 41).getInt(); + fenID = config.get("Biome IDs", "Fen ID", 42).getInt(); + fieldID = config.get("Biome IDs", "Field ID", 43).getInt(); + frostForestID = config.get("Biome IDs", "Frost Forest ID", 44).getInt(); + fungiForestID = config.get("Biome IDs", "Fungi Forest ID", 45).getInt(); + gardenID = config.get("Biome IDs", "Garden ID", 46).getInt(); + glacierID = config.get("Biome IDs", "Glacier ID", 47).getInt(); + grasslandID = config.get("Biome IDs", "Grassland ID", 48).getInt(); + groveID = config.get("Biome IDs", "Grove ID", 49).getInt(); + heathlandID = config.get("Biome IDs", "Heathland ID", 50).getInt(); + highlandID = config.get("Biome IDs", "Highland ID", 51).getInt(); + iceSheetID = config.get("Biome IDs", "Ice Sheet ID", 52).getInt(); + icyHillsID = config.get("Biome IDs", "Icy Hills ID", 53).getInt(); + jadeCliffsID = config.get("Biome IDs", "Jade Cliffs ID", 54).getInt(); + lushDesertID = config.get("Biome IDs", "Lush Desert ID", 55).getInt(); + lushSwampID = config.get("Biome IDs", "Lush Swamp ID", 56).getInt(); + mangroveID = config.get("Biome IDs", "Mangrove ID", 57).getInt(); + mapleWoodsID = config.get("Biome IDs", "Maple Woods ID", 58).getInt(); + marshID = config.get("Biome IDs", "Marsh ID", 59).getInt(); + meadowID = config.get("Biome IDs", "Meadow ID", 60).getInt(); + mesaID = config.get("Biome IDs", "Mesa ID", 61).getInt(); + moorID = config.get("Biome IDs", "Moor ID", 62).getInt(); + mountainID = config.get("Biome IDs", "Mountain ID", 63).getInt(); + mysticGroveID = config.get("Biome IDs", "Mystic Grove ID", 64).getInt(); + oasisID = config.get("Biome IDs", "Oasis ID", 65).getInt(); + ominousWoodsID = config.get("Biome IDs", "Ominous Woods ID", 66).getInt(); + orchardID = config.get("Biome IDs", "Orchard ID", 67).getInt(); + originValleyID = config.get("Biome IDs", "Origin Valley ID", 68).getInt(); + outbackID = config.get("Biome IDs", "Outback ID", 69).getInt(); + pastureID = config.get("Biome IDs", "Pasture ID", 70).getInt(); + prairieID = config.get("Biome IDs", "Prairie ID", 71).getInt(); + promisedLandID = config.get("Biome IDs", "Promised Land ID", 72).getInt(); + quagmireID = config.get("Biome IDs", "Quagmire ID", 73).getInt(); + rainforestID = config.get("Biome IDs", "Rainforest ID", 74).getInt(); + redwoodForestID = config.get("Biome IDs", "Redwood Forest ID", 75).getInt(); + sacredSpringsID = config.get("Biome IDs", "Sacred Springs ID", 76).getInt(); + savannaID = config.get("Biome IDs", "Savanna ID", 77).getInt(); + scrublandID = config.get("Biome IDs", "Scrubland ID", 78).getInt(); + seasonalForestID = config.get("Biome IDs", "Seasonal Forest ID", 79).getInt(); + shieldID = config.get("Biome IDs", "Shield ID", 80).getInt(); + shoreID = config.get("Biome IDs", "Shore ID", 81).getInt(); + shrublandID = config.get("Biome IDs", "Shrubland ID", 82).getInt(); + snowyWoodsID = config.get("Biome IDs", "Snowy Woods ID", 83).getInt(); + spruceWoodsID = config.get("Biome IDs", "Spruce Woods ID", 84).getInt(); + steppeID = config.get("Biome IDs", "Steppe ID", 85).getInt(); + swampwoodsID = config.get("Biome IDs", "Swampwoods ID", 86).getInt(); + temperateRainforestID = config.get("Biome IDs", "Temperate Rainforest ID", 87).getInt(); + thicketID = config.get("Biome IDs", "Thicket ID", 88).getInt(); + tropicalRainforestID = config.get("Biome IDs", "Tropical Rainforest ID", 89).getInt(); + tropicsID = config.get("Biome IDs", "Tropics ID", 90).getInt(); + tundraID = config.get("Biome IDs", "Tundra ID", 91).getInt(); + volcanoID = config.get("Biome IDs", "Volcano ID", 92).getInt(); + wastelandID = config.get("Biome IDs", "Wasteland ID", 93).getInt(); + wetlandID = config.get("Biome IDs", "Wetland ID", 94).getInt(); + woodlandID = config.get("Biome IDs", "Woodland ID", 95).getInt(); + + plainsNewID = config.get("Biome IDs", "Plains (New) ID", 96).getInt(); + desertNewID = config.get("Biome IDs", "Desert (New) ID", 97).getInt(); + forestNewID = config.get("Biome IDs", "Forest (New) ID", 98).getInt(); + taigaNewID = config.get("Biome IDs", "Taiga (New) ID", 99).getInt(); + swamplandNewID = config.get("Biome IDs", "Swampland (New) ID", 100).getInt(); + extremeHillsNewID = config.get("Biome IDs", "Extreme Hills (New) ID", 101).getInt(); + jungleNewID = config.get("Biome IDs", "Jungle (New) ID", 102).getInt(); + + System.out.println("[BoP] Generated Config!"); + } + catch (Exception e) + { + FMLLog.log(Level.SEVERE, e, "Biomes O Plenty has had a problem loading its configuration"); + } + finally + { + config.save(); + } + } +} diff --git a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPItems.java b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPItems.java index 0768ddbcb..314ff991b 100644 --- a/src/minecraft/tdwp_ftw/biomesop/declarations/BOPItems.java +++ b/src/minecraft/tdwp_ftw/biomesop/declarations/BOPItems.java @@ -90,46 +90,46 @@ public class BOPItems { EnumToolMaterialAmethyst = EnumHelper.addToolMaterial("AMETHYST", 4, 2013, 15.0F, 5, 16); // Item declaration - shroomPowder = (new ItemShroomPowder(mod_BiomesOPlenty.shroomPowderID, 1, 0.5F, false)).setPotionEffect(Potion.confusion.id, 30, 0, 0.6F).setAlwaysEdible().setUnlocalizedName("shroomPowder").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - mudBall = (new ItemBOP(mod_BiomesOPlenty.mudBallID, 0)).setUnlocalizedName("mudBall").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - mudBrick = (new ItemBOP(mod_BiomesOPlenty.mudBrickID, 1)).setUnlocalizedName("mudBrick").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - bambooItem = (new ItemBamboo(mod_BiomesOPlenty.bambooItemID, BOPBlocks.bamboo)).setUnlocalizedName("bambooItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - cattailItem = (new ItemCattail(mod_BiomesOPlenty.cattailItemID, BOPBlocks.cattail)).setUnlocalizedName("cattailItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - barleyItem = (new ItemBarley(mod_BiomesOPlenty.barleyItemID, BOPBlocks.barley)).setUnlocalizedName("barleyItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - shortGrassItem = (new ItemShortGrass(mod_BiomesOPlenty.shortGrassItemID, BOPBlocks.shortGrass)).setUnlocalizedName("shortGrassItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - mediumGrassItem = (new ItemMediumGrass(mod_BiomesOPlenty.mediumGrassItemID, BOPBlocks.mediumGrass)).setUnlocalizedName("mediumGrassItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - bushItem = (new ItemBush(mod_BiomesOPlenty.bushItemID, BOPBlocks.bush)).setUnlocalizedName("bushItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - sproutItem = (new ItemSprout(mod_BiomesOPlenty.sproutItemID, BOPBlocks.sprout)).setUnlocalizedName("sproutItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - mossItem = (new ItemBOP(mod_BiomesOPlenty.mossItemID, 2)).setUnlocalizedName("mossItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - ancientStaff = new ItemAncientStaff(mod_BiomesOPlenty.ancientStaffID).setUnlocalizedName("ancientStaff").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - enderporter = new ItemEnderporter(mod_BiomesOPlenty.enderporterID).setUnlocalizedName("enderporter").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - ashes = (new ItemBOP(mod_BiomesOPlenty.ashesID, 3)).setUnlocalizedName("ashes").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - amethyst = (new ItemBOP(mod_BiomesOPlenty.amethystID, 4)).setUnlocalizedName("amethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - ancientStaffHandle = (new ItemBOP(mod_BiomesOPlenty.ancientStaffHandleID, 5)).setUnlocalizedName("ancientStaffHandle").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - ancientStaffPole = (new ItemBOP(mod_BiomesOPlenty.ancientStaffPoleID, 6)).setUnlocalizedName("ancientStaffPole").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - ancientStaffTopper = (new ItemBOP(mod_BiomesOPlenty.ancientStaffTopperID, 7)).setUnlocalizedName("ancientStaffTopper").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - bopDisc = (new ItemBOPRecord(mod_BiomesOPlenty.bopDiscID, "bopdisc")).setUnlocalizedName("bopDisc").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - bopDiscMud = (new ItemBOPRecordMud(mod_BiomesOPlenty.bopDiscMudID, "bopdiscmud")).setUnlocalizedName("bopDiscMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + shroomPowder = (new ItemShroomPowder(BOPConfiguration.shroomPowderID, 1, 0.5F, false)).setPotionEffect(Potion.confusion.id, 30, 0, 0.6F).setAlwaysEdible().setUnlocalizedName("shroomPowder").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + mudBall = (new ItemBOP(BOPConfiguration.mudBallID, 0)).setUnlocalizedName("mudBall").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + mudBrick = (new ItemBOP(BOPConfiguration.mudBrickID, 1)).setUnlocalizedName("mudBrick").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + bambooItem = (new ItemBamboo(BOPConfiguration.bambooItemID, BOPBlocks.bamboo)).setUnlocalizedName("bambooItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + cattailItem = (new ItemCattail(BOPConfiguration.cattailItemID, BOPBlocks.cattail)).setUnlocalizedName("cattailItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + barleyItem = (new ItemBarley(BOPConfiguration.barleyItemID, BOPBlocks.barley)).setUnlocalizedName("barleyItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + shortGrassItem = (new ItemShortGrass(BOPConfiguration.shortGrassItemID, BOPBlocks.shortGrass)).setUnlocalizedName("shortGrassItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + mediumGrassItem = (new ItemMediumGrass(BOPConfiguration.mediumGrassItemID, BOPBlocks.mediumGrass)).setUnlocalizedName("mediumGrassItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + bushItem = (new ItemBush(BOPConfiguration.bushItemID, BOPBlocks.bush)).setUnlocalizedName("bushItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + sproutItem = (new ItemSprout(BOPConfiguration.sproutItemID, BOPBlocks.sprout)).setUnlocalizedName("sproutItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + mossItem = (new ItemBOP(BOPConfiguration.mossItemID, 2)).setUnlocalizedName("mossItem").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + ancientStaff = new ItemAncientStaff(BOPConfiguration.ancientStaffID).setUnlocalizedName("ancientStaff").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + enderporter = new ItemEnderporter(BOPConfiguration.enderporterID).setUnlocalizedName("enderporter").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + ashes = (new ItemBOP(BOPConfiguration.ashesID, 3)).setUnlocalizedName("ashes").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + amethyst = (new ItemBOP(BOPConfiguration.amethystID, 4)).setUnlocalizedName("amethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + ancientStaffHandle = (new ItemBOP(BOPConfiguration.ancientStaffHandleID, 5)).setUnlocalizedName("ancientStaffHandle").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + ancientStaffPole = (new ItemBOP(BOPConfiguration.ancientStaffPoleID, 6)).setUnlocalizedName("ancientStaffPole").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + ancientStaffTopper = (new ItemBOP(BOPConfiguration.ancientStaffTopperID, 7)).setUnlocalizedName("ancientStaffTopper").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + bopDisc = (new ItemBOPRecord(BOPConfiguration.bopDiscID, "bopdisc")).setUnlocalizedName("bopDisc").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + bopDiscMud = (new ItemBOPRecordMud(BOPConfiguration.bopDiscMudID, "bopdiscmud")).setUnlocalizedName("bopDiscMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - swordMud = (new ItemBOPSword(mod_BiomesOPlenty.swordMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("swordMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - shovelMud = (new ItemBOPSpade(mod_BiomesOPlenty.shovelMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("shovelMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - pickaxeMud = (new ItemBOPPickaxe(mod_BiomesOPlenty.pickaxeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("pickaxeMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - axeMud = (new ItemBOPAxe(mod_BiomesOPlenty.axeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("hatchetMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - hoeMud = (new ItemBOPHoe(mod_BiomesOPlenty.hoeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("hoeMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - helmetMud = (new ArmorMuddy(mod_BiomesOPlenty.helmetMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 0)).setUnlocalizedName("helmetMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - chestplateMud = (new ArmorMuddy(mod_BiomesOPlenty.chestplateMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 1)).setUnlocalizedName("chestplateMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - leggingsMud = (new ArmorMuddy(mod_BiomesOPlenty.leggingsMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 2)).setUnlocalizedName("leggingsMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - bootsMud = (new ArmorMuddy(mod_BiomesOPlenty.bootsMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 3)).setUnlocalizedName("bootsMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + swordMud = (new ItemBOPSword(BOPConfiguration.swordMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("swordMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + shovelMud = (new ItemBOPSpade(BOPConfiguration.shovelMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("shovelMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + pickaxeMud = (new ItemBOPPickaxe(BOPConfiguration.pickaxeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("pickaxeMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + axeMud = (new ItemBOPAxe(BOPConfiguration.axeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("hatchetMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + hoeMud = (new ItemBOPHoe(BOPConfiguration.hoeMudID, EnumToolMaterialMud, 0)).setUnlocalizedName("hoeMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + helmetMud = (new ArmorMuddy(BOPConfiguration.helmetMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 0)).setUnlocalizedName("helmetMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + chestplateMud = (new ArmorMuddy(BOPConfiguration.chestplateMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 1)).setUnlocalizedName("chestplateMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + leggingsMud = (new ArmorMuddy(BOPConfiguration.leggingsMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 2)).setUnlocalizedName("leggingsMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + bootsMud = (new ArmorMuddy(BOPConfiguration.bootsMudID, EnumArmorMaterialMud, mod_BiomesOPlenty.proxy.addArmor("mud"), 3)).setUnlocalizedName("bootsMud").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - swordAmethyst = (new ItemBOPSword(mod_BiomesOPlenty.swordAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("swordAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - shovelAmethyst = (new ItemBOPSpade(mod_BiomesOPlenty.shovelAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("shovelAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - pickaxeAmethyst = (new ItemBOPPickaxe(mod_BiomesOPlenty.pickaxeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("pickaxeAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - axeAmethyst = (new ItemBOPAxe(mod_BiomesOPlenty.axeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("hatchetAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - hoeAmethyst = (new ItemBOPHoe(mod_BiomesOPlenty.hoeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("hoeAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); - helmetAmethyst = (new ArmorAmethyst(mod_BiomesOPlenty.helmetAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 0)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("helmetAmethyst"); - chestplateAmethyst = (new ArmorAmethyst(mod_BiomesOPlenty.chestplateAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 1)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("chestplateAmethyst"); - leggingsAmethyst = (new ArmorAmethyst(mod_BiomesOPlenty.leggingsAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 2)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("leggingsAmethyst"); - bootsAmethyst = (new ArmorAmethyst(mod_BiomesOPlenty.bootsAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 3)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("bootsAmethyst"); + swordAmethyst = (new ItemBOPSword(BOPConfiguration.swordAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("swordAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + shovelAmethyst = (new ItemBOPSpade(BOPConfiguration.shovelAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("shovelAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + pickaxeAmethyst = (new ItemBOPPickaxe(BOPConfiguration.pickaxeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("pickaxeAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + axeAmethyst = (new ItemBOPAxe(BOPConfiguration.axeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("hatchetAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + hoeAmethyst = (new ItemBOPHoe(BOPConfiguration.hoeAmethystID, EnumToolMaterialAmethyst, 1)).setUnlocalizedName("hoeAmethyst").setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty); + helmetAmethyst = (new ArmorAmethyst(BOPConfiguration.helmetAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 0)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("helmetAmethyst"); + chestplateAmethyst = (new ArmorAmethyst(BOPConfiguration.chestplateAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 1)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("chestplateAmethyst"); + leggingsAmethyst = (new ArmorAmethyst(BOPConfiguration.leggingsAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 2)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("leggingsAmethyst"); + bootsAmethyst = (new ArmorAmethyst(BOPConfiguration.bootsAmethystID, EnumArmorMaterialAmethyst, mod_BiomesOPlenty.proxy.addArmor("amethyst"), 3)).setCreativeTab(mod_BiomesOPlenty.tabBiomesOPlenty).setUnlocalizedName("bootsAmethyst"); MinecraftForge.setToolClass(shovelAmethyst, "shovel", 3); MinecraftForge.setToolClass(pickaxeAmethyst, "pickaxe", 3); diff --git a/src/minecraft/tdwp_ftw/biomesop/helpers/WorldProviderPromised.java b/src/minecraft/tdwp_ftw/biomesop/helpers/WorldProviderPromised.java index 064ae2506..582d6bba8 100644 --- a/src/minecraft/tdwp_ftw/biomesop/helpers/WorldProviderPromised.java +++ b/src/minecraft/tdwp_ftw/biomesop/helpers/WorldProviderPromised.java @@ -3,6 +3,7 @@ package tdwp_ftw.biomesop.helpers; import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBiomes; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; //import tdwp_ftw.biomesop.helpers.WorldChunkManagerPromised; import net.minecraft.block.Block; @@ -24,7 +25,7 @@ public class WorldProviderPromised extends WorldProvider { this.worldChunkMgr = new WorldChunkManagerHell(BOPBiomes.promisedLand, 0.8F, 0.1F); //this.worldChunkMgr = new WorldChunkManagerPromised(worldObj); - this.dimensionId = mod_BiomesOPlenty.promisedLandDimID; + this.dimensionId = BOPConfiguration.promisedLandDimID; } /** diff --git a/src/minecraft/tdwp_ftw/biomesop/helpers/WorldTypeSize.java b/src/minecraft/tdwp_ftw/biomesop/helpers/WorldTypeSize.java index 73407648b..6228fe852 100644 --- a/src/minecraft/tdwp_ftw/biomesop/helpers/WorldTypeSize.java +++ b/src/minecraft/tdwp_ftw/biomesop/helpers/WorldTypeSize.java @@ -1,6 +1,7 @@ package tdwp_ftw.biomesop.helpers; import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import net.minecraft.world.WorldType; import net.minecraftforge.event.ForgeSubscribe; import net.minecraftforge.event.terraingen.WorldTypeEvent; @@ -10,7 +11,7 @@ public class WorldTypeSize @ForgeSubscribe public void BiomeSize(WorldTypeEvent.BiomeSize event) { - event.newSize = (byte)mod_BiomesOPlenty.biomeSize; + event.newSize = (byte)BOPConfiguration.biomeSize; } } diff --git a/src/minecraft/tdwp_ftw/biomesop/mod_BiomesOPlenty.java b/src/minecraft/tdwp_ftw/biomesop/mod_BiomesOPlenty.java index 89ce66ce9..c9fa854ed 100644 --- a/src/minecraft/tdwp_ftw/biomesop/mod_BiomesOPlenty.java +++ b/src/minecraft/tdwp_ftw/biomesop/mod_BiomesOPlenty.java @@ -37,6 +37,7 @@ import tdwp_ftw.biomesop.biomes.*; import tdwp_ftw.biomesop.blocks.*; import tdwp_ftw.biomesop.declarations.BOPBiomes; import tdwp_ftw.biomesop.declarations.BOPBlocks; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import tdwp_ftw.biomesop.declarations.BOPItems; import tdwp_ftw.biomesop.helpers.*; import tdwp_ftw.biomesop.items.*; @@ -101,381 +102,9 @@ public class mod_BiomesOPlenty FMLCommonHandler.instance().getFMLLogger().log(Level.WARNING, "[BoP] Failed to load sound file: " + soundFile); e.printStackTrace(); } - - config = new Configuration(event.getSuggestedConfigurationFile()); - config.load(); - skyColors = true; - biomeSize = config.get("Biome Settings", "Biome Size", 4, null).getInt(); - achievements = config.get("Achievement Settings", "Add Biomes O Plenty Achievemnets (Currently Broken)", false).getBoolean(false); - addToDefault = config.get("Biome Settings", "Add Biomes To Default World", false).getBoolean(false); - vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false); - promisedLandDimID = config.get("Dimension Settings", "Promised Land Dimension ID", 20, null).getInt(); - - alpsGen = config.get("Biomes To Generate", "Alps", true).getBoolean(false); - arcticGen = config.get("Biomes To Generate", "Arctic", true).getBoolean(false); - badlandsGen = config.get("Biomes To Generate", "Badlands", true).getBoolean(false); - bambooForestGen = config.get("Biomes To Generate", "BambooForest", true).getBoolean(false); - bayouGen = config.get("Biomes To Generate", "Bayou", true).getBoolean(false); - birchForestGen = config.get("Biomes To Generate", "BirchForest", true).getBoolean(false); - bogGen = config.get("Biomes To Generate", "Bog", true).getBoolean(false); - borealForestGen = config.get("Biomes To Generate", "BorealForest", true).getBoolean(false); - canyonGen = config.get("Biomes To Generate", "Canyon", true).getBoolean(false); - chaparralGen = config.get("Biomes To Generate", "Chaparral", true).getBoolean(false); - cherryBlossomGroveGen = config.get("Biomes To Generate", "CherryBlossomGrove", true).getBoolean(false); - coniferousForestGen = config.get("Biomes To Generate", "ConiferousForest", true).getBoolean(false); - cragGen = config.get("Biomes To Generate", "Crag", true).getBoolean(false); - deadForestGen = config.get("Biomes To Generate", "DeadForest", true).getBoolean(false); - deadSwampGen = config.get("Biomes To Generate", "DeadSwamp", true).getBoolean(false); - deadlandsGen = config.get("Biomes To Generate", "Deadlands", true).getBoolean(false); - deciduousForestGen = config.get("Biomes To Generate", "DeciduousForest", true).getBoolean(false); - desertGen = config.get("Biomes To Generate", "Desert", true).getBoolean(false); - drylandsGen = config.get("Biomes To Generate", "Drylands", true).getBoolean(false); - dunesGen = config.get("Biomes To Generate", "Dunes", true).getBoolean(false); - extremeHillsGen = config.get("Biomes To Generate", "ExtremeHills", true).getBoolean(false); - fenGen = config.get("Biomes To Generate", "Fen", true).getBoolean(false); - fieldGen = config.get("Biomes To Generate", "Field", true).getBoolean(false); - forestGen = config.get("Biomes To Generate", "Forest", true).getBoolean(false); - frostForestGen = config.get("Biomes To Generate", "FrostForest", true).getBoolean(false); - fungiForestGen = config.get("Biomes To Generate", "FungiForest", true).getBoolean(false); - gardenGen = config.get("Biomes To Generate", "Garden", true).getBoolean(false); - glacierGen = config.get("Biomes To Generate", "Glacier", true).getBoolean(false); - grasslandGen = config.get("Biomes To Generate", "Grassland", true).getBoolean(false); - groveGen = config.get("Biomes To Generate", "Grove", true).getBoolean(false); - heathlandGen = config.get("Biomes To Generate", "Heathland", true).getBoolean(false); - highlandGen = config.get("Biomes To Generate", "Highland", true).getBoolean(false); - iceSheetGen = config.get("Biomes To Generate", "IcySheet", true).getBoolean(false); - icyHillsGen = config.get("Biomes To Generate", "IcyHills", true).getBoolean(false); - jadeCliffsGen = config.get("Biomes To Generate", "JadeCliffs", true).getBoolean(false); - jungleGen = config.get("Biomes To Generate", "Jungle", true).getBoolean(false); - lushDesertGen = config.get("Biomes To Generate", "LushDesert", true).getBoolean(false); - lushSwampGen = config.get("Biomes To Generate", "LushSwamp", true).getBoolean(false); - mangroveGen = config.get("Biomes To Generate", "Mangrove", true).getBoolean(false); - mapleWoodsGen = config.get("Biomes To Generate", "MapleWoods", true).getBoolean(false); - marshGen = config.get("Biomes To Generate", "Marsh", true).getBoolean(false); - meadowGen = config.get("Biomes To Generate", "Meadow", true).getBoolean(false); - mesaGen = config.get("Biomes To Generate", "Mesa", true).getBoolean(false); - moorGen = config.get("Biomes To Generate", "Moor", true).getBoolean(false); - mountainGen = config.get("Biomes To Generate", "Mountain", true).getBoolean(false); - mushroomIslandGen = config.get("Biomes To Generate", "MushroomIsland", true).getBoolean(false); - mysticGroveGen = config.get("Biomes To Generate", "MysticGrove", true).getBoolean(false); - oasisGen = config.get("Biomes To Generate", "Oasis", true).getBoolean(false); - ominousWoodsGen = config.get("Biomes To Generate", "OminousWoods", true).getBoolean(false); - orchardGen = config.get("Biomes To Generate", "Orchard", true).getBoolean(false); - originValleyGen = config.get("Biomes To Generate", "OriginValley", true).getBoolean(false); - outbackGen = config.get("Biomes To Generate", "Outback", true).getBoolean(false); - pastureGen = config.get("Biomes To Generate", "Pasture", true).getBoolean(false); - plainsGen = config.get("Biomes To Generate", "Plains", true).getBoolean(false); - prairieGen = config.get("Biomes To Generate", "Prairie", true).getBoolean(false); - quagmireGen = config.get("Biomes To Generate", "Quagmire", true).getBoolean(false); - rainforestGen = config.get("Biomes To Generate", "Rainforest", true).getBoolean(false); - redwoodForestGen = config.get("Biomes To Generate", "RedwoodForest", true).getBoolean(false); - sacredSpringsGen = config.get("Biomes To Generate", "SacredSprings", true).getBoolean(false); - savannaGen = config.get("Biomes To Generate", "Savanna", true).getBoolean(false); - scrublandGen = config.get("Biomes To Generate", "Scrubland", true).getBoolean(false); - seasonalForestGen = config.get("Biomes To Generate", "SeasonalForest", true).getBoolean(false); - shieldGen = config.get("Biomes To Generate", "Shield", true).getBoolean(false); - shrublandGen = config.get("Biomes To Generate", "Shrubland", true).getBoolean(false); - snowyWoodsGen = config.get("Biomes To Generate", "SnowyWoods", true).getBoolean(false); - spruceWoodsGen = config.get("Biomes To Generate", "SpruceWoods", true).getBoolean(false); - steppeGen = config.get("Biomes To Generate", "Steppe", true).getBoolean(false); - swamplandGen = config.get("Biomes To Generate", "Swampland", true).getBoolean(false); - swampwoodsGen = config.get("Biomes To Generate", "Swampwoods", true).getBoolean(false); - taigaGen = config.get("Biomes To Generate", "Taiga", true).getBoolean(false); - temperateRainforestGen = config.get("Biomes To Generate", "TemperateRainforest", true).getBoolean(false); - thicketGen = config.get("Biomes To Generate", "Thicket", true).getBoolean(false); - tropicalRainforestGen = config.get("Biomes To Generate", "TropicalRainforest", true).getBoolean(false); - tropicsGen = config.get("Biomes To Generate", "Tropics", true).getBoolean(false); - tundraGen = config.get("Biomes To Generate", "Tundra", true).getBoolean(false); - volcanoGen = config.get("Biomes To Generate", "Volcano", true).getBoolean(false); - wastelandGen = config.get("Biomes To Generate", "Wasteland", true).getBoolean(false); - wetlandGen = config.get("Biomes To Generate", "Wetland", true).getBoolean(false); - woodlandGen = config.get("Biomes To Generate", "Woodland", true).getBoolean(false); - - // Get Terrain Block ID's - mudID = config.getTerrainBlock("Terrain Block IDs", "Mud ID", 160, null).getInt(); - driedDirtID = config.getTerrainBlock("Terrain Block IDs", "Dried Dirt ID", 161, null).getInt(); - redRockID = config.getTerrainBlock("Terrain Block IDs", "Red Rock ID", 162, null).getInt(); - ashID = config.getTerrainBlock("Terrain Block IDs", "Ash Block ID", 163, null).getInt(); - ashStoneID = config.getTerrainBlock("Terrain Block IDs", "Ash Stone ID", 164, null).getInt(); - hardIceID = config.getTerrainBlock("Terrain Block IDs", "Hard Ice ID", 165, null).getInt(); - originGrassID = config.getTerrainBlock("Terrain Block IDs", "Origin Grass ID", 166, null).getInt(); - hardSandID = config.getTerrainBlock("Terrain Block IDs", "Hard Sand ID", 167, null).getInt(); - hardDirtID = config.getTerrainBlock("Terrain Block IDs", "Hard Dirt ID", 168, null).getInt(); - holyGrassID = config.getTerrainBlock("Terrain Block IDs", "Holy Grass ID", 169, null).getInt(); - holyStoneID = config.getTerrainBlock("Terrain Block IDs", "Holy Stone ID", 170, null).getInt(); - cragRockID = config.getTerrainBlock("Terrain Block IDs", "Crag Rock ID", 171, null).getInt(); - - // Get Crafted Block ID's - mudBrickBlockID = config.getBlock("Mud Bricks ID", 256, null).getInt(); - redwoodPlankID = config.getBlock("Redwood Plank ID", 257, null).getInt(); - redwoodDoubleSlabID = config.getBlock("Redwood Double Slab ID", 258, null).getInt(); - redwoodSingleSlabID = config.getBlock("Redwood Single Slab ID", 259, null).getInt(); - redwoodStairsID = config.getBlock("Redwood Stairs ID", 260, null).getInt(); - willowPlankID = config.getBlock("Willow Plank ID", 261, null).getInt(); - willowDoubleSlabID = config.getBlock("Willow Double Slab ID", 262, null).getInt(); - willowSingleSlabID = config.getBlock("Willow Single Slab ID", 263, null).getInt(); - willowStairsID = config.getBlock("Willow Stairs ID", 264, null).getInt(); - firPlankID = config.getBlock("Fir Plank ID", 265, null).getInt(); - firDoubleSlabID = config.getBlock("Fir Double Slab ID", 266, null).getInt(); - firSingleSlabID = config.getBlock("Fir Single Slab ID", 267, null).getInt(); - firStairsID = config.getBlock("Fir Stairs ID", 268, null).getInt(); - acaciaPlankID = config.getBlock("Acacia Plank ID", 269, null).getInt(); - acaciaDoubleSlabID = config.getBlock("Acacia Double Slab ID", 270, null).getInt(); - acaciaSingleSlabID = config.getBlock("Acacia Single Slab ID", 271, null).getInt(); - acaciaStairsID = config.getBlock("Acacia Stairs ID", 272, null).getInt(); - cherryPlankID = config.getBlock("Cherry Plank ID", 273, null).getInt(); - cherryDoubleSlabID = config.getBlock("Cherry Double Slab ID", 274, null).getInt(); - cherrySingleSlabID = config.getBlock("Cherry Single Slab ID", 275, null).getInt(); - cherryStairsID = config.getBlock("Cherry Stairs ID", 276, null).getInt(); - darkPlankID = config.getBlock("Dark Plank ID", 277, null).getInt(); - darkDoubleSlabID = config.getBlock("Dark Double Slab ID", 278, null).getInt(); - darkSingleSlabID = config.getBlock("Dark Single Slab ID", 279, null).getInt(); - darkStairsID = config.getBlock("Dark Stairs ID", 280, null).getInt(); - magicPlankID = config.getBlock("Magic Plank ID", 281, null).getInt(); - magicDoubleSlabID = config.getBlock("Magic Double Slab ID", 282, null).getInt(); - magicSingleSlabID = config.getBlock("Magic Single Slab ID", 283, null).getInt(); - magicStairsID = config.getBlock("Magic Stairs ID", 284, null).getInt(); - palmPlankID = config.getBlock("Palm Plank ID", 285, null).getInt(); - palmDoubleSlabID = config.getBlock("Palm Double Slab ID", 286, null).getInt(); - palmSingleSlabID = config.getBlock("Palm Single Slab ID", 287, null).getInt(); - palmStairsID = config.getBlock("Palm Stairs ID", 288, null).getInt(); - originLeavesID = config.getBlock("Origin Leaves ID", 289, null).getInt(); - redwoodWoodID = config.getBlock("Redwood Log ID", 290, null).getInt(); - redwoodLeavesID = config.getBlock("Redwood Leaves ID", 291, null).getInt(); - willowWoodID = config.getBlock("Willow Log ID", 292, null).getInt(); - willowLeavesID = config.getBlock("Willow Leaves ID", 293, null).getInt(); - firWoodID = config.getBlock("Fir Log ID", 294, null).getInt(); - firLeavesID = config.getBlock("Fir Leaves ID", 295, null).getInt(); - acaciaWoodID = config.getBlock("Acacia Log ID", 296, null).getInt(); - acaciaLeavesID = config.getBlock("Acacia Leaves ID", 297, null).getInt(); - cherryWoodID = config.getBlock("Cherry Log ID", 298, null).getInt(); - pinkFlowerID = config.getBlock("Pink Flower ID", 299, null).getInt(); - darkWoodID = config.getBlock("Dark Log ID", 300, null).getInt(); - darkLeavesID = config.getBlock("Dark Leaves ID", 301, null).getInt(); - treeMossID = config.getBlock("Tree Moss ID", 302, null).getInt(); - magicWoodID = config.getBlock("Magic Log ID", 303, null).getInt(); - deadWoodID = config.getBlock("Dead Log ID", 304, null).getInt(); - appleLeavesFruitlessID = config.getBlock("Fruitless Apple Leaves ID", 305, null).getInt(); - barleyID = config.getBlock("Barley ID", 306, null).getInt(); - palmWoodID = config.getBlock("Palm Log ID", 307, null).getInt(); - palmLeavesID = config.getBlock("Palm Leaves ID", 308, null).getInt(); - giantFlowerRedID = config.getBlock("Giant Red Flower ID", 309, null).getInt(); - giantFlowerStemID = config.getBlock("Giant Flower Stem ID", 310, null).getInt(); - giantFlowerYellowID = config.getBlock("Giant Yellow Flower ID", 311, null).getInt(); - redLeavesID = config.getBlock("Maple Leaves ID", 312, null).getInt(); - orangeLeavesID = config.getBlock("Orange Autumn Leaves ID", 313, null).getInt(); - pinkLeavesID = config.getBlock("Pink Cherry Leaves ID", 314, null).getInt(); - blueLeavesID = config.getBlock("Magic Leaves ID", 315, null).getInt(); - whiteLeavesID = config.getBlock("White Cherry Leaves ID", 316, null).getInt(); - deadLeavesID = config.getBlock("Dying Leaves ID", 317, null).getInt(); - shortGrassID = config.getBlock("Short Grass ID", 318, null).getInt(); - appleLeavesID = config.getBlock("Apple Leaves ID", 319, null).getInt(); - sproutID = config.getBlock("Sprout ID", 320, null).getInt(); - bushID = config.getBlock("Bush ID", 321, null).getInt(); - bambooID = config.getBlock("Bamboo ID", 322, null).getInt(); - bambooLeavesID = config.getBlock("Bamboo Leaves ID", 323, null).getInt(); - deadGrassID = config.getBlock("Dead Grass ID", 324, null).getInt(); - desertGrassID = config.getBlock("Desert Grass ID", 325, null).getInt(); - whiteFlowerID = config.getBlock("Anenome ID", 326, null).getInt(); - blueFlowerID = config.getBlock("Swampflower ID", 327, null).getInt(); - purpleFlowerID = config.getBlock("Wildflower ID", 328, null).getInt(); - orangeFlowerID = config.getBlock("Daisy ID", 329, null).getInt(); - tinyFlowerID = config.getBlock("Clover ID", 330, null).getInt(); - glowFlowerID = config.getBlock("Glowflower ID", 331, null).getInt(); - cattailID = config.getBlock("Cattail ID", 332, null).getInt(); - willowID = config.getBlock("Willow ID", 333, null).getInt(); - autumnLeavesID = config.getBlock("Yellow Autumn Leaves ID", 334, null).getInt(); - thornID = config.getBlock("Thorns ID", 335, null).getInt(); - toadstoolID = config.getBlock("Toadstool ID", 336, null).getInt(); - highGrassBottomID = config.getBlock("High Grass Bottom ID", 337, null).getInt(); - highGrassTopID = config.getBlock("High Grass Top ID", 338, null).getInt(); - tinyCactusID = config.getBlock("Tiny Cactus ID", 339, null).getInt(); - firSaplingID = config.getBlock("Fir Sapling ID", 340, null).getInt(); - redwoodSaplingID = config.getBlock("Redwood Sapling ID", 341, null).getInt(); - palmSaplingID = config.getBlock("Palm Sapling ID", 342, null).getInt(); - redSaplingID = config.getBlock("Maple Sapling ID", 343, null).getInt(); - orangeSaplingID = config.getBlock("Orange Autumn Sapling ID", 344, null).getInt(); - yellowSaplingID = config.getBlock("Yellow Autumn Sapling ID", 345, null).getInt(); - brownSaplingID = config.getBlock("Dying Sapling ID", 346, null).getInt(); - willowSaplingID = config.getBlock("Willow Sapling ID", 347, null).getInt(); - appleSaplingID = config.getBlock("Apple Sapling ID", 348, null).getInt(); - originSaplingID = config.getBlock("Origin Sapling ID", 349, null).getInt(); - pinkSaplingID = config.getBlock("Pink Cherry Sapling ID", 350, null).getInt(); - whiteSaplingID = config.getBlock("White Cherry Sapling ID", 351, null).getInt(); - darkSaplingID = config.getBlock("Dark Sapling ID", 352, null).getInt(); - magicSaplingID = config.getBlock("Magic Sapling ID", 353, null).getInt(); - deathbloomID = config.getBlock("Deathbloom ID", 354, null).getInt(); - redRockCobbleID = config.getBlock("Red Rock Cobblestone ID", 355, null).getInt(); - redRockBrickID = config.getBlock("Red Rock Bricks ID", 356, null).getInt(); - hydrangeaID = config.getBlock("Hydrangea ID", 357, null).getInt(); - violetID = config.getBlock("Violet ID", 358, null).getInt(); - mediumGrassID = config.getBlock("Medium Grass ID", 359, null).getInt(); - duneGrassID = config.getBlock("Dune Grass ID", 360, null).getInt(); - desertSproutsID = config.getBlock("Desert Sprouts ID", 361, null).getInt(); - redRockCobbleDoubleSlabID = config.getBlock("Red Rock Cobblestone Double Slab ID", 362, null).getInt(); - redRockCobbleSingleSlabID = config.getBlock("Red Rock Cobblestone Single Slab ID", 363, null).getInt(); - redRockCobbleStairsID = config.getBlock("Red Rock Cobblestone Stairs ID", 364, null).getInt(); - redRockBrickDoubleSlabID = config.getBlock("Red Rock Brick Double Slab ID", 365, null).getInt(); - redRockBrickSingleSlabID = config.getBlock("Red Rock Brick Single Slab ID", 366, null).getInt(); - redRockBrickStairsID = config.getBlock("Red Rock Brick Stairs ID", 367, null).getInt(); - mudBrickDoubleSlabID = config.getBlock("Mud Brick Double Slab ID", 368, null).getInt(); - mudBrickSingleSlabID = config.getBlock("Mud Brick Single Slab ID", 369, null).getInt(); - mudBrickStairsID = config.getBlock("Mud Brick Stairs ID", 370, null).getInt(); - mangroveWoodID = config.getBlock("Mangrove Log ID", 371, null).getInt(); - mangroveLeavesID = config.getBlock("Mangrove Leaves ID", 372, null).getInt(); - mangroveSaplingID = config.getBlock("Mangrove Sapling ID", 373, null).getInt(); - mangrovePlankID = config.getBlock("Mangrove Plank ID", 374, null).getInt(); - mangroveDoubleSlabID = config.getBlock("Mangrove Double Slab ID", 375, null).getInt(); - mangroveSingleSlabID = config.getBlock("Mangrove Single Slab ID", 376, null).getInt(); - mangroveStairsID = config.getBlock("Mangrove Stairs ID", 377, null).getInt(); - acaciaSaplingID = config.getBlock("Acacia Sapling ID", 378, null).getInt(); - holyTallGrassID = config.getBlock("Holy Tall Grass ID", 379, null).getInt(); - promisedLandPortalID = config.getBlock("Promised Land Portal ID", 380, null).getInt(); - holyWoodID = config.getBlock("Holy Log ID", 381, null).getInt(); - holyLeavesID = config.getBlock("Holy Leaves ID", 382, null).getInt(); - holySaplingID = config.getBlock("Holy Sapling ID", 383, null).getInt(); - holyPlankID = config.getBlock("Holy Plank ID", 384, null).getInt(); - holyDoubleSlabID = config.getBlock("Holy Double Slab ID", 385, null).getInt(); - holySingleSlabID = config.getBlock("Holy Single Slab ID", 386, null).getInt(); - holyStairsID = config.getBlock("Holy Stairs ID", 387, null).getInt(); - amethystOreID = config.getBlock("Amethyst Ore ID", 388, null).getInt(); - amethystBlockID = config.getBlock("Block of Amethyst ID", 389, null).getInt(); - bambooThatchingID = config.getBlock("Bamboo Thatching ID", 390, null).getInt(); - mossID = config.getBlock("Moss ID", 391, null).getInt(); - algaeID = config.getBlock("Algae ID", 392, null).getInt(); - smolderingGrassID = config.getBlock("Smoldering Grass ID", 393, null).getInt(); - quicksandID = config.getBlock("Quicksand ID", 394, null).getInt(); - - // Get Item ID's - shroomPowderID = config.getItem("Shroom Powder ID", 1001, null).getInt(); - mudBallID = config.getItem("Mud Ball ID", 1002, null).getInt(); - mudBrickID = config.getItem("Mud Brick ID", 1003, null).getInt(); - bambooItemID = config.getItem("Bamboo ID", 1004).getInt(); - cattailItemID = config.getItem("Cattail ID", 1005).getInt(); - ancientStaffID = config.getItem("Ancient Staff ID", 1006).getInt(); - enderporterID = config.getItem("Enderporter ID", 1007).getInt(); - ashesID = config.getItem("Pile of Ashes ID", 1008, null).getInt(); - barleyItemID = config.getItem("Barley ID", 1009).getInt(); - amethystID = config.getItem("Amethyst ID", 1010).getInt(); - ancientStaffHandleID = config.getItem("Ancient Staff Handle ID", 1011, null).getInt(); - ancientStaffPoleID = config.getItem("Ancient Staff Pole ID", 1012, null).getInt(); - ancientStaffTopperID = config.getItem("Ancient Staff Topper ID", 1013, null).getInt(); - shortGrassItemID = config.getItem("Short Grass (Item) ID", 1014, null).getInt(); - mediumGrassItemID = config.getItem("Medium Grass (Item) ID", 1015, null).getInt(); - bushItemID = config.getItem("Bush (Item) ID", 1016, null).getInt(); - sproutItemID = config.getItem("Sprout (Item) ID", 1017, null).getInt(); - mossItemID = config.getItem("Moss (Item) ID", 1018, null).getInt(); - bopDiscID = config.getItem("Traversia Music Disc ID", 1019, null).getInt(); - bopDiscMudID = config.getItem("Muddy Music Disc ID", 1020, null).getInt(); - swordMudID = config.getItem("Muddy Sword ID", 1060, null).getInt(); - shovelMudID = config.getItem("Muddy Shovel ID", 1061, null).getInt(); - pickaxeMudID = config.getItem("Muddy Pickaxe ID", 1062, null).getInt(); - axeMudID = config.getItem("Muddy Axe ID", 1063, null).getInt(); - hoeMudID = config.getItem("Muddy Hoe ID", 1064, null).getInt(); - helmetMudID = config.getItem("Muddy Helmet ID", 1065, null).getInt(); - chestplateMudID = config.getItem("Muddy Chestplate ID", 1066, null).getInt(); - leggingsMudID = config.getItem("Muddy Leggings ID", 1067, null).getInt(); - bootsMudID = config.getItem("Muddy Boots ID", 1068, null).getInt(); - swordAmethystID = config.getItem("Amethyst Sword ID", 1069, null).getInt(); - shovelAmethystID = config.getItem("Amethyst Shovel ID", 1070, null).getInt(); - pickaxeAmethystID = config.getItem("Amethyst Pickaxe ID", 1071, null).getInt(); - axeAmethystID = config.getItem("Amethyst Axe ID", 1072, null).getInt(); - hoeAmethystID = config.getItem("Amethyst Hoe ID", 1073, null).getInt(); - helmetAmethystID = config.getItem("Amethyst Helmet ID", 1074, null).getInt(); - chestplateAmethystID = config.getItem("Amethyst Chestplate ID", 1075, null).getInt(); - leggingsAmethystID = config.getItem("Amethyst Leggings ID", 1076, null).getInt(); - bootsAmethystID = config.getItem("Amethyst Boots ID", 1077, null).getInt(); - - //Mob IDs - jungleSpiderID = config.get("Mob IDs", "Jungle Spider ID", 101, null).getInt(); - rosesterID = config.get("Mob IDs", "Rosester ID", 102, null).getInt(); - - System.out.println("Generating Biome ID's"); - alpsID = config.get("Biome IDs", "Alps ID", 23).getInt(); - arcticID = config.get("Biome IDs", "Arctic ID", 24).getInt(); - badlandsID = config.get("Biome IDs", "Badlands ID", 25).getInt(); - bambooForestID = config.get("Biome IDs", "Bamboo Forest ID", 26).getInt(); - bayouID = config.get("Biome IDs", "Bayou ID", 27).getInt(); - birchForestID = config.get("Biome IDs", "Birch Forest ID", 28).getInt(); - bogID = config.get("Biome IDs", "Bog ID", 29).getInt(); - borealForestID = config.get("Biome IDs", "Boreal Forest ID", 30).getInt(); - canyonID = config.get("Biome IDs", "Canyon ID", 31).getInt(); - chaparralID = config.get("Biome IDs", "Chaparral ID", 32).getInt(); - cherryBlossomGroveID = config.get("Biome IDs", "Cherry Blossom Grove ID", 33).getInt(); - coniferousForestID = config.get("Biome IDs", "Coniferous Forest ID", 34).getInt(); - cragID = config.get("Biome IDs", "Crag ID", 35).getInt(); - deadForestID = config.get("Biome IDs", "Dead Forest ID", 36).getInt(); - deadSwampID = config.get("Biome IDs", "Dead Swamp ID", 37).getInt(); - deadlandsID = config.get("Biome IDs", "Deadlands ID", 38).getInt(); - deciduousForestID = config.get("Biome IDs", "Deciduous Forest ID", 39).getInt(); - drylandsID = config.get("Biome IDs", "Drylands ID", 40).getInt(); - dunesID = config.get("Biome IDs", "Dunes ID", 41).getInt(); - fenID = config.get("Biome IDs", "Fen ID", 42).getInt(); - fieldID = config.get("Biome IDs", "Field ID", 43).getInt(); - frostForestID = config.get("Biome IDs", "Frost Forest ID", 44).getInt(); - fungiForestID = config.get("Biome IDs", "Fungi Forest ID", 45).getInt(); - gardenID = config.get("Biome IDs", "Garden ID", 46).getInt(); - glacierID = config.get("Biome IDs", "Glacier ID", 47).getInt(); - grasslandID = config.get("Biome IDs", "Grassland ID", 48).getInt(); - groveID = config.get("Biome IDs", "Grove ID", 49).getInt(); - heathlandID = config.get("Biome IDs", "Heathland ID", 50).getInt(); - highlandID = config.get("Biome IDs", "Highland ID", 51).getInt(); - iceSheetID = config.get("Biome IDs", "Ice Sheet ID", 52).getInt(); - icyHillsID = config.get("Biome IDs", "Icy Hills ID", 53).getInt(); - jadeCliffsID = config.get("Biome IDs", "Jade Cliffs ID", 54).getInt(); - lushDesertID = config.get("Biome IDs", "Lush Desert ID", 55).getInt(); - lushSwampID = config.get("Biome IDs", "Lush Swamp ID", 56).getInt(); - mangroveID = config.get("Biome IDs", "Mangrove ID", 57).getInt(); - mapleWoodsID = config.get("Biome IDs", "Maple Woods ID", 58).getInt(); - marshID = config.get("Biome IDs", "Marsh ID", 59).getInt(); - meadowID = config.get("Biome IDs", "Meadow ID", 60).getInt(); - mesaID = config.get("Biome IDs", "Mesa ID", 61).getInt(); - moorID = config.get("Biome IDs", "Moor ID", 62).getInt(); - mountainID = config.get("Biome IDs", "Mountain ID", 63).getInt(); - mysticGroveID = config.get("Biome IDs", "Mystic Grove ID", 64).getInt(); - oasisID = config.get("Biome IDs", "Oasis ID", 65).getInt(); - ominousWoodsID = config.get("Biome IDs", "Ominous Woods ID", 66).getInt(); - orchardID = config.get("Biome IDs", "Orchard ID", 67).getInt(); - originValleyID = config.get("Biome IDs", "Origin Valley ID", 68).getInt(); - outbackID = config.get("Biome IDs", "Outback ID", 69).getInt(); - pastureID = config.get("Biome IDs", "Pasture ID", 70).getInt(); - prairieID = config.get("Biome IDs", "Prairie ID", 71).getInt(); - promisedLandID = config.get("Biome IDs", "Promised Land ID", 72).getInt(); - quagmireID = config.get("Biome IDs", "Quagmire ID", 73).getInt(); - rainforestID = config.get("Biome IDs", "Rainforest ID", 74).getInt(); - redwoodForestID = config.get("Biome IDs", "Redwood Forest ID", 75).getInt(); - sacredSpringsID = config.get("Biome IDs", "Sacred Springs ID", 76).getInt(); - savannaID = config.get("Biome IDs", "Savanna ID", 77).getInt(); - scrublandID = config.get("Biome IDs", "Scrubland ID", 78).getInt(); - seasonalForestID = config.get("Biome IDs", "Seasonal Forest ID", 79).getInt(); - shieldID = config.get("Biome IDs", "Shield ID", 80).getInt(); - shoreID = config.get("Biome IDs", "Shore ID", 81).getInt(); - shrublandID = config.get("Biome IDs", "Shrubland ID", 82).getInt(); - snowyWoodsID = config.get("Biome IDs", "Snowy Woods ID", 83).getInt(); - spruceWoodsID = config.get("Biome IDs", "Spruce Woods ID", 84).getInt(); - steppeID = config.get("Biome IDs", "Steppe ID", 85).getInt(); - swampwoodsID = config.get("Biome IDs", "Swampwoods ID", 86).getInt(); - temperateRainforestID = config.get("Biome IDs", "Temperate Rainforest ID", 87).getInt(); - thicketID = config.get("Biome IDs", "Thicket ID", 88).getInt(); - tropicalRainforestID = config.get("Biome IDs", "Tropical Rainforest ID", 89).getInt(); - tropicsID = config.get("Biome IDs", "Tropics ID", 90).getInt(); - tundraID = config.get("Biome IDs", "Tundra ID", 91).getInt(); - volcanoID = config.get("Biome IDs", "Volcano ID", 92).getInt(); - wastelandID = config.get("Biome IDs", "Wasteland ID", 93).getInt(); - wetlandID = config.get("Biome IDs", "Wetland ID", 94).getInt(); - woodlandID = config.get("Biome IDs", "Woodland ID", 95).getInt(); - - plainsNewID = config.get("Biome IDs", "Plains (New) ID", 96).getInt(); - desertNewID = config.get("Biome IDs", "Desert (New) ID", 97).getInt(); - forestNewID = config.get("Biome IDs", "Forest (New) ID", 98).getInt(); - taigaNewID = config.get("Biome IDs", "Taiga (New) ID", 99).getInt(); - swamplandNewID = config.get("Biome IDs", "Swampland (New) ID", 100).getInt(); - extremeHillsNewID = config.get("Biome IDs", "Extreme Hills (New) ID", 101).getInt(); - jungleNewID = config.get("Biome IDs", "Jungle (New) ID", 102).getInt(); - - System.out.println("Generated!"); - config.save(); + BOPConfiguration.init(event.getSuggestedConfigurationFile()); + tabBiomesOPlenty = new CreativeTabsBOP(CreativeTabs.getNextID(),"tabBiomesOPlenty"); BOPBlocks.init(); @@ -492,7 +121,7 @@ public class mod_BiomesOPlenty { // Achievement declaration - if (achievements == true) + if (BOPConfiguration.achievements == true) { achFlower2 = (new Achievement(3057, "achFlower2", 0, 0, Block.plantRed, null)).registerAchievement(); achRedRock2 = (new Achievement(3058, "achRedRock2", -1, 2, BOPBlocks.redRock, achFlower2)).registerAchievement(); @@ -511,9 +140,7 @@ public class mod_BiomesOPlenty LanguageRegistry.instance().addStringLocalization("itemGroup.tabBiomesOPlenty", "en_US", "Biomes O\' Plenty"); - MinecraftForge.setBlockHarvestLevel(BOPBlocks.amethystBlock, "pickaxe", 3); - - if (achievements == true) + if (BOPConfiguration.achievements == true) { // Add Achievement registration addAchievementDesc("achFlower2", "Flower Child", "Pick some flowers!"); @@ -537,12 +164,12 @@ public class mod_BiomesOPlenty proxy.registerRenderers(); - EntityRegistry.registerModEntity(EntityJungleSpider.class, "JungleSpider", jungleSpiderID, this, 80, 3, true); + EntityRegistry.registerModEntity(EntityJungleSpider.class, "JungleSpider", BOPConfiguration.jungleSpiderID, this, 80, 3, true); LanguageRegistry.instance().addStringLocalization("entity.BiomesOPlenty.JungleSpider.name", "en_US", "Jungle Spider"); EntityRegistry.addSpawn(EntityJungleSpider.class, 8, 1, 3, EnumCreatureType.monster, BOPBiomes.jungleNew, BOPBiomes.tropicalRainforest, BOPBiomes.oasis, BOPBiomes.tropics); registerEntityEgg(EntityJungleSpider.class, 5147192, 11013646); - EntityRegistry.registerModEntity(EntityRosester.class, "Rosester", rosesterID, this, 80, 3, true); + EntityRegistry.registerModEntity(EntityRosester.class, "Rosester", BOPConfiguration.rosesterID, this, 80, 3, true); LanguageRegistry.instance().addStringLocalization("entity.BiomesOPlenty.Rosester.name", "en_US", "Rosester"); EntityRegistry.addSpawn(EntityRosester.class, 10, 2, 4, EnumCreatureType.creature, BOPBiomes.garden); registerEntityEgg(EntityRosester.class, 14831439, 16756224); @@ -624,407 +251,6 @@ public class mod_BiomesOPlenty public static ChestGenHooks strongholdCrossing; public static ChestGenHooks village; - // Configuration variables - private Configuration config; - public static boolean skyColors; - public static int biomeSize; - public static boolean addToDefault; - public static boolean achievements; - public static boolean vanillaEnhanced; - public static int promisedLandDimID; - - public static boolean alpsGen; - public static boolean arcticGen; - public static boolean badlandsGen; - public static boolean bambooForestGen; - public static boolean bayouGen; - public static boolean birchForestGen; - public static boolean bogGen; - public static boolean borealForestGen; - public static boolean canyonGen; - public static boolean chaparralGen; - public static boolean cherryBlossomGroveGen; - public static boolean coniferousForestGen; - public static boolean cragGen; - public static boolean deadForestGen; - public static boolean deadSwampGen; - public static boolean deadlandsGen; - public static boolean deciduousForestGen; - public static boolean drylandsGen; - public static boolean dunesGen; - public static boolean fenGen; - public static boolean fieldGen; - public static boolean frostForestGen; - public static boolean fungiForestGen; - public static boolean gardenGen; - public static boolean glacierGen; - public static boolean grasslandGen; - public static boolean groveGen; - public static boolean heathlandGen; - public static boolean highlandGen; - public static boolean iceSheetGen; - public static boolean icyHillsGen; - public static boolean jadeCliffsGen; - public static boolean lushDesertGen; - public static boolean lushSwampGen; - public static boolean mangroveGen; - public static boolean mapleWoodsGen; - public static boolean marshGen; - public static boolean meadowGen; - public static boolean mesaGen; - public static boolean moorGen; - public static boolean mountainGen; - public static boolean mushroomIslandGen; - public static boolean mysticGroveGen; - public static boolean oasisGen; - public static boolean ominousWoodsGen; - public static boolean orchardGen; - public static boolean originValleyGen; - public static boolean outbackGen; - public static boolean pastureGen; - public static boolean prairieGen; - public static boolean quagmireGen; - public static boolean rainforestGen; - public static boolean redwoodForestGen; - public static boolean sacredSpringsGen; - public static boolean savannaGen; - public static boolean scrublandGen; - public static boolean seasonalForestGen; - public static boolean shieldGen; - public static boolean shrublandGen; - public static boolean snowyWoodsGen; - public static boolean spruceWoodsGen; - public static boolean steppeGen; - public static boolean swampwoodsGen; - public static boolean temperateRainforestGen; - public static boolean thicketGen; - public static boolean tropicalRainforestGen; - public static boolean tropicsGen; - public static boolean tundraGen; - public static boolean volcanoGen; - public static boolean wastelandGen; - public static boolean wetlandGen; - public static boolean woodlandGen; - - public static boolean plainsGen; - public static boolean desertGen; - public static boolean extremeHillsGen; - public static boolean forestGen; - public static boolean taigaGen; - public static boolean swamplandGen; - public static boolean jungleGen; - - public static int mudID; - public static int driedDirtID; - public static int redRockID; - public static int ashID; - public static int deadGrassID; - public static int desertGrassID; - public static int whiteFlowerID; - public static int blueFlowerID; - public static int purpleFlowerID; - public static int orangeFlowerID; - public static int tinyFlowerID; - public static int glowFlowerID; - public static int cattailID; - public static int willowID; - public static int autumnLeavesID; - public static int thornID; - public static int toadstoolID; - public static int highGrassBottomID; - public static int highGrassTopID; - public static int ashStoneID; - public static int hardIceID; - public static int redLeavesID; - public static int orangeLeavesID; - public static int pinkLeavesID; - public static int blueLeavesID; - public static int whiteLeavesID; - public static int deadLeavesID; - public static int shortGrassID; - public static int appleLeavesID; - public static int sproutID; - public static int bushID; - public static int bambooID; - public static int bambooLeavesID; - public static int mudBrickBlockID; - public static int mudBrickDoubleSlabID; - public static int mudBrickSingleSlabID; - public static int mudBrickStairsID; - public static int originGrassID; - public static int originLeavesID; - public static int pinkFlowerID; - public static int treeMossID; - public static int deadWoodID; - public static int appleLeavesFruitlessID; - public static int barleyID; - public static int giantFlowerStemID; - public static int giantFlowerRedID; - public static int giantFlowerYellowID; - public static int tinyCactusID; - public static int firSaplingID; - public static int redwoodSaplingID; - public static int palmSaplingID; - public static int redSaplingID; - public static int orangeSaplingID; - public static int yellowSaplingID; - public static int brownSaplingID; - public static int willowSaplingID; - public static int appleSaplingID; - public static int originSaplingID; - public static int pinkSaplingID; - public static int whiteSaplingID; - public static int darkSaplingID; - public static int magicSaplingID; - public static int deathbloomID; - public static int redRockCobbleID; - public static int redRockCobbleDoubleSlabID; - public static int redRockCobbleSingleSlabID; - public static int redRockCobbleStairsID; - public static int redRockBrickID; - public static int redRockBrickDoubleSlabID; - public static int redRockBrickSingleSlabID; - public static int redRockBrickStairsID; - public static int hydrangeaID; - public static int violetID; - public static int mediumGrassID; - public static int duneGrassID; - public static int desertSproutsID; - public static int mangroveSaplingID; - public static int hardSandID; - public static int acaciaSaplingID; - public static int hardDirtID; - public static int holyGrassID; - public static int holyStoneID; - public static int holyTallGrassID; - public static int promisedLandPortalID; - public static int holySaplingID; - public static int amethystOreID; - public static int amethystBlockID; - public static int bambooThatchingID; - public static int mossID; - public static int algaeID; - public static int smolderingGrassID; - public static int cragRockID; - public static int quicksandID; - - //Redwood - public static int redwoodPlankID; - public static int redwoodWoodID; - public static int redwoodLeavesID; - public static int redwoodDoubleSlabID; - public static int redwoodSingleSlabID; - public static int redwoodStairsID; - - //Willow - public static int willowPlankID; - public static int willowWoodID; - public static int willowLeavesID; - public static int willowDoubleSlabID; - public static int willowSingleSlabID; - public static int willowStairsID; - - //Fir - public static int firPlankID; - public static int firWoodID; - public static int firLeavesID; - public static int firDoubleSlabID; - public static int firSingleSlabID; - public static int firStairsID; - - //Acacia - public static int acaciaPlankID; - public static int acaciaWoodID; - public static int acaciaLeavesID; - public static int acaciaDoubleSlabID; - public static int acaciaSingleSlabID; - public static int acaciaStairsID; - - //Cherry - public static int cherryPlankID; - public static int cherryWoodID; - public static int cherryDoubleSlabID; - public static int cherrySingleSlabID; - public static int cherryStairsID; - - //Dark - public static int darkPlankID; - public static int darkWoodID; - public static int darkLeavesID; - public static int darkDoubleSlabID; - public static int darkSingleSlabID; - public static int darkStairsID; - - //Magic - public static int magicPlankID; - public static int magicWoodID; - public static int magicDoubleSlabID; - public static int magicSingleSlabID; - public static int magicStairsID; - - //Palm - public static int palmPlankID; - public static int palmWoodID; - public static int palmLeavesID; - public static int palmDoubleSlabID; - public static int palmSingleSlabID; - public static int palmStairsID; - - //Mangrove - public static int mangrovePlankID; - public static int mangroveWoodID; - public static int mangroveLeavesID; - public static int mangroveDoubleSlabID; - public static int mangroveSingleSlabID; - public static int mangroveStairsID; - - //Holy - public static int holyPlankID; - public static int holyWoodID; - public static int holyLeavesID; - public static int holyDoubleSlabID; - public static int holySingleSlabID; - public static int holyStairsID; - - public static int shroomPowderID; - public static int mudBallID; - public static int mudBrickID; - public static int cattailItemID; - public static int bambooItemID; - public static int barleyItemID; - public static int shortGrassItemID; - public static int mediumGrassItemID; - public static int bushItemID; - public static int sproutItemID; - public static int mossItemID; - public static int ashesID; - public static int ancientStaffID; - public static int ancientStaffHandleID; - public static int ancientStaffPoleID; - public static int ancientStaffTopperID; - public static int enderporterID; - public static int bopDiscID; - public static int bopDiscMudID; - public static int swordMudID; - public static int shovelMudID; - public static int pickaxeMudID; - public static int axeMudID; - public static int hoeMudID; - public static int helmetMudID; - public static int chestplateMudID; - public static int leggingsMudID; - public static int bootsMudID; - public static int amethystID; - public static int swordAmethystID; - public static int shovelAmethystID; - public static int pickaxeAmethystID; - public static int axeAmethystID; - public static int hoeAmethystID; - public static int helmetAmethystID; - public static int chestplateAmethystID; - public static int leggingsAmethystID; - public static int bootsAmethystID; - - public static int alpsID; - public static int arcticID; - public static int arcticForestID; - public static int badlandsID; - public static int bambooForestID; - public static int bayouID; - public static int birchForestID; - public static int bogID; - public static int borealForestID; - public static int canyonID; - public static int chaparralID; - public static int cherryBlossomGroveID; - public static int coniferousForestID; - public static int coniferousForestThinID; - public static int cragID; - public static int deadForestID; - public static int deadSwampID; - public static int deadlandsID; - public static int deciduousForestID; - public static int drylandsID; - public static int dunesID; - public static int fenID; - public static int fieldID; - public static int frostForestID; - public static int fungiForestID; - public static int gardenID; - public static int glacierID; - public static int grasslandID; - public static int groveID; - public static int groveThinID; - public static int heathlandID; - public static int highlandID; - public static int iceSheetID; - public static int icyHillsID; - public static int jadeCliffsID; - public static int lushDesertID; - public static int lushSwampID; - public static int mangroveID; - public static int mapleWoodsID; - public static int marshID; - public static int meadowID; - public static int meadowForestID; - public static int mesaID; - public static int moorID; - public static int mountainID; - public static int mysticGroveID; - public static int oasisID; - public static int ominousWoodsID; - public static int orchardID; - public static int originValleyID; - public static int outbackID; - public static int pastureID; - public static int prairieID; - public static int promisedLandID; - public static int promisedLandHillsID; - public static int promisedLandPlainsID; - public static int promisedLandSwampID; - public static int quagmireID; - public static int rainforestID; - public static int redwoodForestID; - public static int reefID; - public static int sacredSpringsID; - public static int savannaID; - public static int savannaThickID; - public static int scrublandID; - public static int seasonalForestID; - public static int shieldID; - public static int shoreID; - public static int shrublandID; - public static int snowyWoodsID; - public static int spruceWoodsID; - public static int steppeID; - public static int swampwoodsID; - public static int temperateRainforestID; - public static int thicketID; - public static int tropicalRainforestID; - public static int tropicsID; - public static int tundraID; - public static int tundraDryID; - public static int volcanoID; - public static int wastelandID; - public static int wastelandTreesID; - public static int wetlandID; - public static int woodlandID; - public static int plainsNewID; - public static int desertNewID; - public static int desertHillsNewID; - public static int extremeHillsNewID; - public static int extremeHillsEdgeNewID; - public static int forestNewID; - public static int forestHillsNewID; - public static int taigaNewID; - public static int taigaHillsNewID; - public static int swamplandNewID; - public static int jungleNewID; - public static int jungleHillsNewID; - - public static int jungleSpiderID; - public static int rosesterID; - // Add Fuel rates public static int addFuel(int par1, int par2) { @@ -1187,7 +413,7 @@ public class mod_BiomesOPlenty // Achievement checker public static void onItemPickup(EntityPlayer player, ItemStack item) { - if (achievements == true) + if (BOPConfiguration.achievements == true) { if (item.itemID == BOPBlocks.glowFlower.blockID || item.itemID == BOPBlocks.orangeFlower.blockID || item.itemID == BOPBlocks.blueFlower.blockID || item.itemID == BOPBlocks.purpleFlower.blockID || item.itemID == BOPBlocks.pinkFlower.blockID || item.itemID == BOPBlocks.whiteFlower.blockID || item.itemID == BOPBlocks.tinyFlower.blockID || item.itemID == BOPBlocks.deathbloom.blockID || item.itemID == BOPBlocks.hydrangea.blockID || item.itemID == BOPBlocks.violet.blockID || item.itemID == Block.plantRed.blockID || item.itemID == Block.plantYellow.blockID) { diff --git a/src/minecraft/tdwp_ftw/biomesop/worldtype/ChunkProviderBOP.java b/src/minecraft/tdwp_ftw/biomesop/worldtype/ChunkProviderBOP.java index 96eb17628..47f51f96e 100644 --- a/src/minecraft/tdwp_ftw/biomesop/worldtype/ChunkProviderBOP.java +++ b/src/minecraft/tdwp_ftw/biomesop/worldtype/ChunkProviderBOP.java @@ -4,6 +4,7 @@ import java.util.List; import java.util.Random; import tdwp_ftw.biomesop.mod_BiomesOPlenty; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; import net.minecraft.block.Block; import net.minecraft.block.BlockSand; import net.minecraft.entity.EnumCreatureType; @@ -234,7 +235,7 @@ public class ChunkProviderBOP implements IChunkProvider } else if (k1 >= b0 - 4 && k1 <= b0 + 1) { - if(biomegenbase.biomeID == mod_BiomesOPlenty.originValleyID) + if(biomegenbase.biomeID == BOPConfiguration.originValleyID) { if(gravelbeach) { diff --git a/src/minecraft/tdwp_ftw/biomesop/worldtype/WTBiomesOP.java b/src/minecraft/tdwp_ftw/biomesop/worldtype/WTBiomesOP.java index b8f7b42c0..09ddc161e 100644 --- a/src/minecraft/tdwp_ftw/biomesop/worldtype/WTBiomesOP.java +++ b/src/minecraft/tdwp_ftw/biomesop/worldtype/WTBiomesOP.java @@ -3,6 +3,7 @@ package tdwp_ftw.biomesop.worldtype; import net.minecraft.world.biome.BiomeGenBase; import tdwp_ftw.biomesop.mod_BiomesOPlenty; import tdwp_ftw.biomesop.declarations.BOPBiomes; +import tdwp_ftw.biomesop.declarations.BOPConfiguration; public class WTBiomesOP extends WorldTypeBase { @@ -17,299 +18,299 @@ public class WTBiomesOP extends WorldTypeBase this.removeBiome(BiomeGenBase.swampland); this.removeBiome(BiomeGenBase.jungle); - if (mod_BiomesOPlenty.alpsGen == true) + if (BOPConfiguration.alpsGen == true) { this.addNewBiome(BOPBiomes.alps); } - if (mod_BiomesOPlenty.arcticGen == true) + if (BOPConfiguration.arcticGen == true) { this.addNewBiome(BOPBiomes.arctic); } - if (mod_BiomesOPlenty.badlandsGen == true) + if (BOPConfiguration.badlandsGen == true) { this.addNewBiome(BOPBiomes.badlands); } - if (mod_BiomesOPlenty.bambooForestGen == true) + if (BOPConfiguration.bambooForestGen == true) { this.addNewBiome(BOPBiomes.bambooForest); } - if (mod_BiomesOPlenty.bayouGen == true) + if (BOPConfiguration.bayouGen == true) { this.addNewBiome(BOPBiomes.bayou); } - if (mod_BiomesOPlenty.birchForestGen == true) + if (BOPConfiguration.birchForestGen == true) { this.addNewBiome(BOPBiomes.birchForest); } - if (mod_BiomesOPlenty.bogGen == true) + if (BOPConfiguration.bogGen == true) { this.addNewBiome(BOPBiomes.bog); } - if (mod_BiomesOPlenty.borealForestGen == true) + if (BOPConfiguration.borealForestGen == true) { this.addNewBiome(BOPBiomes.borealForest); } - if (mod_BiomesOPlenty.canyonGen == true) + if (BOPConfiguration.canyonGen == true) { this.addNewBiome(BOPBiomes.canyon); } - if (mod_BiomesOPlenty.chaparralGen == true) + if (BOPConfiguration.chaparralGen == true) { this.addNewBiome(BOPBiomes.chaparral); } - if (mod_BiomesOPlenty.cherryBlossomGroveGen == true) + if (BOPConfiguration.cherryBlossomGroveGen == true) { this.addNewBiome(BOPBiomes.cherryBlossomGrove); } - if (mod_BiomesOPlenty.coniferousForestGen == true) + if (BOPConfiguration.coniferousForestGen == true) { this.addNewBiome(BOPBiomes.coniferousForest); } - if (mod_BiomesOPlenty.cragGen == true) + if (BOPConfiguration.cragGen == true) { this.addNewBiome(BOPBiomes.crag); } - if (mod_BiomesOPlenty.deadForestGen == true) + if (BOPConfiguration.deadForestGen == true) { this.addNewBiome(BOPBiomes.deadForest); } - if (mod_BiomesOPlenty.deadSwampGen == true) + if (BOPConfiguration.deadSwampGen == true) { this.addNewBiome(BOPBiomes.deadSwamp); } - if (mod_BiomesOPlenty.deadlandsGen == true) + if (BOPConfiguration.deadlandsGen == true) { this.addNewBiome(BOPBiomes.deadlands); } - if (mod_BiomesOPlenty.deciduousForestGen == true) + if (BOPConfiguration.deciduousForestGen == true) { this.addNewBiome(BOPBiomes.deciduousForest); } - if (mod_BiomesOPlenty.drylandsGen == true) + if (BOPConfiguration.drylandsGen == true) { this.addNewBiome(BOPBiomes.drylands); } - if (mod_BiomesOPlenty.dunesGen == true) + if (BOPConfiguration.dunesGen == true) { this.addNewBiome(BOPBiomes.dunes); } - if (mod_BiomesOPlenty.fenGen == true) + if (BOPConfiguration.fenGen == true) { this.addNewBiome(BOPBiomes.fen); } - if (mod_BiomesOPlenty.fieldGen == true) + if (BOPConfiguration.fieldGen == true) { this.addNewBiome(BOPBiomes.field); } - if (mod_BiomesOPlenty.frostForestGen == true) + if (BOPConfiguration.frostForestGen == true) { this.addNewBiome(BOPBiomes.frostForest); } - if (mod_BiomesOPlenty.fungiForestGen == true) + if (BOPConfiguration.fungiForestGen == true) { this.addNewBiome(BOPBiomes.fungiForest); } - if (mod_BiomesOPlenty.gardenGen == true) + if (BOPConfiguration.gardenGen == true) { this.addNewBiome(BOPBiomes.garden); } - if (mod_BiomesOPlenty.glacierGen == true) + if (BOPConfiguration.glacierGen == true) { this.addNewBiome(BOPBiomes.glacier); } - if (mod_BiomesOPlenty.grasslandGen == true) + if (BOPConfiguration.grasslandGen == true) { this.addNewBiome(BOPBiomes.grassland); } - if (mod_BiomesOPlenty.groveGen == true) + if (BOPConfiguration.groveGen == true) { this.addNewBiome(BOPBiomes.grove); } - if (mod_BiomesOPlenty.heathlandGen == true) + if (BOPConfiguration.heathlandGen == true) { this.addNewBiome(BOPBiomes.heathland); } - if (mod_BiomesOPlenty.highlandGen == true) + if (BOPConfiguration.highlandGen == true) { this.addNewBiome(BOPBiomes.highland); } - if (mod_BiomesOPlenty.iceSheetGen == true) + if (BOPConfiguration.iceSheetGen == true) { this.addNewBiome(BOPBiomes.iceSheet); } - if (mod_BiomesOPlenty.icyHillsGen == true) + if (BOPConfiguration.icyHillsGen == true) { this.addNewBiome(BOPBiomes.icyHills); } - if (mod_BiomesOPlenty.jadeCliffsGen == true) + if (BOPConfiguration.jadeCliffsGen == true) { this.addNewBiome(BOPBiomes.jadeCliffs); } - if (mod_BiomesOPlenty.lushDesertGen == true) + if (BOPConfiguration.lushDesertGen == true) { this.addNewBiome(BOPBiomes.lushDesert); } - if (mod_BiomesOPlenty.lushSwampGen == true) + if (BOPConfiguration.lushSwampGen == true) { this.addNewBiome(BOPBiomes.lushSwamp); } - if (mod_BiomesOPlenty.mangroveGen == true) + if (BOPConfiguration.mangroveGen == true) { this.addNewBiome(BOPBiomes.mangrove); } - if (mod_BiomesOPlenty.mapleWoodsGen == true) + if (BOPConfiguration.mapleWoodsGen == true) { this.addNewBiome(BOPBiomes.mapleWoods); } - if (mod_BiomesOPlenty.marshGen == true) + if (BOPConfiguration.marshGen == true) { this.addNewBiome(BOPBiomes.marsh); } - if (mod_BiomesOPlenty.meadowGen == true) + if (BOPConfiguration.meadowGen == true) { this.addNewBiome(BOPBiomes.meadow); } - if (mod_BiomesOPlenty.mesaGen == true) + if (BOPConfiguration.mesaGen == true) { this.addNewBiome(BOPBiomes.mesa); } - if (mod_BiomesOPlenty.moorGen == true) + if (BOPConfiguration.moorGen == true) { this.addNewBiome(BOPBiomes.moor); } - if (mod_BiomesOPlenty.mountainGen == true) + if (BOPConfiguration.mountainGen == true) { this.addNewBiome(BOPBiomes.mountain); } - if (mod_BiomesOPlenty.mushroomIslandGen == true) + if (BOPConfiguration.mushroomIslandGen == true) { this.addNewBiome(BiomeGenBase.mushroomIsland); } - if (mod_BiomesOPlenty.mysticGroveGen == true) + if (BOPConfiguration.mysticGroveGen == true) { this.addNewBiome(BOPBiomes.mysticGrove); } - if (mod_BiomesOPlenty.oasisGen == true) + if (BOPConfiguration.oasisGen == true) { this.addNewBiome(BOPBiomes.oasis); } - if (mod_BiomesOPlenty.ominousWoodsGen == true) + if (BOPConfiguration.ominousWoodsGen == true) { this.addNewBiome(BOPBiomes.ominousWoods); } - if (mod_BiomesOPlenty.orchardGen == true) + if (BOPConfiguration.orchardGen == true) { this.addNewBiome(BOPBiomes.orchard); } - if (mod_BiomesOPlenty.originValleyGen == true) + if (BOPConfiguration.originValleyGen == true) { this.addNewBiome(BOPBiomes.originValley); } - if (mod_BiomesOPlenty.outbackGen == true) + if (BOPConfiguration.outbackGen == true) { this.addNewBiome(BOPBiomes.outback); } - if (mod_BiomesOPlenty.pastureGen == true) + if (BOPConfiguration.pastureGen == true) { this.addNewBiome(BOPBiomes.pasture); } - if (mod_BiomesOPlenty.prairieGen == true) + if (BOPConfiguration.prairieGen == true) { this.addNewBiome(BOPBiomes.prairie); } - if (mod_BiomesOPlenty.quagmireGen == true) + if (BOPConfiguration.quagmireGen == true) { this.addNewBiome(BOPBiomes.quagmire); } - if (mod_BiomesOPlenty.rainforestGen == true) + if (BOPConfiguration.rainforestGen == true) { this.addNewBiome(BOPBiomes.rainforest); } - if (mod_BiomesOPlenty.redwoodForestGen == true) + if (BOPConfiguration.redwoodForestGen == true) { this.addNewBiome(BOPBiomes.redwoodForest); } - if (mod_BiomesOPlenty.sacredSpringsGen == true) + if (BOPConfiguration.sacredSpringsGen == true) { this.addNewBiome(BOPBiomes.sacredSprings); } - if (mod_BiomesOPlenty.savannaGen == true) + if (BOPConfiguration.savannaGen == true) { this.addNewBiome(BOPBiomes.savanna); } - if (mod_BiomesOPlenty.scrublandGen == true) + if (BOPConfiguration.scrublandGen == true) { this.addNewBiome(BOPBiomes.scrubland); } - if (mod_BiomesOPlenty.seasonalForestGen == true) + if (BOPConfiguration.seasonalForestGen == true) { this.addNewBiome(BOPBiomes.seasonalForest); } - if (mod_BiomesOPlenty.shieldGen == true) + if (BOPConfiguration.shieldGen == true) { this.addNewBiome(BOPBiomes.shield); } - if (mod_BiomesOPlenty.shrublandGen == true) + if (BOPConfiguration.shrublandGen == true) { this.addNewBiome(BOPBiomes.shrubland); } - if (mod_BiomesOPlenty.snowyWoodsGen == true) + if (BOPConfiguration.snowyWoodsGen == true) { this.addNewBiome(BOPBiomes.snowyWoods); } - if (mod_BiomesOPlenty.spruceWoodsGen == true) + if (BOPConfiguration.spruceWoodsGen == true) { this.addNewBiome(BOPBiomes.spruceWoods); } - if (mod_BiomesOPlenty.steppeGen == true) + if (BOPConfiguration.steppeGen == true) { this.addNewBiome(BOPBiomes.steppe); } - if (mod_BiomesOPlenty.swampwoodsGen == true) + if (BOPConfiguration.swampwoodsGen == true) { this.addNewBiome(BOPBiomes.swampwoods); } - if (mod_BiomesOPlenty.temperateRainforestGen == true) + if (BOPConfiguration.temperateRainforestGen == true) { this.addNewBiome(BOPBiomes.temperateRainforest); } - if (mod_BiomesOPlenty.thicketGen == true) + if (BOPConfiguration.thicketGen == true) { this.addNewBiome(BOPBiomes.thicket); } - if (mod_BiomesOPlenty.tropicalRainforestGen == true) + if (BOPConfiguration.tropicalRainforestGen == true) { this.addNewBiome(BOPBiomes.tropicalRainforest); } - if (mod_BiomesOPlenty.tropicsGen == true) + if (BOPConfiguration.tropicsGen == true) { this.addNewBiome(BOPBiomes.tropics); } - if (mod_BiomesOPlenty.tundraGen == true) + if (BOPConfiguration.tundraGen == true) { this.addNewBiome(BOPBiomes.tundra); } - if (mod_BiomesOPlenty.volcanoGen == true) + if (BOPConfiguration.volcanoGen == true) { this.addNewBiome(BOPBiomes.volcano); } - if (mod_BiomesOPlenty.wastelandGen == true) + if (BOPConfiguration.wastelandGen == true) { this.addNewBiome(BOPBiomes.wasteland); } - if (mod_BiomesOPlenty.wetlandGen == true) + if (BOPConfiguration.wetlandGen == true) { this.addNewBiome(BOPBiomes.wetland); } - if (mod_BiomesOPlenty.woodlandGen == true) + if (BOPConfiguration.woodlandGen == true) { this.addNewBiome(BOPBiomes.woodland); } - if (mod_BiomesOPlenty.plainsGen == true) + if (BOPConfiguration.plainsGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.plainsNew); } @@ -318,9 +319,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.plains); } } - if (mod_BiomesOPlenty.desertGen == true) + if (BOPConfiguration.desertGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.desertNew); } @@ -329,9 +330,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.desert); } } - if (mod_BiomesOPlenty.extremeHillsGen == true) + if (BOPConfiguration.extremeHillsGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.extremeHillsNew); } @@ -340,9 +341,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.extremeHills); } } - if (mod_BiomesOPlenty.forestGen == true) + if (BOPConfiguration.forestGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.forestNew); } @@ -351,9 +352,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.forest); } } - if (mod_BiomesOPlenty.taigaGen == true) + if (BOPConfiguration.taigaGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.taigaNew); } @@ -362,9 +363,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.taiga); } } - if (mod_BiomesOPlenty.swamplandGen == true) + if (BOPConfiguration.swamplandGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.swamplandNew); } @@ -373,9 +374,9 @@ public class WTBiomesOP extends WorldTypeBase this.addNewBiome(BiomeGenBase.swampland); } } - if (mod_BiomesOPlenty.jungleGen == true) + if (BOPConfiguration.jungleGen == true) { - if (mod_BiomesOPlenty.vanillaEnhanced == true) + if (BOPConfiguration.vanillaEnhanced == true) { this.addNewBiome(BOPBiomes.jungleNew); }