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]

Does closing the game reset Blood Moons timer in Breath Of The Wild? Does closing the game reset Blood Moons timer in Breath Of The Wild?

Posted On: July 23, 2023
According to Zelda dungeon, Blood Moon regularly occurs every 2 hours and 48 minutes of gameplay (every unskipped 7 days in-game). Another answer confirms that it's a time-based event. So I&...[More]


What is the origin of the Qin Shi Huang theme music in Civilization IV? What is the origin of the Qin Shi Huang theme music in Civilization IV?

Posted On: July 10, 2023
I've been trying to identify the music that is heard while one talks diplomacy with Qin Shi Huang in Civilization IV. The melody has been stuck in my head for a while now, and I'd like to k...[More]


How to quit an online match? How to quit an online match?

Posted On: March 6, 2024
I'm trying to run for the Platinum trophy before the server closure, so I'll soon start to get game modes I don't need anymore, and I don't want to waste my time.Is there a way to leave an online matc...[More]


How to move my save game to another PC in Raft? How to move my save game to another PC in Raft?

Posted On: February 21, 2023
I have a new PC and want to move my Raft saved game. Just copy/paste doesn't seem to work. I'm not using any digital platform or service. Question from user Juan Carlos Oropeza at gaming.st...[More]


How can I play .dcr Shockwave games? How can I play .dcr Shockwave games?

Posted On: January 17, 2023
I found this set of old games, that I would really like to play, that use adobe shockwave. Specifically, "World Builder" from "game archive 3". I am using XAMPP as it said to do in...[More]


Zelda TOTK, What does the blue numbers for my weapon strength indicate? Zelda TOTK, What does the blue numbers for my weapon strength indicate?

Posted On: May 20, 2023
I have a wide selection of fused weapons. Though, I noticed that many of the numbers are colored blue while the rest are white. At first I assumed it was to indicate either fused weapons or weapons...[More]


How did I get EXP for throwing my Dumud? How did I get EXP for throwing my Dumud?

Posted On: March 21, 2024
I needed 1 EXP to level up, and somehow throwing my Dumud at the ground at my base did it?And then immediately threw more of my Pals against the ground, and somehow I got EXP for doing it to my Dumud ...[More]


How can I kill adorable animals? How can I kill adorable animals?

Posted On: December 6, 2011
With version 1.0.4 of Terraria came fluffy little bunnies hopping in my fields and happy little goldfish swimming in my lakes, grateful for the sanctuary my base provides them against the horrors of t...[More]


Question(s) about level 1 wizard multiclassing Question(s) about level 1 wizard multiclassing

Posted On: October 22, 2023
I've seen a bunch of other posts about this topic, but I figured I'd make my own instead of spamming a dead post with new questions. I, as a sorcerer character, want to put 1 rank into wiza...[More]


How do I install Portal 2 Authoring Tools without Portal 2 installed? How do I install Portal 2 Authoring Tools without Portal 2 installed?

Posted On: October 20, 2023
Is it possible to install the Portal 2 Authoring Tools without having Portal 2 installed? Otherwise, how could I fool Steam into thinking I have? The reason I'm asking is that I have Portal ...[More]