Hey guys, I'm trying to make an adventure map and i need to clear my players inventory at one point.
The item I want to remove is the bow, so I used a command block with /clear @p 261 to clear them.
But then when testing it I remarked it only work if the bow is new. A damaged bow, isn't removed.
After looking around I saw you could remove items with specific damages, but it won't work for me because not everyone players will reach that command block having used their bows the same amount of time...
Is there a command to remove all bows, no matter the damage? or to use a damage range?
Using multiple linked command blocks (with a redstone grid), you could have each one block removing a bow with a different amount of damage until every different kind of damaged bow has been removed from the players inventory.
Using multiple linked command blocks (with a redstone grid), you could have each one block removing a bow with a different amount of damage until every different kind of damaged bow has been removed from the players inventory.
I guess that mean it can't be done with one single command block then?
Damn >.> that's going to take a lot of place underground...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The item I want to remove is the bow, so I used a command block with /clear @p 261 to clear them.
But then when testing it I remarked it only work if the bow is new. A damaged bow, isn't removed.
After looking around I saw you could remove items with specific damages, but it won't work for me because not everyone players will reach that command block having used their bows the same amount of time...
Is there a command to remove all bows, no matter the damage? or to use a damage range?
Thanks in advance
At least 86% of what I say is always correct.
I guess that mean it can't be done with one single command block then?
Damn >.> that's going to take a lot of place underground...