We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

8

1.16 Bedrock Edition Replaceitem Replace Argument

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    actually there is a command for that its /clear @s wool 0 1. This will check the inventory of the player if they have it or not. If ylu put 0 at the end it wont take anything at the end but in the command block would say it was successful, so you could also detect if a player has an item without clearing it.

  • 1
    Registered User commented
    Comment actions Permalink

    BSPC Gator I know that’s a thing, I use it all the time, but you can’t use it to detect if something is in the selected slot, or a specific slot, or slots in your enderchest.