What I expected to happen was...:
When I killed the ender dragon I should have got the "Free the End" advancement.
What actually happened was...:
The ender dragon died normally but I didn't get any advancement for killing it.
Steps to Reproduce:
1. Go through the end portal.
2. Kill the ender dragon using a bed.
Linked issues
is duplicated by 4
relates to 1
Attachments
Comments 9
You can't detect the damage/killing of any mob of an exploding bed/respawn anchor with an advancement. See MC-165109.
As far as I know, this issue's been dealt with by the latest version of 1.16 Bedrock (1.16.4?), it's strange that it hasn't been dealt with in Java.
That said, if the devs see this, the game should be tracking the hitbox of the dragon, and not necessarily how damage is dealt. When hitbox reaches 0, regardless of the means (because it doesn't seem fair that tnt explosions count and not bed/anchor explosions), the dragon triggers its death sequence, which acts as a trigger for awarding the advancement to the player. If the current trigger is tracking the hitbox and how damage is dealt, then trigger the devs could implement should be the dragon's death sequence.
To prevent mix-ups, a world's starting dragon and a dragon hatched from the dragon egg using end crystals should (and probably do) have separate identifiers, so that when that particular dragon dies and triggers its death sequence (which visually look the same but should also be separately identified in the code. It likely is, but for some reason, I guess it doesn't identify death by bed/respawn anchor explosions?), it awards the correct advancement: "Free the End" (if it's still called that in Java, I know Bedrock changed it to "The End.") versus "The End... Again."
@Sadie Farron, how would your proposed solution work in multiplayer? Would all players (or maybe just all players in the End dimension) receive the advancement when the dragon dies? Would a player who first joins the server after the dragon's first death be able to obtain "Free the End"?
Can confirm for 1.14.4 and 1.15-pre1