When trying to teleport a mob from the End to the Overworld, it teleports to -64 height below world spawn.
open the attached End Gateway Test.mcworld
enter /setworldspawn 0 64 0
enter /tp @s 0 -64 0 and confirm that no shulker is present
enter /execute in the_end run tp @s 0 100 0
enter /kill @e[type=ender_dragon]
place an endstone block next to the end gateway
place two rail and a minecart
place a shulker next to the minecart using the shulker spawn egg so that it is collected by the minecart
push the minecart containing the shulker into the end gateway
break the minecart causing the shulker to teleport to the overworld
Enter the end gateway and you will teleport in the overworld at 0 64 0
enter /tp @s 0 -64 0 and confirm that the shulker is teleporting into the void at 0 -64 0
Linked issues
duplicates 1
Attachments
Comments 2
Thanks for your report. In this case we are continuing to track the issue at MCPE-157125.
Further testing shows that setting world spawn successfully solves the problem if a block is available at the world spawn y level for the mob to tp to. I tested by creating a normal and a flat world instead of the attached void world.
Prior to setting world spawn, the normal world shulkers disappeared. I could not find them or get them to say hi using /execute as @e[type = shulker] run say hi. Unclear where they went.
After setting worldspawn to the players present location on the surface, Shulkers consistently appeared at the user set world spawn.
On the flat world, shulkers went to the void and then teleported to the surface. After setting the world spawn, they teleported to the user defined overworld world spawn. If all blocks between world spawn and the void are removed using a fill command, the shulkers will appear in the void as if world spawn was not set. Thank you to Zetec for pointing this out.