I think it’s a good idea to have a command to detect the amount of items to make some command block creations easier, or just to see the amount of that item in the players inventory. In bedrock (I’m not sure it’s same in Java) we use the /clear command to detect the item, but it doesn’t show how much. Command: /clear @p [item] [data] [amount=0]. This command will count as a successful command if the player has the item but doesn’t destroy it. I would like to instead have a command to check the amount of items for example: /item# @p [item] to just tell you the number or /item# @p [item] [number] to show if a player has a specific amount of items, or if it has greater than or equal to the specified number.
p.s: I’m sorry if my writing is confusing.
Please sign in to leave a comment.
0 Comments