DAP-1.2v-mc1.21.1.jar
Curse Maven Snippet
What's new
π DAP (DurAndPick) β Changelog (v1.2-dev)
π New Features (The Automation Update):
-
Smart Auto-Tool Selection (AutoTool): Automatically scans your hotbar (slots 1β9) and instantly swaps your main hand to the fastest and most effective tool for whatever block you start mining. Can be toggled on/off globally using the 'Y' key, showing a clean chat message status.
-
Item Protection System (Tool Saver): Advanced safety net for your precious gear. If a tool's durability hits 5 or lower, the algorithm automatically moves it out of your hotbar into the main inventory (slots 9β35) before it can accidentally break.
-
AutoWeapon Combat Assist: Automatically evaluates all items in your hotbar whenever you punch a mob or player. It instantly selects and equips the weapon with the highest attack damage (swords, axes, or tridents) right before the hit lands.
-
Hotbar Refill Integration: Monitors your active item count during building or eating. The exact millisecond a stack hits 0, it silently searches your upper inventory for a matching item and swaps a fresh stack right back into your hand.
-
Autonomous Torch Placement (Auto-Torch): Monitors real-time block light levels around you. When you enter absolute darkness (block light level <= 2) and you're standing on a solid block, it flips to a torch, places it perfectly under your feet, and returns to your weapon/tool in the blink of an eye. Includes a 1-second cooldown to prevent torch spamming.
βοΈ Technical Changes & Networking:
-
Full Network Synchronization: Upgraded all hotbar switching systems to send a
ServerboundSetCarriedItemPacketdirectly to the server. This completely eliminates client-server desyncs and item rollback ("ghost-swapping") bugs. -
Optimized Client Ticking: Cleanly separated UI screen states.
HotbarRefillHandlerandAutoTorchHandlerrun seamlessly in the background only when your inventory/menus are closed to maximize performance.
π Bug Fixes:
-
Mojang Mappings Injection Fix: Resolved a critical
ClassNotFoundExceptionthat completely disabled the mod's hook systems. The target class in the@Mixinannotation was corrected fromMultiplayerGameModetoMultiPlayerGameMode(fixing the Mojang casing standard), completely restoring thestartDestroyBlock,continueDestroyBlock, andattackhooks.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

