Conversation
Minecraft 26.1 ships deobfuscated, so the build no longer remaps: - Switch the Loom plugin to net.fabricmc.fabric-loom (non-remap), drop the mappings line, and use implementation/jar instead of modImplementation/remapJar. - Bump Gradle to 9.5.1 and target Java 25 (required by 26.1). - Update deps: MC 26.1.2, Loader 0.19.3, Loom 1.17.11, Fabric API 0.151.0+26.1.2. Fix API calls changed in 26.1: - Difficulty.getKey() -> getSerializedName() - weather/day-time moved off LevelData to Level (isRaining/isThundering, getOverworldClockTime; getDayCount removed -> clockTime / 24000) Release the 26.1 line as 2.0.0; Modrinth versionNumber now includes the MC version (2.0.0+26.1.2) so the 1.21.11 and 26.1 lines stay unique.
- README/CLAUDE: Minecraft 26.1.2, Java 25, deobfuscated API inspection notes.
- MODRINTH_README is the single shared Modrinth body, so keep it version-agnostic
(covers both the 1.21.11 and 26.1 lines).
- Document the one-branch-per-MC-version strategy and the ${mod_version}+${mc}
Modrinth versioning scheme.
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.
Ports the mod to Minecraft 26.1.2 (the first deobfuscated Minecraft release).
mainmoves to the 26.1 line; the existing 1.21.11 line is preserved on the new1.21.11branch for back-support.Build / toolchain
net.fabricmc.fabric-loom(non-remap — 26.1 ships deobfuscated); dropped themappingsline;implementation/jarinstead ofmodImplementation/remapJar.Code changes (26.1 API)
Difficulty.getKey()→getSerializedName()LevelData→Level.isRaining()/isThundering(),Level.getOverworldClockTime()(new WorldClock);getDayCount()removed → derived asclockTime / 24000Versioning
versionNumbernow embeds the MC version (2.0.0+26.1.2) so the 1.21.11 and 26.1 lines never collide.MODRINTH_README.mdmade version-agnostic (it is the single shared Modrinth project body).Testing
./gradlew buildgreen on JDK 25.runServeron 26.1.2: boots clean;/api/server→version: 26.1.2,difficulty: easy;/api/world→ time/weather/difficulty all correct.