Update this mod to support Minecraft 1.21.4
- User
Update this mod to support Minecraft 1.21.4
- Assistant
To update the Distant Horizons mod to support Minecraft version 1.21.4, you would need to follow several steps to ensure compatibility with the new Minecraft version. Below are the detailed steps based on the repository context provided:
Steps to Update Distant Horizons Mod for Minecraft 1.21.4
-
Update Version Information:
- In your
Readme.mdfile, under the "Minecraft and Library Versions" section, add support for Minecraft 1.21.4. You'll need to specify the appropriate versions for Fabric, Forge, and any other dependencies. Here’s a sample of how to add it:
markdown#### 1.21.4 Fabric: 0.15.x\ Fabric API: X.X.X+1.21.4\ Forge: X.X.X\ NeoForge: X.X.X\ Parchment: 1.21.4:YYYY.MM.DD\ Modmenu: X.X.XMake sure to replace
X.X.Xwith the actual versions based on your updates or the latest releases. - In your
-
Modify the Build Configuration:
- In the
build.gradlefile (or wherever your Gradle configuration is defined), ensure that the Minecraft version is set to 1.21.4. You can do this by updating themcVerproperty:
gradleext { mcVer = '1.21.4' // Change this line to 1.21.4 }If you have a
gradle.propertiesfile, update themcVerproperty there as well. - In the
-
Update the
.gitlab-ci.ymlFile:- You need to add 1.21.4 to the list of Minecraft versions in the CI configuration file to ensure it builds correctly during automated builds. Modify the
buildstage:
[Redactedbuild: stage: build parallel: matrix: - MC_VER: ["1.16.5", "1.17.1", "1.18.2", "1.19.2", "1.19.4", "1.20.1", "1.20.2", "1.20.4", "1.20.6", "1.21.1", "1.21.3", "1.21.4"] # Added 1.21.4 - You need to add 1.21.4 to the list of Minecraft versions in the CI configuration file to ensure it builds correctly during automated builds. Modify the
-
Check for Deprecated or Changed APIs:
- Review the Minecraft 1.21.4 release notes and the Minecraft source code for any changes to APIs that your mod might be using. This includes checking for:
- Review the Minecraft 1.21.4 release notes and the Minecraft source code for any changes to APIs that your mod might be using. This includes checking for:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.