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

You can attack and be attacked through glass panes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w35a
    • Minecraft 1.4.2, Minecraft 1.4.7, Snapshot 13w06a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w39a, Minecraft 13w39b, Minecraft 1.7.9, Minecraft 14w25b, Minecraft 1.7.10, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w39c, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12, Minecraft 1.13-pre6, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, 1.14.4, 19w45b, 1.15.2, 1.16 Pre-release 2, 1.16.1, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w46a, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 1.17, 1.17.1, 21w42a, 1.18.2, 1.19, 1.19.1 Pre-release 5, 1.19.1, 1.19.2, 22w43a, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 1.19.4, 1.20, 1.20.1, 23w32a, 23w33a
    • Confirmed
    • Entities, Hitboxes
    • Low

      The Bug:

      You can attack and be attacked through glass panes.

      Steps to Reproduce:

      1. Summon a box with a glass pane wall by using the commands provided below.
        /fill ~1 ~-1 ~1 ~11 ~3 ~5 minecraft:tinted_glass hollow
        /fill ~2 ~ ~1 ~10 ~2 ~1 minecraft:glass_pane
      2. Summon a zombie inside of the box and break any block of glass pane that's at eye height, so that the zombie can be able to notice you.
      3. Switch into survival mode and get the zombie to notice you.
      4. When it does, move away from the hole in the glass pane, but remain standing as close as you can to adjacent glass pane blocks.
      5. Wait for the zombie to approach you.
      6. Take note as to whether or not you can attack and be attacked through glass panes.

      Observed Behavior:

      You can attack and be attacked through glass panes.

      Expected Behavior:

      You would not be able to attack or be attacked through glass panes.

        1. 2013-11-22_05.06.18.png
          2013-11-22_05.06.18.png
          43 kB
        2. 2013-11-22_05.13.50.png
          2013-11-22_05.13.50.png
          38 kB
        3. MC-1297.mp4
          5.24 MB
        4. MC-1297.png
          MC-1297.png
          961 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            66 Vote for this issue
            Watchers:
            31 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: