From a1be9b628b6006904f14a24abe3ea7d00b2dd1de Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 12 Jul 2023 02:53:31 +0200 Subject: finished defence blocks --- .../skyhanni/config/features/RiftConfig.java | 35 +++++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java index ff1679b0d..393fb28dd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java @@ -447,7 +447,6 @@ public class RiftConfig { public static class LivingCaveConfig { - @Expose @ConfigOption(name = "Living Metal Suit Progress", desc = "") @Accordion @@ -470,9 +469,37 @@ public class RiftConfig { } @Expose - @ConfigOption(name = "Defence Blocks", desc = "Show the defence blocks.") - @ConfigEditorBoolean - public boolean defenceBlocks = true; + @ConfigOption(name = "Living Metal Helper", desc = "") + @Accordion + public DefenceBlockConfig defenceBlockConfig = new DefenceBlockConfig(); + + public static class DefenceBlockConfig { + + @Expose + @ConfigOption(name = "Defence Blocks", desc = "Show a line between the defence blocks and the mob and highlight the blocks.") + @ConfigEditorBoolean + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Color", desc = "Set the color of the lines, blocks and the entity.") + @ConfigEditorColour + public Property color = Property.of("0:255:77:104:255"); + + } + + @Expose + @ConfigOption(name = "Living Metal Helper", desc = "") + @Accordion + public LivingCaveLivingMetalConfig livingCaveLivingMetalConfig = new LivingCaveLivingMetalConfig(); + + public static class LivingCaveLivingMetalConfig { + + @Expose + @ConfigOption(name = "Living Metal", desc = "Show the Living Metal.") + @ConfigEditorBoolean + public boolean enabled = true; + + } } @Expose -- cgit