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.
Comments 0
No comments.