Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-47378

/clear [player] [identifier] does not behave correctly for blocks of data values above 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.13.0.1 Beta, 1.12.0.11 Beta
    • Fix Version/s: 1.12.1
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC

      Description

      If you have block that has a data value above 0 (E.g Spruce Planks) and you don't specify a data value in the command (E.g /clear @p planks), then the spruce planks won't be cleared. However, if you have oak planks in your inventory in a slot further over than the spruce, and you run the same command, it will clear the spruce planks but only the spruce planks. You have to run it again for it to clear the oak planks. I've also reproduced the issue with wool and dirt/coarse dirt.

      Steps to reproduce:

      1. Run /clear
      2. Put spruce planks in your first inventory slot
      3. Run /clear @p planks
      4. The planks are not cleared from you inventory
      5. Place oak planks in your secondary inventory slot
      6. Run /clear @p planks
      7. The spruce planks are cleared from your inventory but the oak is not

        Attachments

          Activity

            People

            Reporter:
            AdamBrady Adam Brady
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: