Skip to content

26.1 compiles#3506

Open
emmanuelvlad wants to merge 6 commits intoIntellectualSites:feat/mc-26.1from
emmanuelvlad:feat/mc-26.1
Open

26.1 compiles#3506
emmanuelvlad wants to merge 6 commits intoIntellectualSites:feat/mc-26.1from
emmanuelvlad:feat/mc-26.1

Conversation

@emmanuelvlad
Copy link
Copy Markdown

@emmanuelvlad emmanuelvlad commented Apr 8, 2026

Overview

Made it compile on 26.1
Renamed adapter 26.1 to 26_1 (to keep the same syntax)
Removed reobf for new Minecraft versions (26.1 and above)

Submitter Checklist

  • Make sure you are opening from a topic branch (/feature/fix/docs/ branch (right side)) and not your main branch.
  • Ensure that the pull request title represents the desired changelog entry.
  • New public fields and methods are annotated with @since TODO.
  • I read and followed the contribution guidelines.

@emmanuelvlad emmanuelvlad requested a review from a team as a code owner April 8, 2026 00:21
@SirYwell
Copy link
Copy Markdown
Member

SirYwell commented Apr 8, 2026

Renamed adapter 26.1 to 26_1 (to keep the same syntax)

This was intentional to be closer to the WE adapters.

@emmanuelvlad
Copy link
Copy Markdown
Author

Renamed adapter 26.1 to 26_1 (to keep the same syntax)

This was intentional to be closer to the WE adapters.

Oops, thought it was a mistake, I renamed it back to 26.1

? PrimaryLevelData.SpecialWorldProperty.DEBUG
: PrimaryLevelData.SpecialWorldProperty.NONE;
PrimaryLevelData newWorldData = new PrimaryLevelData(newWorldSettings, newOpts, specialWorldProperty, Lifecycle.stable());
PaperWorldLoader.LoadedWorldData loadedWorldData = new PaperWorldLoader.LoadedWorldData(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This only works on Paper I guess? Is there an easy way to make it work on Spigot? Otherwise it might make sense to fail regeneration more gracefully on Spigot.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Indeed, paperweight overrides the only constructor on ServerLevel, requiring an extra argument PaperWorldLoader.LoadedWorldData

I added a throw exception on regenerations if the server is not Paper, let me know if it's what you had in mind!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants