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

Bows and tridents drawn in survival/creative/adventure mode can be released in spectator mode



    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.8.7, Minecraft 16w07b, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w17b, Minecraft 1.12 Pre-Release 5, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 19w04b, 1.15.2, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w11a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w18a, 1.19 Pre-release 1, 1.19.2, 1.19.3, 1.20.1
    • Confirmed
    • Spectator
    • Player
    • Normal
    • Platform


      The bug / Steps to reproduce

      Place down a command block with a pressure plate on top that sets players who stand on it to spectator mode. Get a bow and arrow, draw back the bow but do not release. Step on the plate to enter spectator mode then release the bow to fire the arrow.

      This bug allows you shoot arrows in a situation where a map maker most likely doesn't want it. In and of itself it's quite a cool concept but doesn't seem to work as it should!

      Demonstration video: https://youtu.be/myDDq4Ks27A?t=1m35s

      The same bug occurs with tridents in 1.13 and later.

      Code analysis

      Code analysis by Avoma can be found in this comment.


        1. MC-81773.mp4
          5.31 MB
        2. MC-81773.png
          2.88 MB
        3. MC-81773 - Current Code.png
          MC-81773 - Current Code.png
          51 kB
        4. MC-81773 - Fixed Code.png
          MC-81773 - Fixed Code.png
          54 kB



            Unassigned Unassigned
            sparks Sparks
            20 Vote for this issue
            11 Start watching this issue