Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-203100

Teleport after death doesn't trigger minecraft:changed_dimension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.3
    • None
    • Windows 8.1, Java 1.16.3 running OpenJDK 14 using 2GB of RAM. On modded file using Fabric with Lithium/Phosphor/Sodium mods installed.
    • Unconfirmed
    • (Unassigned)

      As in the title. I was trying diffrent things with advancement trigger minecraft:changed_dimension and noticed it doesnt trigger when player gets teleported to spawn-point after death.

       

      I've created example datapack with simple advancement checking for dimension change from The Nether to Overwold. Which rewards function foo:bar which simply displays message in chat saying "You've changed dimension to Overworld!" and to revokes said advancement.

      First test was teleporting from The Nether to Overworld using: 

      // execute in minecraft:overworld run teleport @p ~ ~ ~
      

      Which worked as expected and triggered the advancement.

      Upon dying however, when player got teleported to his orginal spawn-point set in Overworld the trigger didn't fire.

            Unassigned Unassigned
            Kriomentos Kreeo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: