-
Bug
-
Resolution: Fixed
-
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, 1.17, 1.17.1, 21w43a, 1.18.1 Release Candidate 2, 1.18.1, 1.18.2, 22w15a, 1.20, 23w32a, 1.20.2, 23w40a, 23w42a, 23w43a, 23w46a, 1.20.3 Pre-Release 4, 1.20.3, 1.20.4, 24w07a, 24w13a, 1.20.6, 24w19b, 1.21
-
Confirmed
-
Player
-
Important
-
Platform
The bug
If the player is blocking when they change dimension via nether or end portal, they will continue to block attacks on the server side but will not be blocking client side.
How to reproduce
- Give the player a shield, and block with it:
/give @s shield[minecraft:unbreakable={show_in_tooltip:true}]
- Setblock a nether or end portal:
/setblock ~ ~ ~1 nether_portal
- Continuing to block with the shield, enter the portal
- Look north (for the sake of the next step)
- (In survival) Damage the player:
/damage @p 3 minecraft:mob_attack at ~ ~ ~-2
Notes
- If the shield is in the off hand when you replicate this bug, you will be able to interact with your main hand in ways such as eating, attacking, and using other items
- This issue used to occur previously if the player opened a GUI durring the brief time that their shield was disabled, but that is since not reproducable as a change in an unknown version made it so that player can interact with GUI containers durring that time period.
Code analysis
Code analysis by marcono1234 can be found in this comment.
- 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
-
MC-225730 Shield permanently blocking
- Resolved
-
MC-230122 a shield glitch that breaks pvp or pve.
- Resolved
-
MC-230270 going through portal with shield causes it to be always active
- Resolved
-
MC-232260 end portal bug with a shield
- Resolved
-
MC-235532 infinitely activated shield
- Resolved
-
MC-237642 Shield bug to hit while protecting yourself
- Resolved
-
MC-238505 Shield deflects damage while not up after going through a nether portal.
- Resolved
-
MC-240039 If you go through the nether with shield up then lower during transition it stays active
- Resolved
-
MC-248150 Invincible when travelling between dimensions
- Resolved
-
MC-264797 Rising a shield while entering a Nether portal makes it block hits even if you aren't holding left click.
- Resolved
-
MC-266928 Using Shield while going into nether through the portal makes the shield auto-usable, even when you are not using the shield still it will block attacks and at the same tiem you can even attack, break bloc, mine or do anything
- Resolved
-
MC-273646 Always effective shield
- 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