Summon out of the world
I have a command block with a /summon
command in. When I run the command, it gives the result Cannot summon the object out of the world
. However, when I move the command block closer to the summon location, it succeeds. Is there any way I can stop this (without moving the command block)?
Best Answer
You can force the chunks to load by using the /spreadplayers
command to move an 'anchor' entity to that location first before summoning.
Summoning the anchor.
/summon ArmorStand ~ ~1 ~ {Tags:["anchor"]}
Spreading that anchor near the location.
/spreadplayers X Z 0 1 false @e[type=ArmorStand,tag=anchor]
Summoning the mob.
/summon Villager X Y Z
Alternatively you could summon the mob at the spawn chunks, spread it to the desired location, and use a /tp
command to reposition it correctly. However, if the chunks are already loaded by the player, that spread entity may not render immediately.
Pictures about "Summon out of the world"
How do you summon?
The command for summoning is pretty simple. "/summon mob". Players just need to fill in the mob name, though there are a few exceptions. The command remains the same for both Minecraft Java and Bedrock Edition, and is one of the simplest to use.What is the Summon command?
You can summon an entity (or mob) whenever you want using the /summon command in Minecraft.How do you summon something with a custom name?
How to Enter the CommandDIO ZA WARUDO compilation (JoJo's Bizarre Adventure:Stardust Crusaders)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, Gustavo Fring, Gustavo Fring