When I try to use execute Cmd. It doesn't work as I expect.
Cmd:/execute @e[type=!Player] ~ ~ ~ /summon lightningbolt ~ ~ ~
Expected: All mobs around me should be struck by lightning
Result:"All invocations failed"
If I use the same Cmd without [type=!Player] , either it strikes lightning onto me or "All invocations failed"
How am I supposed to do what I expected.
Thank you for your report!
However, this issue has been closed as Working as Intended.
Remember not all differences between game versions/platforms of Minecraft are bugs. Pocket Edition/Win10 commands do not currently have NBT tags implemented, so can't be used in commands. If you need help or have a suggestion you might like to follow the community support link below.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki