DimensionType and LevelStem API - #12119
Draft
Machine-Maker wants to merge 2 commits into
Draft
Conversation
Machine-Maker
force-pushed
the
feature/custom-level-stem
branch
from
June 21, 2025 06:18
f1f02f6 to
a214c5b
Compare
Lulu13022002
force-pushed
the
feature/custom-level-stem
branch
from
May 8, 2026 17:42
3c183c0 to
14624b6
Compare
Lulu13022002
force-pushed
the
feature/custom-level-stem
branch
from
June 26, 2026 18:32
98b9010 to
0a224f5
Compare
Machine-Maker
force-pushed
the
feature/custom-level-stem
branch
from
August 8, 2026 19:23
0a224f5 to
4b40b47
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets you create custom dimension types and levelstems. This hooks into the vanilla way of creating new dimensions by modifing the levelstem registry.
This can easily be used to just break worlds as you can modify existing worlds, like change the overworld to use the nether-like chunk generator and the overworld will just switch.
Resolves #12110
I like the pattern I added here for
copyGeneratorFromsince I don't want to add all needed API to create instances of chunk generators, so this just allows you to copy it from elsewhere. We can use this in future registry API when we don't want to go all the way.