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
privateval reBreakMode by setting("ReBreak Mode", ReBreakMode.Manual, "The method used to re-break blocks after they've been broken once") { breakConfig.reBreak }
59
+
privateval breakRadius by setting("Break Radius", 0, 0..5, 1, "Selects and breaks all blocks within the break radius of the selected block")
60
+
privateval flatten by setting("Flatten", false, "Wont allow breaking extra blocks under your players position") { breakRadius >0 }
58
61
privateval queue by setting("Queue", false, "Queues blocks to break so you can select multiple at once")
59
62
.onValueChange { _, to ->if (!to) queuePositions.clear() }
60
63
privateval queueOrder by setting("Queue Order", QueueOrder.Standard, "Which end of the queue to break blocks from") { queue }
@@ -91,12 +94,26 @@ object PacketMine : Module(
91
94
listen<PlayerEvent.Attack.Block> { it.cancel() }
92
95
listen<PlayerEvent.Breaking.Update> { event ->
93
96
event.cancel()
94
-
if ((breakPositions + queuePositions).any { it == event.pos }) return@listen
0 commit comments