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

Inventory Tag: Test for an empty slot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.8.5
    • None
    • Windows 8
    • Unconfirmed

      You can't test for an empty slot in the inventory.

      Right now when you want to decect an empty inventory slot you have to testfor when an item isn't there anymore. If the id:"minecraft:air" or something similar existed you could cut down on A LOT of command blocks.

      This fix to the Inventory tag would be very useful in multiple ways.
      1. If you want a player not to throw away a specific item in their inventory.
      2. If you want to create a shop in the player's inventory, you need to be able to detect if an inventory slot is empty.

      Thanks for taking in consideration

            Unassigned Unassigned
            Tobyrobot Tobias Callister
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: