DAP-1.0v-mc1.21.1.jar
Curse Maven Snippet
What's new
π DAP (DurAndPick) β Changelog (1.0v-dev)
π New Features:
-
Smart Auto-Tool Selection (AutoTool): The mod now automatically analyzes the block you start mining. It scans your entire hotbar (slots 1β9) and instantly switches your main hand to the fastest and most suitable tool for that specific block.
-
Item Protection System (Tool Saver): Added advanced protection to prevent valuable gear from breaking. If a tool's durability in your hand (or in the hotbar during scanning) drops to 5 or lower, the algorithm flags it as "almost broken" and automatically moves it into the main inventory (slots 9β35), saving your diamond and netherite gear from accidental destruction.
βοΈ Technical Changes & Under the Hood:
-
Full Network Synchronization: Slot switching now works seamlessly on both the client and server sides by correctly sending a
ServerboundSetCarriedItemPacket. This completely eliminates ghost-swapping and item rollback bugs. -
Modular Client Mixins: Block mining detection logic is now strictly client-side. Settings are defined via
durandpick.client.mixins.jsonwith"environment": "client", guaranteeing stable performance when connecting to any server. -
Built-in Debug Mode: Added temporary detailed logging with the
[AutoTool]prefix insideAutoToolHandler. It prints block coordinates, IDs, destruction speeds, and selected slots to the console in real-time to monitor the algorithm.
π Bug Fixes:
-
Mojang Mappings Injection Fix: Fixed a critical
ClassNotFoundExceptionthat caused Fabric Loader to completely ignore the mod. The target class in the@Mixinannotation was changed from the incorrectMultiplayerGameModeto the correctMultiPlayerGameMode(with a capital P), which fully fixed the hooks forstartDestroyBlockandcontinueDestroyBlock.
This mod has no additional files

