🛡️ 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:
- Attack fired — player hits enemy
- Shield check —
isUsingItem()detects if the target is raising a shield - Swap to axe —
@Inject HEADswaps the held item to an axe - Axe hits — shield is disabled
- Revert slot —
@Inject RETURNswaps 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
常见问题
🛡️ Instant-Shield-Break 支持哪些 Minecraft 版本?
🛡️ Instant-Shield-Break 支持 Minecraft Java 版 1.19–1.21.11,共 24 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
🛡️ Instant-Shield-Break 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Shubham96 的其他作品
查看全部 →Auto-Attibute-Swap
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.
Grass Drops Op Items
Break Grass - Get Op Loot!
Crystal PvP INV Organizer!
⚡ Instant inventory sorting built for CPvP speed, clutch moments, and time efficiency.
评论
登录后评论和评分