You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/BreakSettings.kt
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ class BreakSettings(
41
41
42
42
// General
43
43
overrideval breakMode by c.setting("Break Mode", BreakMode.Packet, visibility = vis).group(baseGroup, Group.General)
44
-
overrideval sorter by c.setting("Sorter", SortMode.Closest, "The order in which breaks are performed", visibility = vis).group(baseGroup, Group.General)
44
+
overrideval sorter by c.setting("Sorter", SortMode.Tool, "The order in which breaks are performed", visibility = vis).group(baseGroup, Group.General)
45
45
overrideval rebreak by c.setting("Rebreak", true, "Re-breaks blocks after they've been broken once", visibility = vis).group(baseGroup, Group.General)
46
46
47
47
// Double break
@@ -80,16 +80,16 @@ class BreakSettings(
80
80
overrideval ignoredBlocks by c.setting("Ignored Blocks", allSigns, description ="Blocks that wont be broken", visibility = vis).group(baseGroup, Group.General)
81
81
82
82
// Tool
83
-
overrideval suitableToolsOnly by c.setting("Suitable Tools Only", true, "Only use tools suitable for the given block (will get the item drop)", visibility =vis).group(baseGroup, Group.General)
84
-
overrideval forceSilkTouch by c.setting("Force Silk Touch", false, "Force silk touch when breaking blocks", visibility =vis).group(baseGroup, Group.General)
85
-
overrideval forceFortunePickaxe by c.setting("Force Fortune Pickaxe", false, "Force fortune pickaxe when breaking blocks", visibility =vis).group(baseGroup, Group.General)
86
-
overrideval minFortuneLevel by c.setting("Min Fortune Level", 1, 1..3, 1, "The minimum fortune level to use") { vis() && forceFortunePickaxe }.group(baseGroup, Group.General)
87
-
overrideval useWoodenTools by c.setting("Use Wooden Tools", true, "Use wooden tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
88
-
overrideval useStoneTools by c.setting("Use Stone Tools", true, "Use stone tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
89
-
overrideval useIronTools by c.setting("Use Iron Tools", true, "Use iron tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
90
-
overrideval useDiamondTools by c.setting("Use Diamond Tools", true, "Use diamond tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
91
-
overrideval useGoldTools by c.setting("Use Gold Tools", true, "Use gold tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
92
-
overrideval useNetheriteTools by c.setting("Use Netherite Tools", true, "Use netherite tools when breaking blocks", visibility =vis).group(baseGroup, Group.General)
83
+
overrideval suitableToolsOnly by c.setting("Suitable Tools Only", true, "Only use tools suitable for the given block (will get the item drop)") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
84
+
overrideval forceSilkTouch by c.setting("Force Silk Touch", false, "Force silk touch when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
85
+
overrideval forceFortunePickaxe by c.setting("Force Fortune Pickaxe", false, "Force fortune pickaxe when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
86
+
overrideval minFortuneLevel by c.setting("Min Fortune Level", 1, 1..3, 1, "The minimum fortune level to use") { vis() &&swapMode.isEnabled() &&forceFortunePickaxe }.group(baseGroup, Group.General)
87
+
overrideval useWoodenTools by c.setting("Use Wooden Tools", true, "Use wooden tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
88
+
overrideval useStoneTools by c.setting("Use Stone Tools", true, "Use stone tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
89
+
overrideval useIronTools by c.setting("Use Iron Tools", true, "Use iron tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
90
+
overrideval useDiamondTools by c.setting("Use Diamond Tools", true, "Use diamond tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
91
+
overrideval useGoldTools by c.setting("Use Gold Tools", true, "Use gold tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
92
+
overrideval useNetheriteTools by c.setting("Use Netherite Tools", true, "Use netherite tools when breaking blocks") { vis() && swapMode.isEnabled() }.group(baseGroup, Group.General)
93
93
94
94
// Cosmetics
95
95
overrideval sounds by c.setting("Break Sounds", true, "Plays the breaking sounds", visibility = vis).group(baseGroup, Group.Cosmetic)
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/BuildSettings.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ class BuildSettings(
39
39
overrideval collectDrops by c.setting("Collect All Drops", false, "Collect all drops when breaking blocks", vis).group(*baseGroup, Group.General)
40
40
overrideval interactionsPerTick by c.setting("Interactions Per Tick", 5, 1..30, 1, "The amount of interactions that can happen per tick", visibility = vis).group(*baseGroup, Group.General)
41
41
overrideval maxPendingInteractions by c.setting("Max Pending Interactions", 15, 1..30, 1, "The maximum count of pending interactions to allow before pausing future interactions", visibility = vis).group(*baseGroup, Group.General)
42
-
overrideval interactionTimeout by c.setting("Interaction Timeout", 10, 1..30, 1, "Timeout for block breaks in ticks", unit =" ticks", visibility = vis).group(Group.General)
42
+
overrideval interactionTimeout by c.setting("Interaction Timeout", 10, 1..30, 1, "Timeout for block breaks in ticks", unit =" ticks", visibility = vis).group(*baseGroup, Group.General)
43
43
44
44
overrideval useDefaultReach by c.setting("Default Reach", true, "Whether to use vanilla interaction ranges", vis).group(*baseGroup, Group.Reach)
overrideval keepTicks by c.setting("Keep Ticks", 3, 0..20, 1, "The number of ticks to keep the current hotbar selection active", " ticks", visibility = vis).group(baseGroup)
30
+
overrideval keepTicks by c.setting("Keep Ticks", 1, 0..20, 1, "The number of ticks to keep the current hotbar selection active", " ticks", visibility = vis).group(baseGroup)
31
31
overrideval swapDelay by c.setting("Swap Delay", 0, 0..3, 1, "The number of ticks delay before allowing another hotbar selection swap", " ticks", visibility = vis).group(baseGroup)
32
32
overrideval swapsPerTick by c.setting("Swaps Per Tick", 3, 1..10, 1, "The number of hotbar selection swaps that can take place each tick") { swapDelay <=0&& vis() }.group(baseGroup)
33
33
overrideval swapPause by c.setting("Swap Pause", 0, 0..20, 1, "The delay in ticks to pause actions after switching to the slot", " ticks", visibility = vis).group(baseGroup)
0 commit comments