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

/clear dosn't clear item when amount is 0

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.8-pre3, Minecraft 1.8
    • Minecraft 15w49b
    • None
    • Microsoft Windows 8.1 Java 1.8.0_11 64 bit Intel i7 12GB RAM Nvidia GeForce 840M
    • Community Consensus

    Description

      First place an Armor Stand.
      Second use the

      /entitydata @e[type=ArmorStand,r=5] {Equipment:[{},{},{},{id:"minecraft:iron_chestplate"},{}]}

      Third rightclick the chest plate to get 0 iron chestplates in your inventory
      Fourth duplicate it with the pickblock button (middleclick) and put 1 in you armor slot
      Fifth use /clear

      Result: The 0 iron chestplates in your armor slot are still there.

      And yes this bug report is useless because why whould anyone have 0 of an item but it's still a bug

      Attachments

        1. 2014-09-01_17.20.15.png
          2014-09-01_17.20.15.png
          238 kB
        2. 2014-09-01_17.26.04.png
          2014-09-01_17.26.04.png
          172 kB
        3. 2015-12-06_18.37.52.png
          2015-12-06_18.37.52.png
          437 kB
        4. 2015-12-06_18.37.56.png
          2015-12-06_18.37.56.png
          445 kB
        5. 2015-12-06_18.38.03.png
          2015-12-06_18.38.03.png
          445 kB

        Activity

          People

            Unassigned Unassigned
            SKyletoft Samuel Kyletoft
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: