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

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.8-pre3, Minecraft 1.8
    • Fix Version/s: Minecraft 15w49b
    • Labels:
      None
    • Environment:
      Microsoft Windows 8.1 Java 1.8.0_11 64 bit Intel i7 12GB RAM Nvidia GeForce 840M
    • Confirmation Status:
      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
          238 kB
          Samuel Kyletoft
        2. 2014-09-01_17.26.04.png
          172 kB
          Samuel Kyletoft
        3. 2015-12-06_18.37.52.png
          437 kB
          [Mod] Kumasasa
        4. 2015-12-06_18.37.56.png
          445 kB
          [Mod] Kumasasa
        5. 2015-12-06_18.38.03.png
          445 kB
          [Mod] Kumasasa

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              CHK: