Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-92019

Shields don't block anything if facing straight down

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 15w44b, Minecraft 15w45a, Minecraft 16w06a, Minecraft 16w36a, Minecraft 1.12.1, Minecraft 1.13.1
    • Minecraft 1.13.2
    • None
    • Confirmed

    Description

      The bug

      Shields suffer from a sort of gimbal lock: if a player faces straight down, the shield doesn't block any direction. Straight up seems to work ok in my testing, probably due to rounding error of some sort making the facing-vector still have a slight horizontal component.

      How to reproduce

      Summon a trapped skeleton and stand above and slightly to the side. Arrows are blocked when facing 89.9 down (or at -89.9 almost straight up), but at 90.0 you'll be hit.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anomie x Anomie X
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: