mojira.dev
MCPE-190616

Non-player entities teleport to Y-64 height when transported from the End to the Overworld

When trying to teleport a mob from the End to the Overworld, it teleports to -64 height below world spawn.

  1. open the attached End Gateway Test.mcworld

  2. enter /setworldspawn 0 64 0

  3. enter /tp @s 0 -64 0 and confirm that no shulker is present

  4. enter /execute in the_end run tp @s 0 100 0

  5. enter /kill @e[type=ender_dragon]

  6. place an endstone block next to the end gateway

  7. place two rail and a minecart

  8. place a shulker next to the minecart using the shulker spawn egg so that it is collected by the minecart

  9. push the minecart containing the shulker into the end gateway

  10. break the minecart causing the shulker to teleport to the overworld

  11. Enter the end gateway and you will teleport in the overworld at 0 64 0

  12. enter /tp @s 0 -64 0 and confirm that the shulker is teleporting into the void at 0 -64 0

Linked issues

Attachments

Comments 2

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.

Thanks for your report. In this case we are continuing to track the issue at MCPE-157125.

Mach

(Unassigned)

Unconfirmed

Windows

Windows 10

1.21.61 Hotfix

Retrieved