diff --git a/src/main/java/techreborn/config/TechRebornConfig.java b/src/main/java/techreborn/config/TechRebornConfig.java index 508963942..5d95eaddc 100644 --- a/src/main/java/techreborn/config/TechRebornConfig.java +++ b/src/main/java/techreborn/config/TechRebornConfig.java @@ -590,51 +590,147 @@ public class TechRebornConfig { @Config(config = "world", category = "ore", key = "enableBauxiteOre", comment = "Generate Bauxite Ore in The Overworld.") public static boolean enableBauxiteOre = true; + @Config(config = "world", category = "ore", key = "bauxiteVeinCount", comment = "Count of Bauxite Ore veins per chunk.") + public static int bauxiteVeinCount = 10; + + @Config(config = "world", category = "ore", key = "bauxiteVeinSize", comment = "Amount of Bauxite Ores per vein.") + public static int bauxiteVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableCopperOre", comment = "Generate Copper Ore in The Overworld.") public static boolean enableCopperOre = true; + @Config(config = "world", category = "ore", key = "copperVeinCount", comment = "Count of Copper Ore veins per chunk.") + public static int copperVeinCount = 16; + + @Config(config = "world", category = "ore", key = "copperVeinSize", comment = "Amount of Copper Ores per vein.") + public static int copperVeinSize = 8; + @Config(config = "world", category = "ore", key = "enableGalenaOre", comment = "Generate Galena Ore in The Overworld.") public static boolean enableGalenaOre = true; + @Config(config = "world", category = "ore", key = "galenaVeinCount", comment = "Count of Galena Ore veins per chunk.") + public static int galenaVeinCount = 16; + + @Config(config = "world", category = "ore", key = "galenaVeinSize", comment = "Amount of Galena Ores per vein.") + public static int galenaVeinSize = 8; + @Config(config = "world", category = "ore", key = "enableIridiumOre", comment = "Generate Iridium Ore in The Overworld.") public static boolean enableIridiumOre = true; + @Config(config = "world", category = "ore", key = "iridiumVeinCount", comment = "Count of Iridium Ore veins per chunk.") + public static int iridiumVeinCount = 3; + + @Config(config = "world", category = "ore", key = "iridiumVeinSize", comment = "Amount of Iridium Ores per vein.") + public static int iridiumVeinSize = 3; + @Config(config = "world", category = "ore", key = "enableLeadOre", comment = "Generate Lead Ore in The Overworld.") public static boolean enableLeadOre = true; + @Config(config = "world", category = "ore", key = "leadVeinCount", comment = "Count of Lead Ore veins per chunk.") + public static int leadVeinCount = 16; + + @Config(config = "world", category = "ore", key = "leadVeinSize", comment = "Amount of Lead Ores per vein.") + public static int leadVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableRubyOre", comment = "Generate Ruby Ore in The Overworld.") public static boolean enableRubyOre = true; + @Config(config = "world", category = "ore", key = "rubyVeinCount", comment = "Count of Ruby Ore veins per chunk.") + public static int rubyVeinCount = 3; + + @Config(config = "world", category = "ore", key = "rubyVeinSize", comment = "Amount of Ruby Ores per vein.") + public static int rubyVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableSapphireOre", comment = "Generate Sapphire Ore in The Overworld.") public static boolean enableSapphireOre = true; + @Config(config = "world", category = "ore", key = "sapphireVeinCount", comment = "Count of Sapphire Ore veins per chunk.") + public static int sapphireVeinCount = 3; + + @Config(config = "world", category = "ore", key = "sapphireVeinSize", comment = "Amount of Sapphire Ores per vein.") + public static int sapphireVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableSilverOre", comment = "Generate Silver Ore in The Overworld.") public static boolean enableSilverOre = true; + @Config(config = "world", category = "ore", key = "silverVeinCount", comment = "Count of Silver Ore veins per chunk.") + public static int silverVeinCount = 16; + + @Config(config = "world", category = "ore", key = "silverVeinSize", comment = "Amount of Silver Ores per vein.") + public static int silverVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableTinOre", comment = "Generate Tin Ore in The Overworld.") public static boolean enableTinOre = true; + @Config(config = "world", category = "ore", key = "tinVeinCount", comment = "Count of Tin Ore veins per chunk.") + public static int tinVeinCount = 16; + + @Config(config = "world", category = "ore", key = "tinVeinSize", comment = "Amount of Tin Ores per vein.") + public static int tinVeinSize = 8; + @Config(config = "world", category = "ore", key = "enableCinnabarOre", comment = "Generate Cinnabar Ore in The Nether.") public static boolean enableCinnabarOre = true; + @Config(config = "world", category = "ore", key = "cinnabarVeinCount", comment = "Count of Cinnabar Ore veins per chunk.") + public static int cinnabarVeinCount = 3; + + @Config(config = "world", category = "ore", key = "cinnabarVeinSize", comment = "Amount of Cinnabar Ores per vein.") + public static int cinnabarVeinSize = 6; + @Config(config = "world", category = "ore", key = "enablePyriteOre", comment = "Generate Pyrite Ore in The Nether.") public static boolean enablePyriteOre = true; + @Config(config = "world", category = "ore", key = "pyriteVeinCount", comment = "Count of Pyrite Ore veins per chunk.") + public static int pyriteVeinCount = 3; + + @Config(config = "world", category = "ore", key = "pyriteVeinSize", comment = "Amount of Pyrite Ores per vein.") + public static int pyriteVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableSphaleriteOre", comment = "Generate Sphalerite Ore in The Nether.") public static boolean enableSphaleriteOre = true; + @Config(config = "world", category = "ore", key = "sphaleriteVeinCount", comment = "Count of Sphalerite Ore veins per chunk.") + public static int sphaleriteVeinCount = 3; + + @Config(config = "world", category = "ore", key = "sphaleriteVeinSize", comment = "Amount of Sphalerite Ores per vein.") + public static int sphaleriteVeinSize = 6; + @Config(config = "world", category = "ore", key = "enablePeridotOre", comment = "Generate Peridot Ore in The End.") public static boolean enablePeridotOre = true; + @Config(config = "world", category = "ore", key = "peridotVeinCount", comment = "Count of Peridot Ore veins per chunk.") + public static int peridotVeinCount = 3; + + @Config(config = "world", category = "ore", key = "peridotVeinSize", comment = "Amount of Peridot Ores per vein.") + public static int peridotVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableSheldoniteOre", comment = "Generate Sheldonite Ore in The End.") public static boolean enableSheldoniteOre = true; + @Config(config = "world", category = "ore", key = "sheldoniteVeinCount", comment = "Count of Sheldonite Ore veins per chunk.") + public static int sheldoniteVeinCount = 3; + + @Config(config = "world", category = "ore", key = "sheldoniteVeinSize", comment = "Amount of Sheldonite Ores per vein.") + public static int sheldoniteVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableSodaliteOre", comment = "Generate Sodalite Ore in The End.") public static boolean enableSodaliteOre = true; + @Config(config = "world", category = "ore", key = "sodaliteVeinCount", comment = "Count of Sodalite Ore veins per chunk.") + public static int sodaliteVeinCount = 3; + + @Config(config = "world", category = "ore", key = "sodaliteVeinSize", comment = "Amount of Sodalite Ores per vein.") + public static int sodaliteVeinSize = 6; + @Config(config = "world", category = "ore", key = "enableTungstenOre", comment = "Generate Tungsten Ore in The End.") public static boolean enableTungstenOre = true; + @Config(config = "world", category = "ore", key = "tungstenVeinCount", comment = "Count of Tungsten Ore veins per chunk.") + public static int tungstenVeinCount = 3; + + @Config(config = "world", category = "ore", key = "tungstenVeinSize", comment = "Amount of Tungsten Ores per vein.") + public static int tungstenVeinSize = 6; + @Config(config = "world", category = "rubber_tree", key = "RubberTreeChance", comment = "Chance to spawn rubber tree") public static float RubberTreeChance = 0.1F; diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index ee035dc56..cb387742d 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -404,22 +404,22 @@ public class TRContent { } public enum Ores implements ItemConvertible { - BAUXITE(6, 10, 10, 60), - CINNABAR(6, 3, 10, 126), - COPPER(8, 16, 20, 60), - GALENA(8, 16, 10, 60), - IRIDIUM(3, 3, 5, 60), - LEAD(6, 16, 20, 60), - PERIDOT(6, 3, 10, 250), - PYRITE(6, 3, 10, 126), - RUBY(6, 3, 10, 60), - SAPPHIRE(6, 3, 10, 60), - SHELDONITE(6, 3, 10, 250), - SILVER(6, 16, 20, 60), - SODALITE(6, 3, 10, 250), - SPHALERITE(6, 3, 10, 126), - TIN(8, 16, 20, 60), - TUNGSTEN(6, 3, 10, 250); + BAUXITE(TechRebornConfig.bauxiteVeinSize, TechRebornConfig.bauxiteVeinCount, 10, 60), + CINNABAR(TechRebornConfig.cinnabarVeinSize, TechRebornConfig.cinnabarVeinCount, 10, 126), + COPPER(TechRebornConfig.copperVeinSize, TechRebornConfig.copperVeinCount, 20, 60), + GALENA(TechRebornConfig.galenaVeinSize, TechRebornConfig.galenaVeinCount, 10, 60), + IRIDIUM(TechRebornConfig.iridiumVeinSize, TechRebornConfig.iridiumVeinCount, 5, 60), + LEAD(TechRebornConfig.leadVeinSize, TechRebornConfig.leadVeinCount, 20, 60), + PERIDOT(TechRebornConfig.peridotVeinSize, TechRebornConfig.peridotVeinCount, 10, 250), + PYRITE(TechRebornConfig.pyriteVeinSize, TechRebornConfig.pyriteVeinCount, 10, 126), + RUBY(TechRebornConfig.rubyVeinSize, TechRebornConfig.rubyVeinCount, 10, 60), + SAPPHIRE(TechRebornConfig.sapphireVeinSize, TechRebornConfig.sapphireVeinCount, 10, 60), + SHELDONITE(TechRebornConfig.sheldoniteVeinSize, TechRebornConfig.sheldoniteVeinCount, 10, 250), + SILVER(TechRebornConfig.silverVeinSize, TechRebornConfig.silverVeinCount, 20, 60), + SODALITE(TechRebornConfig.sodaliteVeinSize, TechRebornConfig.sodaliteVeinCount, 10, 250), + SPHALERITE(TechRebornConfig.sphaleriteVeinSize, TechRebornConfig.sphaleriteVeinCount, 10, 126), + TIN(TechRebornConfig.tinVeinSize, TechRebornConfig.tinVeinCount, 20, 60), + TUNGSTEN(TechRebornConfig.tungstenVeinSize, TechRebornConfig.tungstenVeinCount, 10, 250); public final String name; public final Block block;