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.
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.
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.
Copyright 2022 Quplet, Apache License 2.0. Please credit if you use or distribute my work.
VERSION | DOWNLOADED DATE | VERSION TYPE | TYPE | SIZE | GAME VERSION | DOWNLOADS | |
---|---|---|---|---|---|---|---|
no-shield-delay-1.0.2 | 09.01.2025 | fabric, quilt | R | 511 KB | 1.21.4 | 146 | Download |
no-shield-delay-1.0.1 | 30.08.2024 | fabric, quilt | R | 511 KB | 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17 | 550 | Download |
no-shield-delay-1.0.0 | 07.07.2022 | fabric | R | 243 KB | 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17 | 381 | Download |
We couldn't open this item, please check if you have TLauncher running.
You have reached the maximum branch comments. Leave a comment above.
You must be logged in to perform this action.
Please fill in the field using Latin characters and numbers.
You have reached the daily limits for this operation. Try again tomorrow
На этой странице присутствует 18+ контент. Подтвердите, что вам есть 18 лет.
Are you sure you want to delete the comment?