mojira.dev
MC-298184

Ender pearl chunk loader does not reload after defeating the dragon for the first time.

Setup:

  • Ender dragon not yet defeated.

  • Ender pearl statis chamber setup, in a chunk far enough away from player spawn point or from spawn chunk. This is important because when you defeat the dragon later (explained bellow), and you respawn in the overworld, then that ender-pearl loaded chunk does not overlap with the player loaded chunks or spawn chunks.

  • Can easily be setup in creative, but the bug was initially observed in a pure survival world.

With the above setup (you can use tools like ChunkDebug mod), you can see that the chunk with the pearl stasis chamber is loaded, along with entity non-processing chunks around it (i.e. “Lazy” chunks). The pearl chunk gets an ender pearl ticket of 31.

You can also travel to the Nether, back to the overworld, close session and re-open it, etc. and the pearl chuck gets re-loaded when the game restart.

Issue:

  • Go the The End

  • Defeat the dragon for the first time

  • Go through the portal to come back to the overworld.

  • Take some time to enjoy the end poem/credits (or just skip it).

Observations

  • Once returned to the overworld, the ender-pearl chunk does NOT get re-loaded.

  • The pearl is still there, but the chunk gets reloaded (and stay active afterward) after you reload that chunk by going to the statis chamber location.

  • This issue does NOT occur the second time you go to the end and come back, or when you defeat the dragon a second time.

  • In other words, issue only occurs when returning from the ending credits.

Comments 3

Issues must be 100% reproducible in a vanilla instance of the game, please try and find a way to reproduce the bug without the need of any external tools or mods.

This is reproducible easily in vanilla, and can easily be visualized with the help of some command blocks.

Steps:

  • Create a new creative mode world. For convenience, you can create a superflat, “redstone ready” world, with mob spawning disabled.

  • Go to a chunk far away from spawn

    • /tp 1000 ~ 16

  • Give yourself a repeating command block

    • /give @p minecraft:repeating_command_block

  • Disable command block outputs, so the following steps will not flood your console

    • /gamerule commandBlockOutput false

  • Place down one command block, with following settings:

    • Command: execute store result score @a time run time query daytime

    • Repeat, Unconditional, Always Active

  • Place down a second command command block, with following settings:

    • Command: title @a actionbar {"score":{"objective":"time","name":"@a"}}

    • Repeat, Unconditional, Always Active

  • Add scoreboard objective:

    • /scoreboard objectives add time dummy

You should have an onscreen timer showing the current game tick. This will be updated only if the chunk containing the command blocks are loaded.

You can verify that going back to 0/0 will unload the “far away” chunk

  • /tp 0 ~ 0 (Timer stops)

  • /tp 1000 ~ 8 (Timer starts)

Now, create a simple bubble column ender pearl stasis chamber, and place a pearl in stasis.

You can now verify that this chunk will always stay loaded.

  • /tp 0 ~ 0 (Timer continue)

  • Close session and restart, time continue.

  • Go to the end: /execute in the_end run tp @p 0 68 0 (timer continues)

Kill Ender dragon

  • /kill @e[type=minecraft:ender_dragon]

  • Dragon is dead, portal is opened, timer continue.

Jump through the portal, and skip the end credits.

Result:

Timer is stopped (ender pearl chunk is not reloaded).

TP back to command blocks chunk

  • /tp 1000 ~ 8

Timer restart (and will keep going on afterward, even if you kill the dragon another time, or come back from the end portal a second time).

Testing is needed to see if the fix for MC-289348 resolves this issue.

It seems this issue is the same as MC-299770 , but instead of the death of a player causing a pearls chunks to permanently deload, it’s the end credits.

@Jingy you can easily replicate this issue by using the example world in MC-299770, but instead of using /kill jump through the exit gateway portal, and trigger end credits.

Eric Hoffman

(Unassigned)

Confirmed

Chunk loading

1.21.5

Retrieved