This is a "theoretical": it isn't a creation, but it could be used as a part of some creations.
In this page I left only the "mechanics".
![](http://smnfrd.it/wp-content/uploads/2016/08/caso-1.png)
Difficulty: EASY (2/5)
Commands in the mechanic: NORMAL (6)
External commands: LOW (1)
![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard objectives add item dummy
Adds a score called "item", that can only be changed with commands
![](http://smnfrd.it/wp-content/uploads/2016/04/repeating_u-1.png)
/scoreboard players set @a item 0
Sets at 0 the score of all players: this is the base of the "auto-resetting" mechanism
![](http://smnfrd.it/wp-content/uploads/2016/04/b31adf9a605bee69991378071483c48c-1.png)
/scoreboard players set @a item n {Inventory:[{id:"minecraft:id"}]}
Sets the at "n" the score of all the players with an item ("id") in the inventory
![](http://smnfrd.it/wp-content/uploads/2016/04/b31adf9a605bee69991378071483c48c-1.png)
/scoreboard players set @a item n {Inventory:[{Slot:xb,id:"minecraft:id"}]}
Sets the at "n" the score of all the players with an item ("id") in their "x" slot
![](http://smnfrd.it/wp-content/uploads/2016/04/b31adf9a605bee69991378071483c48c-1.png)
/scoreboard players set @a item n {SelectedItem:{id:"minecraft:id"}}
Sets the at "n" the score of all the players that are selecting an item ("id")
Recent Comments