If you were to go through an end portal, an obsidian platform will generate where you enter, but that platform is off by a block up if you enter from the nether. I would think that this is not meant to happen and is supposed to be at the same height regardless of dimension you enter from.
Linked issues
is duplicated by 1
Attachments
Comments 3
To add more specific details, normally entering an End portal creates an obsidian platform at Y=48 and teleports the player to Y=49, but if you create an End portal in the Nether (e.g. using creative mode or `/setblock`), it instead creates the platform at Y=49 and teleports the player to Y=50. The X and Z coordinates are the same.
An example of why this is a problem is that it leads to builds around the platform appearing to be offset depending on which dimension you enter from (which is irritating for me as a mapmaker trying to use all three dimensions–I have to use commands to fix this in my map).
Code analysis (Mojang mappings, 1.19.2): ServerPlayer#changeDimensions(ServerLevel)
calls ServerPlayer#findDimensionEntryPoint(ServerLevel)
. This method adds (0.0, -1.0, 0.0)
(one block below) to the portal info position when the player is moving from the overworld to the End, but not when it is moving from the Nether to the End. This position is later used to teleport the player and create the end platform via createEndPlatform(ServerLevel, BlockPos)
.
The reason why this is done only when the player is teleporting from the overworld is not clear to me.
Relates to MC-185202