2

Need help with a command

Mohawk3 •4/22/18 2:14 pm history
•
160
•
4/22/2018 5:43 pm
I need to detect multiple of the same item in a player's inventory, and I found this command :
/testfor @p[r=30] {Inventory:[{id:"minecraft:cobblestone",Count:32b}]}
However, I need to detect unstackable items, and that command only works on stackable ones. Also, it is important to know that I can't use scoreboards because this is a map for a server and the scoreboards will not reset after the game resets, and there is no way for me to detect when a game ends to reset the scoreboards. It is also important to know that the server I am trying to get this to work on is in 1.9.
Posted by
Mohawk3
Level 1 : New Explorer
1

  Have something to say?

Join • Sign in

2

arcticash856
• 04/22/2018 5:43 pm
• Level 1 : New Miner
hey umm idk
1
Isz
• 04/22/2018 4:29 pm
• Level 48 : Master Architect
In short, you can't. You could detect for items in particular inventory slots, so the same thing in slot 1 and 2 etc. But not for multiple of the same unstackable item just in someones inventory
2

Welcome