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

/clear dosn't clear item when amount is 0

    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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: