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
overrideval sorter by c.setting("Sorter", SortMode.Closest, "The order in which breaks are performed") { vis() && page ==Page.General }
40
-
overrideval reBreak by c.setting("ReBreak", true, "Re-breaks blocks after they've been broken once") { vis() && page ==Page.General }
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)
45
+
overrideval reBreak by c.setting("ReBreak", true, "Re-breaks blocks after they've been broken once", visibility =vis).group(baseGroup, Group.General)
41
46
42
47
// Double break
43
-
overrideval doubleBreak by c.setting("Double Break", true, "Allows breaking two blocks at once") { vis() && page ==Page.General }
44
-
overrideval unsafeCancels by c.setting("Unsafe Cancels", true, "Allows cancelling block breaking even if the server might continue breaking sever side, potentially causing unexpected state changes") { vis() && page ==Page.General }
48
+
overrideval doubleBreak by c.setting("Double Break", true, "Allows breaking two blocks at once", visibility =vis).group(baseGroup, Group.General)
49
+
overrideval unsafeCancels by c.setting("Unsafe Cancels", true, "Allows cancelling block breaking even if the server might continue breaking sever side, potentially causing unexpected state changes", visibility =vis).group(baseGroup, Group.General)
45
50
46
51
// Fixes / Delays
47
-
overrideval breakThreshold by c.setting("Break Threshold", 0.70f, 0.1f..1.0f, 0.01f, "The break amount at which the block is considered broken") { vis() && page ==Page.General }
48
-
overrideval fudgeFactor by c.setting("Fudge Factor", 2, 0..5, 1, "The amount of ticks to give double, aka secondary breaks extra for the server to recognise the break") { vis() && page ==Page.General }
52
+
overrideval breakThreshold by c.setting("Break Threshold", 0.70f, 0.1f..1.0f, 0.01f, "The break amount at which the block is considered broken", visibility =vis).group(baseGroup, Group.General)
53
+
overrideval fudgeFactor by c.setting("Fudge Factor", 2, 0..5, 1, "The amount of ticks to give double, aka secondary breaks extra for the server to recognise the break", visibility =vis).group(baseGroup, Group.General)
49
54
// override val desyncFix by c.setting("Desync Fix", false, "Predicts if the players breaking will be slowed next tick as block break packets are processed using the players next position") { vis() && page == Page.General }
50
-
overrideval breakDelay by c.setting("Break Delay", 0, 0..6, 1, "The delay between breaking blocks", " ticks") { vis() && page ==Page.General }
55
+
overrideval breakDelay by c.setting("Break Delay", 0, 0..6, 1, "The delay between breaking blocks", " ticks", visibility =vis).group(baseGroup, Group.General)
51
56
52
57
// Timing
53
-
overrideval breakStageMask by c.setting("Break Stage Mask", setOf(TickEvent.Input.Post, TickEvent.Player.Post), description ="The sub-tick timing at which break actions can be performed") { vis() && page ==Page.General }
58
+
overrideval breakStageMask by c.setting("Break Stage Mask", setOf(TickEvent.Input.Post, TickEvent.Player.Post), description ="The sub-tick timing at which break actions can be performed", visibility =vis).group(baseGroup, Group.General)
54
59
55
60
// Swap
56
-
overrideval swapMode by c.setting("Swap Mode", BreakConfig.SwapMode.End, "Decides when to swap to the best suited tool when breaking a block") { vis() && page ==Page.General }
61
+
overrideval swapMode by c.setting("Swap Mode", BreakConfig.SwapMode.End, "Decides when to swap to the best suited tool when breaking a block", visibility =vis).group(baseGroup, Group.General)
57
62
58
63
// Swing
59
-
overrideval swing by c.setting("Swing Mode", SwingMode.Constant, "The times at which to swing the players hand") { vis() && page ==Page.General }
60
-
overrideval swingType by c.setting("Break Swing Type", BuildConfig.SwingType.Vanilla, "The style of swing") { vis() &&page ==Page.General&&swing !=SwingMode.None }
64
+
overrideval swing by c.setting("Swing Mode", SwingMode.Constant, "The times at which to swing the players hand", visibility =vis).group(baseGroup, Group.General)
65
+
overrideval swingType by c.setting("Break Swing Type", BuildConfig.SwingType.Vanilla, "The style of swing") { vis() && swing !=SwingMode.None }.group(baseGroup, Group.General)
61
66
62
67
// Rotate
63
-
overrideval rotateForBreak by c.setting("Rotate For Break", false, "Rotate towards block while breaking") { vis() && page ==Page.General }
68
+
overrideval rotateForBreak by c.setting("Rotate For Break", false, "Rotate towards block while breaking", visibility =vis).group(baseGroup, Group.General)
64
69
65
70
// Pending / Post
66
-
overrideval breakConfirmation by c.setting("Break Confirmation", BreakConfirmationMode.BreakThenAwait, "The style of confirmation used when breaking") { vis() && page ==Page.General }
67
-
overrideval breaksPerTick by c.setting("Breaks Per Tick", 5, 1..30, 1, "Maximum instant block breaks per tick") { vis() && page ==Page.General }
68
-
overrideval maxPendingBreaks by c.setting("Max Pending Breaks", 15, 1..30, 1, "The maximum amount of pending breaks") { vis() && page ==Page.General }
71
+
overrideval breakConfirmation by c.setting("Break Confirmation", BreakConfirmationMode.BreakThenAwait, "The style of confirmation used when breaking", visibility =vis).group(baseGroup, Group.General)
72
+
overrideval breaksPerTick by c.setting("Breaks Per Tick", 5, 1..30, 1, "Maximum instant block breaks per tick", visibility =vis).group(baseGroup, Group.General)
73
+
overrideval maxPendingBreaks by c.setting("Max Pending Breaks", 15, 1..30, 1, "The maximum amount of pending breaks", visibility =vis).group(baseGroup, Group.General)
69
74
70
75
// Block
71
-
overrideval avoidLiquids by c.setting("Avoid Liquids", true, "Avoids breaking blocks that would cause liquid to spill") { vis() && page ==Page.General }
72
-
overrideval avoidSupporting by c.setting("Avoid Supporting", true, "Avoids breaking the block supporting the player") { vis() && page ==Page.General }
73
-
overrideval breakWeakBlocks by c.setting("Break Weak Blocks", false, "Break blocks that dont have structural integrity (e.g: grass)") { vis() && page ==Page.General }
74
-
overrideval ignoredBlocks by c.setting("Ignored Blocks", allSigns, description ="Blocks that wont be broken") { vis() && page ==Page.General }
76
+
overrideval avoidLiquids by c.setting("Avoid Liquids", true, "Avoids breaking blocks that would cause liquid to spill", visibility =vis).group(baseGroup, Group.General)
77
+
overrideval avoidSupporting by c.setting("Avoid Supporting", true, "Avoids breaking the block supporting the player", visibility =vis).group(baseGroup, Group.General)
78
+
overrideval breakWeakBlocks by c.setting("Break Weak Blocks", false, "Break blocks that dont have structural integrity (e.g: grass)", visibility =vis).group(baseGroup, Group.General)
79
+
overrideval ignoredBlocks by c.setting("Ignored Blocks", allSigns, description ="Blocks that wont be broken", visibility =vis).group(baseGroup, Group.General)
75
80
76
81
// Tool
77
-
overrideval suitableToolsOnly by c.setting("Suitable Tools Only", false, "Places a restriction to only use tools suitable for the given block") { vis() && page ==Page.General }
78
-
overrideval forceSilkTouch by c.setting("Force Silk Touch", false, "Force silk touch when breaking blocks") { vis() && page ==Page.General }
79
-
overrideval forceFortunePickaxe by c.setting("Force Fortune Pickaxe", false, "Force fortune pickaxe when breaking blocks") { vis() && page ==Page.General }
80
-
overrideval minFortuneLevel by c.setting("Min Fortune Level", 1, 1..3, 1, "The minimum fortune level to use") { vis() &&page ==Page.General&& forceFortunePickaxe }
82
+
overrideval suitableToolsOnly by c.setting("Suitable Tools Only", false, "Places a restriction to only use tools suitable for the given block", visibility =vis).group(baseGroup, Group.General)
83
+
overrideval forceSilkTouch by c.setting("Force Silk Touch", false, "Force silk touch when breaking blocks", visibility =vis).group(baseGroup, Group.General)
84
+
overrideval forceFortunePickaxe by c.setting("Force Fortune Pickaxe", false, "Force fortune pickaxe when breaking blocks", visibility =vis).group(baseGroup, Group.General)
85
+
overrideval minFortuneLevel by c.setting("Min Fortune Level", 1, 1..3, 1, "The minimum fortune level to use") { vis() &&forceFortunePickaxe }.group(baseGroup, Group.General)
81
86
82
87
// Cosmetics
83
-
overrideval sounds by c.setting("Break Sounds", true, "Plays the breaking sounds") { vis() && page ==Page.Cosmetic }
84
-
overrideval particles by c.setting("Particles", true, "Renders the breaking particles") { vis() && page ==Page.Cosmetic }
85
-
overrideval breakingTexture by c.setting("Breaking Overlay", true, "Overlays the breaking texture at its different stages") { vis() && page ==Page.Cosmetic }
88
+
overrideval sounds by c.setting("Break Sounds", true, "Plays the breaking sounds", visibility =vis).group(baseGroup, Group.Cosmetic)
89
+
overrideval particles by c.setting("Particles", true, "Renders the breaking particles", visibility =vis).group(baseGroup, Group.Cosmetic)
90
+
overrideval breakingTexture by c.setting("Breaking Overlay", true, "Overlays the breaking texture at its different stages", visibility =vis).group(baseGroup, Group.Cosmetic)
86
91
// Modes
87
-
overrideval renders by c.setting("Renders", true, "Enables the render settings for breaking progress") { vis() && page ==Page.Cosmetic }
88
-
overrideval animation by c.setting("Animation", AnimationMode.Out, "The style of animation used for the box") { vis() &&page ==Page.Cosmetic&& renders }
92
+
overrideval renders by c.setting("Renders", true, "Enables the render settings for breaking progress", visibility =vis).group(baseGroup, Group.Cosmetic)
93
+
overrideval animation by c.setting("Animation", AnimationMode.Out, "The style of animation used for the box") { vis() &&renders }.group(baseGroup, Group.Cosmetic)
89
94
// Fill
90
-
overrideval fill by c.setting("Fill", true, "Renders the sides of the box to display break progress") { vis() &&page ==Page.Cosmetic&& renders }
91
-
overrideval dynamicFillColor by c.setting("Dynamic Colour", true, "Enables fill color interpolation from start to finish for fill when breaking a block") { vis() &&page ==Page.Cosmetic&&renders && fill }
92
-
overrideval staticFillColor by c.setting("Fill Color", Color(255, 0, 0, 60).brighter(), "The color of the fill") { vis() &&page ==Page.Cosmetic&&renders &&!dynamicFillColor && fill }
93
-
overrideval startFillColor by c.setting("Start Fill Color", Color(255, 0, 0, 60).brighter(), "The color of the fill at the start of breaking") { vis() && page ==Page.Cosmetic&& renders && dynamicFillColor && fill }
94
-
overrideval endFillColor by c.setting("End Fill Color", Color(0, 255, 0, 60).brighter(), "The color of the fill at the end of breaking") { vis() &&page ==Page.Cosmetic&&renders && dynamicFillColor && fill }
95
+
overrideval fill by c.setting("Fill", true, "Renders the sides of the box to display break progress") { vis() &&renders }.group(baseGroup, Group.Cosmetic)
96
+
overrideval dynamicFillColor by c.setting("Dynamic Colour", true, "Enables fill color interpolation from start to finish for fill when breaking a block") { vis() && renders && fill }.group(baseGroup, Group.Cosmetic)
97
+
overrideval staticFillColor by c.setting("Fill Color", Color(255, 0, 0, 60).brighter(), "The color of the fill") { vis() && renders &&!dynamicFillColor && fill }.group(baseGroup, Group.Cosmetic)
98
+
overrideval startFillColor by c.setting("Start Fill Color", Color(255, 0, 0, 60).brighter(), "The color of the fill at the start of breaking") { vis() && renders && dynamicFillColor && fill }.group(baseGroup, Group.Cosmetic)
99
+
overrideval endFillColor by c.setting("End Fill Color", Color(0, 255, 0, 60).brighter(), "The color of the fill at the end of breaking") { vis() && renders && dynamicFillColor && fill }.group(baseGroup, Group.Cosmetic)
95
100
// Outline
96
-
overrideval outline by c.setting("Outline", true, "Renders the lines of the box to display break progress") { vis() && page ==Page.Cosmetic&& renders }
97
-
overrideval outlineWidth by c.setting("Outline Width", 2, 0..5, 1, "The width of the outline") { vis() && page ==Page.Cosmetic&& renders && outline }
98
-
overrideval dynamicOutlineColor by c.setting("Dynamic Outline Color", true, "Enables color interpolation from start to finish for the outline when breaking a block") { vis() && page ==Page.Cosmetic&& renders && outline }
99
-
overrideval staticOutlineColor by c.setting("Outline Color", Color.RED.brighter(), "The Color of the outline at the start of breaking") { vis() && page ==Page.Cosmetic&& renders &&!dynamicOutlineColor && outline }
100
-
overrideval startOutlineColor by c.setting("Start Outline Color", Color.RED.brighter(), "The color of the outline at the start of breaking") { vis() && page ==Page.Cosmetic&& renders && dynamicOutlineColor && outline }
101
-
overrideval endOutlineColor by c.setting("End Outline Color", Color.GREEN.brighter(), "The color of the outline at the end of breaking") { vis() && page ==Page.Cosmetic&& renders && dynamicOutlineColor && outline }
102
-
103
-
enumclassPage {
104
-
General,
105
-
Cosmetic
106
-
}
101
+
overrideval outline by c.setting("Outline", true, "Renders the lines of the box to display break progress") { vis() && renders }.group(baseGroup, Group.Cosmetic)
102
+
overrideval outlineWidth by c.setting("Outline Width", 2, 0..5, 1, "The width of the outline") { vis() && renders && outline }.group(baseGroup, Group.Cosmetic)
103
+
overrideval dynamicOutlineColor by c.setting("Dynamic Outline Color", true, "Enables color interpolation from start to finish for the outline when breaking a block") { vis() && renders && outline }.group(baseGroup, Group.Cosmetic)
104
+
overrideval staticOutlineColor by c.setting("Outline Color", Color.RED.brighter(), "The Color of the outline at the start of breaking") { vis() && renders &&!dynamicOutlineColor && outline }.group(baseGroup, Group.Cosmetic)
105
+
overrideval startOutlineColor by c.setting("Start Outline Color", Color.RED.brighter(), "The color of the outline at the start of breaking") { vis() && renders && dynamicOutlineColor && outline }.group(baseGroup, Group.Cosmetic)
106
+
overrideval endOutlineColor by c.setting("End Outline Color", Color.GREEN.brighter(), "The color of the outline at the end of breaking") { vis() && renders && dynamicOutlineColor && outline }.group(baseGroup, Group.Cosmetic)
0 commit comments