Mojang, please add a new command in Minecraft called the testforitem command. This command would detect whether a specific item is in the inventory of a specific player or not. It would be very useful in command block creations. It should be like this:
When writing the command it would be /testforitem. Then we have to write the name of the item we want to detect. After the name of the item we would have to write one of the three words, hand or used or saved. Writing hand would make the command detect whether the specific item is in the player's hand or not. Writing used would make it detect the animation of shaking of a specific item which is played by tapping anywhere. Writing saved would make it detect that the specific item is not in the player's hand but somewhere in his inventory. After writing any of these three words, after it we should write the name of the player or @p or @a or @s or @r to make it detect whether a specific player have the specific item or not. This is optional but after the name of the player or @p, @s, @a or @r we should write the coordinates to make the command detect the specific item of a specific player in a specific coordinate. Please add it. Please!! I would be very grateful for this.
Please sign in to leave a comment.
1 Comments