Mineuniverse
Log in Register
Mods

No Shield Delay

A recreation of Revvilo's Responsive Shields in Fabric.
Download Claim this project
42,613 downloads
0 likes
Updated Jun 12, 2023
0 hypes

No Shield Delay

Configurable reduction of the delay in Minecraft's blocking system for Fabric/Quilt based off of Revvilo's Responsive Shields

Ever notice a strange occurrence where you try to block and attack and it hits you anyway? Even though your shield was definitely up by then? Well, it isn't in your head! That delay is very much real and this mod removes it!

When holding use on an item, there is a base 'use time' which is stored and then decremented every tick while it's being held.

Minecraft will only block an attack after the shield has been raised for more than 5 ticks. It checks this by looking at the difference between the current use time countdown and the base use time of the item.

(from LivingEntity's isBlocking() method)

return item.getMaxUseTime(this.activeItemStack) - this.itemUseTimeLeft >= 5;

This mod bypasses this by using mixin to alter the 5 constant, allowing comparison between any given integer 0 thorough 5.

This mod is supposed to be an alternative to Revvilo's Responsive Shields. Because of this, if Revvilo ever makes a Fabric port of their own, I will cease maintaining this project. Give it a look if you need a Forge equivalent.


🧰 Setup

This mod should work with 1.17+. It possibly could work with versions older than that, but I don't feel like testing it.

This mod is only necessary server side. Installing on the client as well will not yield any benefit.

The Fabric API is not needed for this mod. Only the Fabric/Quilt Loader.


⚙ Configs

Files and contents:

no-shield-delay.toml

RaiseTime

(From 0 to 5. default: 0) The amount of time, in ticks, from when you right-click before the game will block attacks.

Enabled

(Default: true) Whether or not the effect of the mod is enabled.

Info:

  • Setting Raise Time to 0 makes shields capable of blocking immediately
  • The client-side raise animation takes roughly one tick to complete. So setting Raise Time to 1 is a decent balance between responsiveness and not being able to blockhit as easily.

📜 License

Copyright 2022 Quplet, Apache License 2.0. Please credit if you use or distribute my work.

Kinetic Server Hosting Banner

No Shield Delay 1.0.2
MC Fabric, 1.21.4, Server, Quilt
Release 2025-01-09 Get
No Shield Delay 1.0.1
MC 1.17.1, 1.19.3, 1.20.2, 1.21, 1.18.1, 1.20.5, 1.17, 1.19.4, Fabric, 1.18.2, 1.19.2, 1.20.3, 1.20.1, 1.20, 1.20.6, 1.19.1, 1.20.4, 1.21.1, 1.18, Server, Quilt, 1.19
Release 2024-08-30 Get

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998