Minecraft 1.9.2 Command /testfor SelectedItem. Need Help
//ads -- adsterra.com -- native banner
?>
I am trying to use the command:
/testfor @a {SelectedItem:minecraft:fire_charge,display:{Name:"Fireball"},ench:[{id:60,lvl:10}]}
In a command block it always ends up saying player did not match the required data structure. This is making me so angry not knowing what I'm doing wrong.
In order to obtain the fire charge I use the command:
/give @p minecraft:fire_charge 1 0 {display:{Name:"Fireball"},ench:[{id:60,lvl:10}]}
This one always works and gives me the correct item. It just can't find when I have it as a selected item in my hotbar (item in my hand so it can be used).
Please help me out. Thank you for taking your time to help (in advance).
Pictures about "Minecraft 1.9.2 Command /testfor SelectedItem. Need Help"
How do you use the Testfor command in Minecraft?
How to Enter the CommandMinecraft Redstone Tutorial | How to use testfor commands in MCPE!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ahmed akacha, Gustavo Fring, Plato Terentev, Plato Terentev