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

Quick rating

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

No reviews yet

๐Ÿ” 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.

Magic
Automation & Processing
QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versionsโ€ฆ
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
instant-shield-break-1.0.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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

Text Description (Accessibility Transcription)

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

Screenshots

Gallery

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~6,000
Total Downloads
CurseForge
~1,000
Modrinth
~4,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works