When a column of blocks are placed above the bedrock altar in the center of the end and the ender dragon perches, they will rest atop the column of blocks.
Steps to reproduce
Place a column of however many blocks above the center of the altar
Wait until the dragon perches and observe where it rests
Code analysis
Code analysis by @unknown can be found in this comment.
Linked issues
relates to 3
testing discovered 1
Attachments
Comments 17
This bug also exists in MCPE.
Removing the blocks from the alter causes the dragon to get stuck trying to pathfind to the podium (which technically doesn't exist anymore).
Relates to MC-88371.
Can confirm in 20w51a.
Can confirm in 21w03a.
Affects 22w13a

In 1.18.2 and 22w15a.

The same code causes this issue and MC-88371. Code analysis by @unknown from that ticket, using 22w15a Mojang mappings:
In DragonLandingPhase#doServerTick(...)
:
...
if (this.targetLocation == null) {
this.targetLocation = Vec3.atBottomCenterOf(this.dragon.level.getHeightmapPos(Heightmap.Types.MOTION_BLOCKING_NO_LEAVES, EndPodiumFeature.END_PODIUM_LOCATION));
}
...
END_PODIUM_LOCATION
is BlockPos.ZERO
, which is (0, 0, 0)
. So, the ender dragon's fly target location is set to the highest non-leaves block located at (0, 0)
.

Affects 24w40a. I'd like to request ownership to maintain this report

Can confirm in 1.21.3
Can confirm
MC-193949 mentioned this, but ticket was not related to this issue. I'd say this is the valid one of the two.