Using a spreadplayers or tp command that teleports a non-player entity into an unloaded chunk does not load the chunk, meaning the entity cannot be targeted with commands.
Steps to reproduce:
- Set up 1 impulse command block, with two chain command blocks following it. In order, set the commands to:
”/summon minecraft:armor_stand ~ ~ ~ {Tags:[“funStand”]}”
”/tp @e[tag=funStand] ~500 ~ ~” OR “spreadplayers ~500 ~ 1 10 false @e[tag=funStand]”
”/execute as @e[tag=funStand] run say hi”
Then, power the impulse block.
The armor stand will not be detectable, so nothing will be said in chat. If you fly over to the armor stands location and run the say hi command again, it will work because the stand is now loaded.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki