diff --git a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java index 92615b44..d7d8be44 100644 --- a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java +++ b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java @@ -2283,23 +2283,23 @@ public static class CaveGenCategory @Config.Comment("Sets custom values for the vanilla cave generation") public boolean utCaveGenToggle = false; - @Config.Name("[2] Random Iterations") + @Config.Name("[2] Cave Size") @Config.Comment ({ - "Bound for the random chance to recursively generate rooms and tunnels", + "Size of cave systems", "40 for pre-1.7 generation", "15 for vanilla default" }) - public int utCaveGenIterations = 15; + public int utCaveGenSize = 15; - @Config.Name("[3] Random Iteration Breaks") + @Config.Name("[3] Cave Rarity") @Config.Comment ({ - "Bound for the random chance to stop recursively generate rooms and tunnels", + "Chance for generating cave systems", "15 for pre-1.7 generation", "7 for vanilla default" }) - public int utCaveGenIterationBreaks = 7; + public int utCaveGenRarity = 7; } public static class ChunkGenLimitCategory diff --git a/src/main/java/mod/acgaming/universaltweaks/tweaks/world/cavegen/mixin/UTCaveGenMixin.java b/src/main/java/mod/acgaming/universaltweaks/tweaks/world/cavegen/mixin/UTCaveGenMixin.java index 71dacf1c..3064fa98 100644 --- a/src/main/java/mod/acgaming/universaltweaks/tweaks/world/cavegen/mixin/UTCaveGenMixin.java +++ b/src/main/java/mod/acgaming/universaltweaks/tweaks/world/cavegen/mixin/UTCaveGenMixin.java @@ -12,14 +12,14 @@ public abstract class UTCaveGenMixin { @ModifyArg(method = "recursiveGenerate", at = @At(value = "INVOKE", target = "Ljava/util/Random;nextInt(I)I", ordinal = 2)) - public int utCaveGenIterations(int bound) + public int utCaveGenSize(int bound) { - return UTConfigTweaks.WORLD.CAVE_GEN.utCaveGenIterations; + return UTConfigTweaks.WORLD.CAVE_GEN.utCaveGenSize; } @ModifyArg(method = "recursiveGenerate", at = @At(value = "INVOKE", target = "Ljava/util/Random;nextInt(I)I", ordinal = 3)) - public int utCaveGenIterationBreaks(int bound) + public int utCaveGenRarity(int bound) { - return UTConfigTweaks.WORLD.CAVE_GEN.utCaveGenIterationBreaks; + return UTConfigTweaks.WORLD.CAVE_GEN.utCaveGenRarity; } } \ No newline at end of file