Part, I attempted to use the command inside of a command block but it doesn't seem to work?
execute as @a[name=WaterLeopart777,nbt={Inventory:[{Slot:100b,tag:{display:{Name:"\"glass\""}}}]}] at @s run effect give WaterLeopard777 minecraft:water_breathing 100000 1 true
I'm not quite sure what is causing it as I only changed teleport to effect. Also, I removed the / \ near glass and it didn't seem to complain, but it didn't help matters either.
0
Part, I attempted to use the command inside of a command block but it doesn't seem to work?
execute as @a[name=WaterLeopart777,nbt={Inventory:[{Slot:100b,tag:{display:{Name:"\"glass\""}}}]}] at @s run effect give WaterLeopard777 minecraft:water_breathing 100000 1 true
I'm not quite sure what is causing it as I only changed teleport to effect. Also, I removed the / \ near glass and it didn't seem to complain, but it didn't help matters either.
0
As a Mac user and unable to use this, I am hoping that someone could transfer this for me?
/testfor WaterLeopard777 {Inventory:[{Slot:100b,tag:{display:{Name:glass}}}]}
Thanks!
0
0