Details
-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: Minecraft 15w33c, Minecraft 15w44b, Minecraft 15w51b, Minecraft 16w06a, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w17b, Minecraft 1.12, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w07c, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3, 1.14.4, 19w40a, 1.15.2, 20w08a, 20w10a, 20w19a, 20w22a, 1.16.1, 1.16.2, 1.16.4, 21w03a, 1.16.5
-
Fix Version/s: None
-
Labels:
-
Confirmation Status:Confirmed
-
Category:Player
-
Mojang Priority:Important
Description
The bug
In some situations the player stops blocking with a shield client-side and therefore can attack again, but server-side they are still blocking. This allows them to attack and block at the same time, which should not be possible.
How to reproduce
- Hold a shield in any hand and block with it
- Deflect an arrow with it, observe that the shield moves as it loses durability
- During the movement, without releasing the right mouse button, hover over any container (I've tested with a dispenser only, but believe it works with every one)
- Before the shield returns you access the container, now you can release the right mouse button
- Upon closing the container UI you are no longer blocking, but the blocking effect persists (you still deflect arrows and the shield still loses durability) until you right click again.
While the effect of blocking persists, you can attack normally as if you weren't blocking.
This can also be reproduced by blocking while entering a nether portal (see MC-183694).
Code analysis
Code analysis by [Mod] Marcono1234 can be found in this comment.
Attachments
Issue Links
- is duplicated by
-
MC-88080 Shield - hitting and blocking at the same time
- Resolved
-
MC-88386 Blocking mobs without actually blocking
- Resolved
-
MC-88888 Shields will automatically block melee and ranged attacks from hostile mobs.
- Resolved
-
MC-90994 Shield Nether Glitch
- Resolved
-
MC-93461 Shield Glitch
- Resolved
-
MC-97674 if a dispencer fire arrows and you block it with a shield and than right click the dispencer than the shield will block on his own
- Resolved
-
MC-98202 Shield always active and permanently blocking
- Resolved
-
MC-98675 always block glitch
- Resolved
-
MC-99008 Eating food acts as a shield
- Resolved
-
MC-100527 Bug with shields
- Resolved
-
MC-100535 shield glitch
- Resolved
-
MC-115947 Automatic cover
- Resolved
-
MC-117595 When player hits another player that's blocking the shield goes down visually
- Resolved
-
MC-119766 Shield hitting
- Resolved
-
MC-156935 Nether portal shield bug
- Resolved
-
MC-183603 Blocking while hitting
- Resolved
-
MC-183694 Attacking while blocking with your shield
- Resolved
-
MC-186850 Auto Shield block
- Resolved
-
MC-192846 Shield stays "up" after traveling through a Nether Portal
- Resolved
-
MC-193300 Shield blocking automatically after going through portal
- Resolved
-
MC-193554 when I have a shield and I hold the right mouse button and I give an esc I defend myself all the time
- Resolved
-
MC-199805 Shielding while going through nether portal keeps shield up.
- Resolved
-
MC-206352 Invincibility Glitch
- Resolved
-
MC-207304 shield still active after going through a nether portal by holding the right click
- Resolved
-
MC-210800 Shield always active
- Resolved
-
MC-212716 Glitch where shield stays up after entering a nether portal
- Resolved
-
MC-212750 Shield while entering a nether portal glitch
- Resolved
-
MC-214261 perma block bug
- Resolved
- relates to
-
MC-97527 Eating forever when blocking with shield
- Resolved
-
MC-99688 Shield disabling by axes: It doesn't actually disable
- Resolved
-
MC-99831 Shield blocking not viewing correctly
- Resolved