promotional bannermobile promotional banner

๐Ÿ›ก๏ธ Instant-Shield-Break

๐Ÿ” Auto-breaks enemy shields in nethpot PvP by swapping to an axe at the exact moment of attack, then reverting instantly โ€” all within a single tick. No GUI, no keybinds, always on.

Instant-Shield-Break v1.0

NETHPOT PVP ยท FABRIC MOD ยท CLIENT-SIDE

Auto-breaks enemy shields in nethpot PvP by swapping to an axe at the exact moment of attack, then reverting instantly โ€” all within a single tick. No GUI, no keybinds, always on.

Tags: Fabric API ยท Java ยท MC 1.19โ€“1.21 ยท 1-tick swap ยท Always active ยท Zero flicker


โš™๏ธ How the Swap Works

A five-step process that occurs within a single tick:

  1. Attack fired โ€” player hits enemy
  2. Shield check โ€” isUsingItem() detects if the target is raising a shield
  3. Swap to axe โ€” @Inject HEAD swaps the held item to an axe
  4. Axe hits โ€” shield is disabled
  5. Revert slot โ€” @Inject RETURN swaps back to the original item instantly

๐Ÿ“ฆ Module Breakdown

ShieldDetector (util/ShieldDetector.java) Checks if the target player is actively raising a shield via isUsingItem() + item identity check. Catches the intent before the 5-tick raise delay, ensuring no missed hits.

InventoryScanner (util/InventoryScanner.java) Scans hotbar slots 0โ€“8 first, then main inventory slots 9โ€“35. Maintains a cached last-used axe slot for instant lookup on repeated attacks. Supports any modded axe extending AxeItem.

SwapHandler (handler/SwapHandler.java) Orchestrates the full swap sequence. Guards against spam with a 150ms cooldown. Sends a vanilla UpdateSelectedSlotC2SPacket for server sync. Reverts in the same call-stack frame โ€” zero extra ticks.

Attack Mixin (mixin/ClientPlayerInteractionManagerMixin.java) Hooks into attackEntity() at HEAD (pre-packet) and RETURN (post-packet). Only intercepts PlayerEntity targets โ€” mob attacks pass through unmodified.

Config (config/ShieldBreakConfig.java) GSON-backed JSON config at config/instant-shield-break.json. Supports enabled toggle, cooldownMs tuning, and debugLogging for verbose output. Auto-creates defaults on first launch.


๐Ÿ“Š At a Glance

Stat Value
Tick swap window 1
Spam cooldown 150ms
Visible flicker frames 0
Inventory slots scanned 35
Mixin inject points 2
Source modules 5

by Shubham96 ยท MIT License ยท Fabric 1.19โ€“1.21 ยท instant-shield-break v1.0

The ๐Ÿ›ก๏ธ Instant-Shield-Break Team

profile avatar
  • 8
    Projects
  • 1.8K
    Downloads

Minecraft Mod Developer ๐Ÿ’ช

More from Shubham96View all

  • Auto-Attibute-Swap project image

    Auto-Attibute-Swap

    • 89
    • Mods

    Automatically ghost-swaps your sword โ†’ mace โ†’ sword within a single server tick on every critical hit โ€” combining sword attack speed with full mace damage, Breach, and Density enchantment power. Toggle with G. Zero visual desync.

    • 89
    • May 11, 2026
    • Mods
    • +1
  • Nexus Hud project image

    Nexus Hud

    • 13
    • Mods

    Premium HUD overlay and in-game mod guide system. Real-time stats, 30+ mod guides, 5 color themes โ€” lightweight, client-side, no performance cost.

    • 13
    • April 5, 2026
    • Mods
  • Crystal PvP INV Organizer! project image

    Crystal PvP INV Organizer!

    • 927
    • Mods

    โšก Instant inventory sorting built for CPvP speed, clutch moments, and time efficiency.

    • 927
    • April 4, 2026
    • Mods
    • +3
  • Prism AutoGG project image

    Prism AutoGG

    • 12
    • Mods

    Automatically sends a custom chat message on kill. Animated settings GUI, kill counter HUD, and full message customization included.

    • 12
    • April 3, 2026
    • Mods
  • Auto-Attibute-Swap project image

    Auto-Attibute-Swap

    • 89
    • Mods

    Automatically ghost-swaps your sword โ†’ mace โ†’ sword within a single server tick on every critical hit โ€” combining sword attack speed with full mace damage, Breach, and Density enchantment power. Toggle with G. Zero visual desync.

    • 89
    • May 11, 2026
    • Mods
    • +1
  • Nexus Hud project image

    Nexus Hud

    • 13
    • Mods

    Premium HUD overlay and in-game mod guide system. Real-time stats, 30+ mod guides, 5 color themes โ€” lightweight, client-side, no performance cost.

    • 13
    • April 5, 2026
    • Mods
  • Crystal PvP INV Organizer! project image

    Crystal PvP INV Organizer!

    • 927
    • Mods

    โšก Instant inventory sorting built for CPvP speed, clutch moments, and time efficiency.

    • 927
    • April 4, 2026
    • Mods
    • +3
  • Prism AutoGG project image

    Prism AutoGG

    • 12
    • Mods

    Automatically sends a custom chat message on kill. Animated settings GUI, kill counter HUD, and full message customization included.

    • 12
    • April 3, 2026
    • Mods