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

SelectedItem works in entity selectors but doesn't show up in player's data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w11a
    • None
    • Unconfirmed

      This command works if you're holding a diamond: "/execute if entity @s[nbt={SelectedItem:{id:"minecraft:diamond"}}] run say hi", whereas "/data get entity @s SelectedItem" doesn't.

            Unassigned Unassigned
            DyamicFleyer Dyamic Fleyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: