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]

Is there a bobble head equivalent in Fallout: New Vegas? Is there a bobble head equivalent in Fallout: New Vegas?

Posted On: August 24, 2023
I have been looking around for the standard stat boosters and skill boosters and still haven't seen anything that will boost my S.P.E.C.I.A.L. I was wondering if there are any things hidden away l...[More]


What are the limits of Minecraft worlds? What are the limits of Minecraft worlds?

Posted On: January 18, 2024
Although Minecraft uses its peculiar cube art for all the elements in it, it respects some physics' laws in some manner. If Minecraft uses gravity laws and we expect it respects computer memory...[More]


Rifle in Vault 15 Rifle in Vault 15

Posted On: April 29, 2024
I am reliving old RPG glory in Fallout 1. I am currently in Vault 15 and I remember that you can find the hunting rifle somewhere in the bathroom on the 2nd level. I check all the bathrooms but can't ...[More]


Does Duplication Potion count towards the Velvet Chokers card limit? Does Duplication Potion count towards the Velvet Chokers card limit?

Posted On: January 4, 2024
The Velvet Choker relic effect states "You cannot play more than 6 cards per turn". The Duplication Potion's description says "This turn, your next two cards are played twice"....[More]


How can I improve framerate of Minecraft client? How can I improve framerate of Minecraft client?

Posted On: March 8, 2023
I'm a happy Minecraft player. I place my blocks, mine my coal, and generally nobody gets hurt. Lately though, those mean creepers have been sneaking up on me from behind, and killing me. Why? Beca...[More]


How to make a 1v1v1v1 game in Age of Empires 2 DE? How to make a 1v1v1v1 game in Age of Empires 2 DE?

Posted On: July 5, 2023
Every time I try to make a game with multiple people it ends up being a team game. What lobby settings do I need to make it a FFA? Question from user Zhro at stackexchange. Answer: Set your T...[More]


Is there any way I can give myself 360° vision in game? Is there any way I can give myself 360° vision in game?

Posted On: July 6, 2023
A key gameplay mechanic in Project Zomboid is that your character can only see what's in front of them, even though the game has an isometric perspective. Anything behind becomes shrouded. That...[More]


If I leave a Minecraft Realm will my signs disappear or still be there? If I leave a Minecraft Realm will my signs disappear or still be there?

Posted On: April 12, 2023
I wrote some notes on sign, if I leave that Minecraft Realm will my signs disappear or still be there? Question from user pickle at gaming.stackexchange.com. Answer: If this one below is the ...[More]


Double cursor in Skyrim Double cursor in Skyrim

Posted On: April 6, 2023
Since I've installed Dawnguard and Hearthfire, when ever I do an Alt-Tab and come back to the game I get the windows cursor and the game cursor. And both are not sync over each other so it's k...[More]


Red x by easy difficulty in Black Ops 2 Zombies Red x by easy difficulty in Black Ops 2 Zombies

Posted On: May 28, 2023
Does anyone know why there is a red "x" by easy when you change the difficulty to easy on zombies? Question from user Gmoneyrocks at gaming.stackexchange.com. Answer: The red 'X...[More]