Skip to content

Add an option to WorldCreator to avoid spawn location computation on world creation#13407

Merged
Owen1212055 merged 28 commits intomainfrom
feat/spawnloc-creation
Apr 25, 2026
Merged

Add an option to WorldCreator to avoid spawn location computation on world creation#13407
Owen1212055 merged 28 commits intomainfrom
feat/spawnloc-creation

Conversation

@Owen1212055
Copy link
Copy Markdown
Member

@Owen1212055 Owen1212055 commented Dec 20, 2025

This reduces world creation for vanilla worlds from ~1 second to 20ms.

@Owen1212055 Owen1212055 requested a review from a team as a code owner December 20, 2025 03:20
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Dec 20, 2025
@Owen1212055 Owen1212055 changed the title Add an option to WorldCreator to avoid spawn location computation on … Add an option to WorldCreator to avoid spawn location computation on world creation Dec 20, 2025
Copy link
Copy Markdown
Member

@Malfrador Malfrador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very happy this finally gets added to WorldCreator itself. LGTM, I only have a minor Javadocs suggestion.

Comment thread paper-api/src/main/java/org/bukkit/WorldCreator.java Outdated
@Owen1212055 Owen1212055 moved this from Awaiting review to PR Party candidate in Paper PR Queue Dec 20, 2025
Comment thread paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch Outdated
@github-project-automation github-project-automation Bot moved this from PR Party candidate to Changes required in Paper PR Queue Dec 20, 2025
@jpenilla jpenilla self-requested a review December 20, 2025 22:02
@Owen1212055 Owen1212055 force-pushed the feat/spawnloc-creation branch from 81130d3 to 672fa59 Compare December 27, 2025 21:29
@lynxplay lynxplay moved this from Changes required to PR Party candidate in Paper PR Queue Dec 27, 2025
@lynxplay
Copy link
Copy Markdown
Contributor

Code LGTM on read now, need to test

@Warriorrrr Warriorrrr added type: feature Request for a new Feature. scope: api labels Feb 9, 2026
Lulu13022002 and others added 4 commits February 9, 2026 21:04
# Conflicts:
#	paper-api/src/main/java/org/bukkit/WorldCreator.java
#	paper-server/patches/features/0001-Moonrise-optimisation-patches.patch
#	paper-server/patches/features/0002-Rewrite-dataconverter-system.patch
#	paper-server/patches/features/0005-Entity-Activation-Range-2.0.patch
#	paper-server/patches/features/0020-Incremental-chunk-and-player-saving.patch
#	paper-server/patches/features/0025-Optimise-EntityScheduler-ticking.patch
#	paper-server/patches/features/0029-Optimize-Hoppers.patch
#	paper-server/patches/sources/net/minecraft/server/MinecraftServer.java.patch
#	paper-server/patches/sources/net/minecraft/world/level/storage/LevelStorageSource.java.patch
#	paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@Owen1212055
Copy link
Copy Markdown
Member Author

Simplified, not bothering with the dimension folders anymore.

@Owen1212055 Owen1212055 merged commit a8c05a3 into main Apr 25, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from PR Party candidate to Merged in Paper PR Queue Apr 25, 2026
@Owen1212055 Owen1212055 deleted the feat/spawnloc-creation branch April 25, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: api type: feature Request for a new Feature.

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

6 participants