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: common/src/main/kotlin/com/lambda/module/modules/player/PacketMine.kt
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -52,28 +52,28 @@ object PacketMine : Module(
52
52
privateval breakThreshold by setting("Break Threshold", 0.70f, 0.00f..1.00f, 0.01f, "Breaks the selected block once the block breaking progress passes this value, 1 being 100%", visibility = { page ==Page.General})
53
53
privateval breakMode by setting("Break Mode", BreakMode.Total, "Changes the way break amount is added up. Total will choose the best tool and act as if its been using it the whole time while additive will add progress throughout the break", visibility = { page ==Page.General })
54
54
privateval strict by setting("Strict", false, "Resets the breaking progress at various stages to bypass generally stricter anti-cheats", visibility = { page ==Page.General })
55
-
privateval range by setting("Range", 6.0f, 3.0f..6.0f, 0.1f, "The maximum distance between the players eye position and the center of the block", visibility = { page ==Page.General })
55
+
privateval range by setting("Range", 6.0f, 3.0f..6.0f, 0.1f, "The maximum distance between the players eye position and the center of the block", " blocks", visibility = { page ==Page.General })
56
56
privateval doubleBreak by setting("Double Break", false, "This exploit only works on non strict servers or servers that run grim. It breaks two blocks at once", visibility = { page ==Page.General })
57
57
privateval pauseWhileUsingItems by setting("Pause While Using Items", true, "Will prevent breaking while using items like eating or aiming a bow", visibility = { page ==Page.General })
58
58
privateval validateBreak by setting("Validate Break", true, "Breaks blocks client side rather than waiting for a response from the server", visibility = { page ==Page.General })
59
-
privateval timeoutDelay by setting("Timeout Delay", 0.20f, 0.00f..1.00f, 0.1f, "Will wait this amount of time (seconds) after the time to break for the block is complete before moving on", visibility = { page ==Page.General&& validateBreak })
59
+
privateval timeoutDelay by setting("Timeout Delay", 0.20f, 0.00f..1.00f, 0.1f, "Will wait this amount of time (seconds) after the time to break for the block is complete before moving on", " seconds", visibility = { page ==Page.General&& validateBreak })
60
60
privateval swingMode by setting("Swing Mode", ModeOptions.None, "Swings the players hand to simulate vanilla breaking, usually used on stricter anti-cheats", visibility = { page ==Page.General })
61
61
privateval swingOnManual by setting("Manual Swing", true, "Swings when the player attacks a block", visibility = { page ==Page.General })
62
62
privateval rotate by setting("Rotation Mode", ModeOptions.None, "Changes the method used to make the player look at the current mining block", visibility = { page ==Page.General })
63
63
privateval rayCast by setting("Raycast", false, "Checks if the player is directly looking at the block rather than allowing through walls", visibility = { page ==Page.General&& rotate.isEnabled() })
64
-
privateval rotateReleaseDelay by setting("Rotation Release Delay", 2, 0..50, 1, "The number of ticks to wait before releasing the rotation", visibility = { page ==Page.General&& rotate.isEnabled() })
64
+
privateval rotateReleaseDelay by setting("Rotation Release Delay", 1, 0..5, 1, "The number of ticks to wait before releasing the rotation", " ticks", visibility = { page ==Page.General&& rotate.isEnabled() })
65
65
privateval swapMethod by setting("Swap Method", SwapMethod.StandardSilent, "Changes the swap method used. For example, silent swaps once at the beginning, and once at the end without updating client side, and constant swaps for the whole break", visibility = { page ==Page.General})
66
66
privateval swapMode by setting("Swap Mode", SwapMode.StartAndEnd, "The different times to swap to the best tool", visibility = { page ==Page.General&& swapMethod.isEnabled()})
67
67
privateval packets by setting("Packet Mode", PacketMode.Vanilla, "Chooses different packets to send for each mode", visibility = { page ==Page.General })
68
68
69
69
privateval reBreak by setting("Re-Break", ReBreakMode.Standard, "The different modes for re-breaking the current block", visibility = { page ==Page.ReBreak})
70
-
privateval reBreakDelay by setting("Re-Break Delay", 0, 0..10, 1, "The delay (in ticks) between attempting to re-breaking the block", visibility = { page ==Page.ReBreak&& (reBreak.isAutomatic() || reBreak.isFastAutomatic()) })
71
-
privateval emptyReBreakDelay by setting("Empty Re-Break Delay", 0, 0..10, 1, "The delay (in ticks) between attempting to re-break the block if the block is currently empty", visibility = { page ==Page.ReBreak&& reBreak.isFastAutomatic()})
70
+
privateval reBreakDelay by setting("Re-Break Delay", 0, 0..10, 1, "The delay between attempting to re-breaking the block", "ticks", visibility = { page ==Page.ReBreak&& (reBreak.isAutomatic() || reBreak.isFastAutomatic()) })
71
+
privateval emptyReBreakDelay by setting("Empty Re-Break Delay", 0, 0..10, 1, "The delay between attempting to re-break the block if the block is currently empty", " ticks", visibility = { page ==Page.ReBreak&& reBreak.isFastAutomatic()})
72
72
privateval renderIfEmpty by setting("Render If Empty", false, "Draws the renders even if the re-break position is empty in the world", visibility = { page ==Page.ReBreak&& reBreak.isEnabled() })
73
73
74
74
privateval queueBlocks by setting("Queue Blocks", false, "Queues any blocks you click for breaking", visibility = { page ==Page.Queue }).apply { this.onValueSet { _, to ->if (!to) blockQueue.clear() } }
75
75
privateval reverseQueueOrder by setting("Reverse Queue Order", false, "Breaks the latest addition to the queue first", visibility = { page ==Page.Queue&& queueBlocks})
76
-
privateval queueBreakDelay by setting("Break Delay", 0, 0..5, 1, "The delay (in ticks) after breaking a block to break the next queue block", visibility = { page ==Page.Queue&& queueBlocks })
76
+
privateval queueBreakDelay by setting("Break Delay", 0, 0..5, 1, "The delay after breaking a block to break the next queue block", " ticks", visibility = { page ==Page.Queue&& queueBlocks })
77
77
78
78
79
79
privateval breakingAnimation by setting("Breaking Animation", false, "Renders the block breaking animation like vanilla would to show progress", visibility = { page ==Page.BlockRender })
@@ -91,7 +91,7 @@ object PacketMine : Module(
91
91
privateval endOutlineColour by setting("End Outline Colour", Color(0f, 1f, 0f, 0.3f), "The colour used to render the end outline of the box", visibility = { page ==Page.BlockRender&& renderMode.isEnabled() && renderSetting !=RenderSetting.Fill&& outlineColourMode ==ColourMode.Dynamic })
92
92
privateval outlineWidth by setting("Outline Width", 1f, 0f..3f, 0.1f, "the thickness of the outline", visibility = { page ==Page.BlockRender&& renderMode.isEnabled() && renderSetting !=RenderSetting.Fill })
93
93
94
-
privateval renderQueueMode by setting("Render mode", RenderQueueMode.Shape, "The render type for queue blocks", visibility = { page ==Page.QueueRender })
94
+
privateval renderQueueMode by setting("Render mode", RenderQueueMode.Cube, "The render type for queue blocks", visibility = { page ==Page.QueueRender })
95
95
privateval renderQueueSetting by setting("Render Setting", RenderSetting.Both, "The style to render queue blocks", visibility = { page ==Page.QueueRender&& renderQueueMode.isEnabled() })
96
96
privateval renderQueueSize by setting("Render Size", 0.3f, 0f..1f, 0.01f, "The scale of the queue render blocks", visibility = { page ==Page.QueueRender&& renderQueueMode.isEnabled() })
0 commit comments