1
Testfor if someone is holding item i certain inventory slot.
So I'm trying to test if someone has a stick in thier 1st inventory slot (0) with this command
/testfor @a {Inventory:[{Slot:0,id:"minecraft:stick"}]}
but the comparator doesn't light up when I have a stick in my inventory. What is wrong with the command
Create an account or sign in to comment.
6
1
No Problem at all
1
Elvishwarriorwww.youtube.com/watch?v=S6rFa7Oi7mU or https://www.youtube.com/watch?v=U80LhPYH05Y hope i helped you man if you have any other questions about commands just message me I will be happy to help
Thanks dude
1
https://www.youtube.com/watch?v=S6rFa7Oi7mU or https://www.youtube.com/watch?v=U80LhPYH05Y hope i helped you man if you have any other questions about commands just message me I will be happy to help
1
hold on i will give you a tutorial vid
1
the error I get when I carry the stick in the slot is
[14:03:07] Veritas025 did not match the required data structure
[14:03:07] Veritas025 did not match the required data structure
1
I think it might be an unnecessary set of brackets around the tags, but I'm not certain.