instant-shield-break-1.0.0.jar
Curse Maven Snippet
What's new
Instant-Shield-Break β Changelog by Shubham96 Β· MIT License Β· Fabric 1.19β1.21
βββββββββββββββββββββββββββββββ v1.0.0 β Initial Release May 10, 2025 Β· Fabric 1.19β1.21 βββββββββββββββββββββββββββββββ
Added:
- Full 1-tick shield break β swaps to axe on attack and reverts in the same call-stack frame, zero extra ticks
- ShieldDetector β catches shield raise intent before the 5-tick raise delay via isUsingItem() + item identity check
- InventoryScanner β scans hotbar slots 0β8 then inventory 9β35, with cached last-used axe slot for instant lookup
- SwapHandler β 150ms spam cooldown, vanilla UpdateSelectedSlotC2SPacket for proper server sync
- Attack mixin hooking attackEntity() at HEAD and RETURN β only intercepts PlayerEntity, mob attacks unaffected
- GSON-backed JSON config at config/instant-shield-break.json β supports enabled toggle, cooldownMs, and debugLogging
- Support for any modded axe extending AxeItem β not limited to vanilla axes
- Config auto-creates with defaults on first launch β no manual setup required
Note: No GUI, no keybinds β always on by default. Disable via config if needed. Zero visible flicker frames. Client-side only, no server install required.
This mod has no additional files