Skip to content

DimensionType and LevelStem API - #12119

Draft
Machine-Maker wants to merge 2 commits into
PaperMC:mainfrom
Machine-Maker:feature/custom-level-stem
Draft

DimensionType and LevelStem API#12119
Machine-Maker wants to merge 2 commits into
PaperMC:mainfrom
Machine-Maker:feature/custom-level-stem

Conversation

@Machine-Maker

@Machine-Maker Machine-Maker commented Feb 15, 2025

Copy link
Copy Markdown
Member

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.

image

Resolves #12110


I like the pattern I added here for copyGeneratorFrom since 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.

@lynxplay lynxplay added type: feature Request for a new Feature. scope: api labels Feb 16, 2025
@Machine-Maker
Machine-Maker force-pushed the feature/custom-level-stem branch from f1f02f6 to a214c5b Compare June 21, 2025 06:18
@Lulu13022002
Lulu13022002 force-pushed the feature/custom-level-stem branch from 3c183c0 to 14624b6 Compare May 8, 2026 17:42
@Lulu13022002
Lulu13022002 force-pushed the feature/custom-level-stem branch from 98b9010 to 0a224f5 Compare June 26, 2026 18:32
@Machine-Maker
Machine-Maker force-pushed the feature/custom-level-stem branch from 0a224f5 to 4b40b47 Compare August 8, 2026 19:23
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: Awaiting review

Development

Successfully merging this pull request may close these issues.

Expose World Presets for world creation

2 participants