-
Bug
-
Resolution: Unresolved
-
None
-
1.16.3, 1.19.2
-
None
-
Windows 8.1, Vanilla Minecraft 1.16.3 running Java 1.8 using 2GB of RAM.
-
Confirmed
-
(Unassigned)
Improved description by osfanbuff63
The Bug:
When you die in the Nether (or End), the minecraft:changed_dimension advancement trigger does not trigger.
Steps to Reproduce:
- Download the data pack from the attachments (the .zip file)
- Create a new world with cheats on and run `/execute in minecraft:the_nether run tp ~ ~ ~` Note: You may need to teleport around a bit depending on your spawn
- Run `/execute in minecraft:overworld run tp ~ ~ ~` and notice the advancement triggered. (You will see a message in chat saying `You've changed dimension to Overworld!`
- Run the command from step 2, but afterwards this time kill yourself in some way.
- Notice the advancement did not trigger this time.
Expected Behavior:
The advancement would trigger as you spawned back in the Overworld.
Actual Behavior:
The advancement does not trigger.
Original Description:
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 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.
In attachments I provide the dim_change.json advancement and reward function foo.mcfunction files.