Sign in
Skip to main content

Discuss Minecraft's scripting and modding capabilities, including APIs, tools, customization, automation, and creator workflows. Share ideas and feedback on how players and creators can extend and customize Minecraft.

6

Clear Items by slot

4 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    Yes I've always wanted this

     

  • 0
    Registered User commented
    Comment actions Permalink

    I have been searching for a way to do this, and I have found a lot of people are looking for a way to do this. It is a very popular request even though it has a few votes here. I believe people have just given up hope that it will happen.

  • 0
    Registered User commented
    Comment actions Permalink

    You can do this with datapacks by using the /item command to replace a players inventory slot with a knowledge book then clearing all knowledge books from their inventory

  • 0
    Registered User commented
    Comment actions Permalink

    /item replace entity PLAYER inventory.SLOTID with air