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

player.cursor slot name is available in creative mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w10a
    • None
    • Confirmed
    • Creative
    • Commands

      As per the information provided on https://www.minecraft.net/de-de/article/minecraft-snapshot-24w10a, the slot name player.cursor is not intended to function in creative mode, particularly within the regular inventory. However, this restriction doesn't extend to GUIs other than the regular inventory. When examining a GUI other than the standard inventory, the slot name does indeed work in creative mode. To replicate this, input the command

      item replace entity @a player.cursor with air

      into a repeating command block. You'll observe that items picked up with your cursor in creative mode are deleted when viewing a chest, crafting table, etc.

            Unassigned Unassigned
            NoUser No User
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: