Skip to content

Build Minecraft 1.21.4 to 1.21.11 from main - #22

Merged
ZephByte merged 3 commits into
mainfrom
feature/legacy-1.21-versions
Nov 14, 2026
Merged

ZephByte merged 3 commits into
mainfrom
feature/legacy-1.21-versions

Conversation

@ZephByte

@ZephByte ZephByte commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Brings the versions that used to live on separate branches into the Stonecutter build, so main now produces jars for 1.21.4, 1.21.5, 1.21.7 to 1.21.11 and 26.1 to 26.3 from one source tree. The 1.21.x jars get everything from v2.0.0 (TOML config, migration, per-dimension countdown).

  • Switched to the remapping fabric-loom plugin. 1.21.x uses Mojang mappings (1.21.4 to 1.21.9 no longer use Yarn), 26.x uses the intermediary passthrough
  • 1.21.x jars target Java 21, 26.x stays on Java 25. Dev servers launch on the matching Java
  • Per-version pins in versions/1.21.*/gradle.properties, taken from the old branches
  • Version differences in source via //? blocks: EndDragonFight vs EnderDragonFight, the end tick event, and the action bar message
  • Permission checks and chat click/hover events go through VersionCompat.kt, since the permissions API is 1.21.11+ and the click/hover records are 1.21.5+
  • README compatibility updated
  • CHANGELOG v2.0.0 now lists 1.21.x, and a temporary Backfill 1.21.x into v2.0.0 workflow (manual run only) adds the 1.21.x jars to the existing v2.0.0 GitHub Release and Modrinth. It gets removed after it runs

Merging doesn't publish anything; the backfill workflow is run by hand afterwards.

Testing

  • ./gradlew build builds all 10 versions
  • Checked each jar: correct Minecraft range, night-config nested, 1.21.x jars remapped to intermediary and compiled for Java 21
  • Booted a dev server on every 1.21.x version: legacy .properties imported (8 settings), /scaleddragonfight reload works over RCON, End loads with no mixin errors
  • Booted 26.1, 26.2 and 26.3 after the plugin switch

Was AI used for this PR?

Yes, AI pulled the old version from previous branches and split them with stonecutter,

@ZephByte
ZephByte merged commit 233edce into main Nov 14, 2026
1 check passed
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.

1 participant