From 5084ac4084013e31573b3a5edb6fbab78c62f535 Mon Sep 17 00:00:00 2001 From: OakBricks Date: Tue, 27 Jul 2021 16:40:55 -0500 Subject: [PATCH] fix inaccurate config comments for lead ore generation and add option to enable nether ores, use .defineInRange instead of .define --- src/main/java/org/oakbricks/oakores/config/OakOresConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/oakbricks/oakores/config/OakOresConfig.java b/src/main/java/org/oakbricks/oakores/config/OakOresConfig.java index baf54c7..173e62c 100644 --- a/src/main/java/org/oakbricks/oakores/config/OakOresConfig.java +++ b/src/main/java/org/oakbricks/oakores/config/OakOresConfig.java @@ -30,7 +30,7 @@ public final class OakOresConfig { BUILDER.push("Config for OakOres - Purpi Gen"); - purpiVeinSize = BUILDER.comment("Size of a Purpi Ore vein, default value is 6.").worldRestart().define("Purpi Ore Vein Size", 6); + purpiVeinSize = BUILDER.comment("Size of a Purpi Ore vein, default value is 6.").worldRestart().defineInRange("Purpi Ore Vein Size", 6, 1, 32); purpiMinHeight = BUILDER.comment("Minimum height for Purpi Ore to generate in a world, default value is 5.").worldRestart().define("Purpi Ore Minimum Height", 5); purpiMaxHeight = BUILDER.comment("Maximum height for Purpi Ore to generate in a world, default value is 28.").worldRestart().define("Purpi Ore Maximum Height", 28); purpiAmount = BUILDER.comment("Amount of Purpi Ore in a world, default value is 10").worldRestart().define("Purpi Ore Amount", 10);