How can I teleport to an unloaded entity in Minecraft?

[BACK]
How can I teleport to an unloaded entity in Minecraft?
Posted On: June 21, 2023

I am using invisible invulnerable ArmorStands to create "warps" and "homes" in a map. The idea is that I can spawn them in with a specific name, and then teleport a player back to them like this:.


/tp @p @e[name=PlayerHome,type=ArmorStand].


These warps/homes need to be able to be moved, so I cannot just use static coordinates. .


The ArmorStand method was working fine at first, however I have noticed that if the entity is not within spawn chunks or a radius of the player, I cannot teleport or interact with it in any way. .


Is there any way I can teleport to a far-away entity? Or have it become loaded first?


I was thinking of doing something with /spreadplayers, which loads chunks that entities are spread to, but I cannot get it to target the unloaded ArmorStand.


Question from user SirBenet at stackexchange.


Answer:

You can spawn a redstone block a certain numbers above or below the point of the player with an activator rail ontop. Then spawn a command minecart on the activator rail with the command /spreadplayers ~ ~ 1 false @e[name=PlayerHome,type=ArmorStand,c=1,r=2].


Because the /spreadplayers will load the chunk the entity is spread to, the commandblock minecart on the activator rail will permenantly keep the chunk that the armorstand is in loaded. When moving the point, run a fill command and a kill command at the previous home to remove the traces. When you are teleporting the player back to their home, you can simply offset the teleportation by a few blocks in the y coordinate.


Answer from user Moddl at stackexchange.



[BACK]
How can I teleport to an unloaded entity in Minecraft?
Posted On: June 21, 2023

I am using invisible invulnerable ArmorStands to create "warps" and "homes" in a map. The idea is that I can spawn them in with a specific name, and then teleport a player back to them like this:.


/tp @p @e[name=PlayerHome,type=ArmorStand].


These warps/homes need to be able to be moved, so I cannot just use static coordinates. .


The ArmorStand method was working fine at first, however I have noticed that if the entity is not within spawn chunks or a radius of the player, I cannot teleport or interact with it in any way. .


Is there any way I can teleport to a far-away entity? Or have it become loaded first?


I was thinking of doing something with /spreadplayers, which loads chunks that entities are spread to, but I cannot get it to target the unloaded ArmorStand.


Question from user SirBenet at stackexchange.


Answer:

You can spawn a redstone block a certain numbers above or below the point of the player with an activator rail ontop. Then spawn a command minecart on the activator rail with the command /spreadplayers ~ ~ 1 false @e[name=PlayerHome,type=ArmorStand,c=1,r=2].


Because the /spreadplayers will load the chunk the entity is spread to, the commandblock minecart on the activator rail will permenantly keep the chunk that the armorstand is in loaded. When moving the point, run a fill command and a kill command at the previous home to remove the traces. When you are teleporting the player back to their home, you can simply offset the teleportation by a few blocks in the y coordinate.


Answer from user Moddl at stackexchange.



[BACK]

STUCK Lvl 39. 100% STUCK Lvl 39. 100%

Posted On: September 11, 2023
PLEASE HELP. I haven’t seen any recent posts on this issue so I’m am reaching out. . I have completed HL to 100%. And I mean 100%, on EVERYTHING. There is no room for any more XP - not ...[More]


Is the Game of the Year version of Fable 2 as buggy as the standard version? Is the Game of the Year version of Fable 2 as buggy as the standard version?

Posted On: March 24, 2023
I had Fable 2 for XBOX360 (PAL version, i.e. Europe/Australia) and it was buggy as hell. If I was married, my wife would go from totally happy to leaving me in an instant. There were several other min...[More]


Which BG3 NPCs would you like to fight in D&D? Which BG3 NPCs would you like to fight in D&D?

Posted On: November 20, 2023
I am currently organizing a D&D one shot/minigame for a large group, which consists of fighting a gauntlet of important characters from media, including games, movies and stuff even outside of D&a...[More]


What is the time difference between BOTW and TOTK? What is the time difference between BOTW and TOTK?

Posted On: May 30, 2023
The whole story is pretty clearly 'a few years later' but is there at any point where they do give a precise time that happened between games? Question from user Fredy31 at gaming.stackexch...[More]


What language is Space Engineers programmed in? What language is Space Engineers programmed in?

Posted On: July 21, 2023
I've tried searching online for this - but I always end up in the in-game programming language (C#) sites, but I'm curious what the game itself is programmed in. I would assume a game like thi...[More]


Agitated Giant Thrips: how to properly deal with them in Dwarf Fortress? Agitated Giant Thrips: how to properly deal with them in Dwarf Fortress?

Posted On: April 25, 2023
The number one cause of death on my Fortress is: attack by flying insects. As they don't activate the Cage Traps, because they don't touch the ground, which are the possible ways to deal wi...[More]


In the Fallout series, who launched the nuclear weapons first? In the Fallout series, who launched the nuclear weapons first?

Posted On: April 21, 2024
Is there sufficient information in the Fallout universe to infer who launched nukes first?Question from user SMeznaric at gaming.stackexchange.com.Answer:From Fallout Wikia:. It is not known who laun...[More]


Can guards find and arrest you in casing mode in a public area during a searching phase? Can guards find and arrest you in casing mode in a public area during a searching phase?

Posted On: September 10, 2023
In Payday 3, certain things can cause a Searching phase, such as a teammate being cuffed. During this phase, if you're caught in a private area in casing mode you will be cuffed instead of escorte...[More]


Are there any games - tactics where infestor controlled units are used to build foreign units? Are there any games - tactics where infestor controlled units are used to build foreign units?

Posted On: January 12, 2023
I recently completed the "Zerglot" achievement, as described here. In short, you have to warp in a Zealot, while playing Zerg. You can do this, by using neural parasite (Infestor) on an e...[More]


How do I find the ID for a game on Steam? How do I find the ID for a game on Steam?

Posted On: May 18, 2023
Every game on Steam has a different Game ID (also known as App ID). For instance, looking on my own computer, Portal has an ID of 400, and FTL: Faster Than Light is 212680. How do I find this ID fo...[More]