I'm surprised that there weren't dozens of command block users that were with the fact that the SelectedItem and Inventory tags aren't working in 1.12.
If I'm holding a glass block, I should be able to test for it like this:
/testfor @p {SelectedItem:{id:minecraft:glass}}
Which returns some about the minecraft: piece not being needed, so I tried to omit it, and it still doesn't work.
I can't make any of the things I wanted to make on my friend's realm now because of this stupid change. How does the new version work, does it work, and where can I find the nearest cliff?
My entire existence of a cascade of shame and ridiculous amounts of frustration over something I should have already known. Thank you, and I will go rethink my life choices and also consider ways to die.
I'm surprised that there weren't dozens of command block users that were with the fact that the SelectedItem and Inventory tags aren't working in 1.12.
If I'm holding a glass block, I should be able to test for it like this:
/testfor @p {SelectedItem:{id:minecraft:glass}}
Which returns some about the minecraft: piece not being needed, so I tried to omit it, and it still doesn't work.
I can't make any of the things I wanted to make on my friend's realm now because of this stupid change. How does the new version work, does it work, and where can I find the nearest cliff?
--Northie
just put "" around the id.
it should look like this:/testfor @p {SelectedItem:{id:"minecraft:glass"}}
My entire existence of a cascade of shame and ridiculous amounts of frustration over something I should have already known. Thank you, and I will go rethink my life choices and also consider ways to die.
--Northie