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

Pressing F while hovering over an item in a UI of a container in spectator mode creates a ghost item



    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 1.17.1, 23w31a
    • None
    • Confirmed
    • Spectator
    • Inventory, Player


      The bug

      If you look into a container, which is a chest, ender chest, trap chest or shulker box, in spectator mode and hover over an item with your mouse and then press F, you will have a ghost item in your offhand when you go back into another gamemode. This item can’t be removed from the offhand using F. If you click on the item in creative mode, it will become a normal item, if you click on it in survival, it will disappear.

      How to reproduce:

      1. Place a chest
      2. Take any block
      3. Go into spectator mode
      4. Look into the chest
      5. Hover over an item in your inventory
      6. Press F
      7. Go back into creative mode
        You will have a ghost item in your offhand, if you place the block, it will instantly vanish.


        1. MC199643.mp4
          3.52 MB
        2. MC-199643.mp4
          9.66 MB



            Unassigned Unassigned
            bugsbugsbugs bugsbugsbugs
            6 Vote for this issue
            2 Start watching this issue