PaperMC / PaperMC/Folia

Can not spawn ender dragon in overworld

Open
#427 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage type: bug
Dominant language
Shell
Stars
4.4k
Forks
623
PR merge metrics
No merged PRs in 30d

Description

Expected behavior

Ender dragon spawns

Observed/Actual behavior

When using summon to summon a dragon far from 0,0, the dragon did not appear as expected; instead, it appeared briefly, was immediately deleted, and an error was thrown, but server not crashed.

Steps/models to reproduce

Go away from 0,0
Then wait for chunk 0,0 unload
Summon a ender dragon

Plugin and Datapack List

No plugin provided

Folia version

1.21.11-6-ver/1.21.11@0795007

Other

We have try almost main version of folia, this bug may can reproduced in all the folia versions.

Resolution from Luminol: https://github.com/LuminolMC/Luminol/blob/ver/1.21.11/luminol-server/minecraft-patches/features/0073-Sync-dragon-part-when-teleportation-or-firstly-creat.patch

Original issue: https://github.com/LuminolMC/Luminol/issues/167

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the summon sequence after moving away from 0,0 and waiting for chunk 0,0 to unload. Compare the behavior with Luminol's linked resolution patch and investigate the reported deletion and error. Done means an ender dragon summoned in this situation remains present without an error or server crash.

Written by the indexing model from the issue text.

Assessment

Domain
backend, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.