mojira.dev
MC-902

The end obsidian platform resets every time entities go through the end portal, which can cause blocks to be deleted

The Bug:

The end obsidian platform resets every time entities go through the end portal, which can cause blocks to be deleted.

This notably results in containers like chests or shulker boxes which might contain valuable items within them being deleted.

Steps to Reproduce:

  1. Enter the end by using an end portal.

  2. Place some blocks on top of and around the obsidian platform that you spawn on.

  3. Take note of the blocks that you've just placed.

  4. Run the "/kill" command.

  5. Enter the end once again and attempt to locate the blocks you just previously placed.

  6. Take note as to whether or not the end obsidian platform resets every time entities go through the end portal, which can cause blocks to be deleted.

Observed Behavior:

The end obsidian platform resets every time entities go through the end portal, which can cause blocks to be deleted.

Expected Behavior:

Blocks on the end obsidian platform would not be deleted every time an entity goes through the end portal.

Code Analysis:

Code analysis by @unknown can be found below.

The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.

net.minecraft.world.entity.Entity.java

public abstract class Entity implements Nameable, EntityAccess, CommandSource {
   ...
   public Entity changeDimension(ServerLevel $sl) {
      if (this.level instanceof ServerLevel && !this.isRemoved()) {
         ...
         if (portalinfo == null) {
            return null;
         } else {
            ...
            if (entity != null) {
               ...
               if ($sl.dimension() == Level.END) {
                  ServerLevel.makeObsidianPlatform($sl);
               }
            }
            ...

If we look at the above class, we can see that when an entity enters the end portal, the makeObsidianPlatform() method is called. This method completely regenerates the end obsidian platform (including the space above), causing blocks previously placed at its position to be deleted.

Linked issues

MC-1314 Obsidian Generator In The End Resolved MC-4102 Chests dissapear if they are placed on the spawning platform in the End Resolved MC-29268 Blocks placed on end spawn platform disappear Resolved MC-32477 Chests vanish Resolved MC-155127 Chests on the End Spawn Plattform disappeared Resolved
MC-273945 Unlike end portals, nether portals do not drop replaced blocks, which can result in major item loss Open MC-108605 Attached blocks on End platform sometimes drop Open MC-136525 Structure block destroy blocks instead of replacing blocks Open MCPE-182118 The end obsidian platform resets every time players go through the end portal, which can cause blocks to be deleted Reopened MC-160140 Shulker boxes on the obsidian platform are destroyed and do not drop when a player enters the End Resolved

Attachments

Comments 37

Intended. The spawn platform and the air above it are reset each time someone enters the end.

Tip: Don't place your chests on it.

Oh okay thanks.
But isn't it still a bid stupid, that it resets everytime?

If it didn't reset, then someone could fill it with blocks and when you went through, you'd suffocate.

Nether portals have a bit of space in them already so that can't happen with them.

Oh wauw, hadn't thought about that. Well thanks for clarifying this for me.

Dennis Gründel

ye if this is a permanent thing.. pls put it in the Wiki. It is very disappointing.

27 more comments

Can confirm in 23w03a

Can confirm in 23w04a

Can confirm in 23w05a

Can confirm in 23w06a

Can reproduce in 1.21 Pre-1

EDIT: According to Kingbodgz' tweet (https://x.com/kingbdogz/status/1795823127362154962) this cannot be reproduced in 1.21 Pre-1

ms

Avoma

Shugoh

Confirmed

Platform

Normal

Block states

Minecraft 1.4.2, 1.14.4, 1.16.1, 1.16.3, 1.16.4 Pre-release 1, ..., 1.20 Release Candidate 1, 1.20, 1.20.1, 24w11a, 1.20.6

1.21 Pre-Release 1

Retrieved