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

[Gametest] Missing properties in command /clear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.11 Hotfix
    • None
    • Confirmed
    • Windows
    • 591029

      I am not sure if this is a bug but it seems like using "clear @a {item} {data} {count}" would not get the player and item removed count,

      Using this code

       

      let test = Minecraft.Commands.run(`clear @a`);
      for(var c in test){
       Minecraft.Commands.run(`say ${c} - ${test[c]}`); 
      }
      

      gives me this

      while using this code

       

      let test = Minecraft.Commands.run(`clear @a apple 0 1`); 
      for(var c in test){ 
      Minecraft.Commands.run(`say ${c} - ${test[c]}`); 
      }
      

      gives me this

      They have the same command but having an item name removes the item remove and player names.

       

       

            Dewdimpple Dewdimpple
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: