PaperMC / PaperMC/Paper

Disabling chunk generation below Y=0 does not work

Open
#11,531 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: accepted type: bug version: 1.21.1
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

Chunk generation below Y=0 to be disabled in existing chunks when a 1.12.2 world is migrated to 1.21.1 when setting below-zero-generation-in-existing-chunks: false in spigot.yml.

Observed/Actual behavior

World migrates successfully, but generates chunks below Y=0 when players move around

Steps/models to reproduce
  1. Start new paper-1.21.1-128 server in empty directory
  2. Accept EULA
  3. Restart server to generate default configs
  4. Stop server
  5. Change below-zero-generation-in-existing-chunks to false in spigot.yml
  6. Delete world/
  7. Copy 1.12.2 world into directory to replace world/
  8. Start server
  9. Join server and fly below Y=0 in spectator mode
Plugin and Datapack List

/plugins: None
/datapack list: There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]

Paper version

This server is running Paper version 1.21.1-128-master@d348cb8 (2024-10-21T16:23:24Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: git-Paper-550 (MC: 1.19.4)

Other

No response

Contributor guide

Open the contributing guide

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 migration with below-zero-generation-in-existing-chunks set to false in spigot.yml, then trace the setting through existing-chunk handling and chunk generation. Confirm the behavior in a migrated 1.12.2 world by flying below Y=0; done means no chunks below Y=0 are generated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.