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]

Hogwarts Legacy: whats this symbol next to my little dude mean? Hogwarts Legacy: whats this symbol next to my little dude mean?

Posted On: March 10, 2023
Question from user Ocasiohgodno at HogwartsLegacyGaming at reddit.com. Answer: It means it has a rare coloration. I don’t know the official term, but people have taken to calling them &ldq...[More]


Do bows do double damage when they break Breath Of The Wild? Do bows do double damage when they break Breath Of The Wild?

Posted On: July 27, 2023
In BotW and TotK, an attack with a melee weapon that causes said weapon to break will do twice as much damage as a normal attack. Does this rule also hold true for bow attacks? Just to be clear, I wan...[More]


Quest for Glory 3 honey issues Quest for Glory 3 honey issues

Posted On: June 12, 2023
I'm playing Quest for Glory 3 (fully patched) in Dosbox but I'm a bit stuck. I discovered the location with the bees but had no honey at that stage. I left and the bee map marker appeared o...[More]


What is a Double Perfect? What is a Double Perfect?

Posted On: January 15, 2023
I recently noticed an achievement in Runner2 called "Double Perfectionist". The text says I need to:. Get two Double Perfects in Each World. Problem is, I have no idea what a Double Pe...[More]


How Can I Recall the Diablo Region Progress Screen? How Can I Recall the Diablo Region Progress Screen?

Posted On: June 6, 2023
When you complete certain milestones in a region, you are presented with the Region Progress screen. Is there a way to recall this screen, so that I can check my progress? Or does it only show up w...[More]


Is there a Minecraft command for changing biomes? Is there a Minecraft command for changing biomes?

Posted On: August 1, 2023
Is there a command in vanilla Minecraft to change the biome of an area? Question from user Kimatuy at stackexchange. Answer: No, there isn't, and I don't think any mod can do this. ...[More]


In Zelda TOTK, What materials do you need to repair the Champion Weapons? In Zelda TOTK, What materials do you need to repair the Champion Weapons?

Posted On: May 23, 2023
After constructing the Boulder Breaker, the goron smith informed me that he would be able to repair it if it breaks, given the materials. What materials do you need to repair the Boulder Breaker? I...[More]


how to make dwarves happier in Dwarf Fortress? how to make dwarves happier in Dwarf Fortress?

Posted On: April 28, 2023
Most of my dwarves are not happy, and I don't know how to make them happier in general. So, how can I properly make at least the angrier of them less unhappy/more happy? I really want to pre...[More]


How is profit from gambling paid out? How is profit from gambling paid out?

Posted On: January 25, 2023
Normally, with a trade port, the payment for your wares shows up all few days when they sell.With gambling however, this is different. There is no direct payout as far as I can see and it is also not ...[More]


About the Emperor and Orpheus About the Emperor and Orpheus

Posted On: June 7, 2024
I'll say right away that this is not a debate about who is better, just information.Lately, I've often been told that the Emperor is evil only because the illithids in the bestiary are monsters and ar...[More]