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

can't execute empty Inventoryslot

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Invalid
    • Minecraft 1.13.2, Minecraft 19w04b
    • None
    • Windows 10 Home 64bit

      Java Build 1.8.0_201-b09

      16GB RAM, 8GB RAM for Minecraft

      Intel i7-8700 CPU @3.20GHz

      NVIDIA GeForce GTX 1060

       
    • Unconfirmed

    Description

      If I want to test if a player has in an InvetorySlot nothing the command won't work. (/execute as @a[nbt={Inventory:[

      {Slot:102b,id:"minecraft:air"}

      ]}] run scoreboard players set @s armorslotfrei 2)

      If I test if a Player has in an InvetorySlot another item it'll work. (/execute as @a[nbt={Inventory:[{Slot:102b,id:"minecraft:elytra"}]}] run scoreboard players set @s armorslotelytra 2)

      Attachments

        Activity

          People

            Unassigned Unassigned
            Craftermaximind Maximilian Schön
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: