Skip to content

Commit 905ef73

Browse files
committed
feat: Update to Minecraft 26.1
1 parent 6af59b4 commit 905ef73

13 files changed

Lines changed: 218 additions & 222 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-java@v4
2828
with:
29-
java-version: 21
29+
java-version: 25
3030
distribution: 'microsoft'
3131

3232
- name: Setup Gradle

build.gradle

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "fabric-loom" version "${loom_version}"
2+
id "net.fabricmc.fabric-loom" version "${loom_version}"
33
id "com.modrinth.minotaur" version "2.+"
44
}
55

@@ -56,16 +56,15 @@ loom {
5656
dependencies {
5757
// To change the versions see the gradle.properties file
5858
minecraft "com.mojang:minecraft:${project.minecraft_version}"
59-
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
60-
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
59+
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
6160

6261
// Fabric API. This is technically optional, but you probably want it anyway.
63-
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
62+
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
6463

6564
// Uncomment the following line to enable the deprecated Fabric API modules.
6665
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
6766

68-
// modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
67+
// implementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}"
6968
}
7069

7170
processResources {
@@ -77,7 +76,7 @@ processResources {
7776
}
7877

7978
tasks.withType(JavaCompile).configureEach {
80-
it.options.release = 21
79+
it.options.release = 25
8180
}
8281

8382
java {
@@ -86,8 +85,8 @@ java {
8685
// If you remove this line, sources will not be generated.
8786
withSourcesJar()
8887

89-
sourceCompatibility = JavaVersion.VERSION_21
90-
targetCompatibility = JavaVersion.VERSION_21
88+
targetCompatibility = JavaVersion.VERSION_25
89+
sourceCompatibility = JavaVersion.VERSION_25
9190
}
9291

9392
jar {
@@ -100,7 +99,7 @@ modrinth {
10099
token = System.getenv("MODRINTH_TOKEN")
101100
projectId = "scripts-chunk-loaders"
102101
versionType = "release"
103-
uploadFile = remapJar
102+
uploadFile = jar
104103
gameVersions = [project.minecraft_version]
105104
dependencies {
106105
required.project "fabric-api"

gradle.properties

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.21.11
8-
yarn_mappings=1.21.11+build.4
9-
loader_version=0.18.4
7+
minecraft_version=26.1
8+
loader_version=0.18.6
109
loom_version=1.15-SNAPSHOT
1110

1211
# Mod Properties
@@ -15,4 +14,4 @@ maven_group=io.nihlen.scriptschunkloaders
1514
archives_base_name=scripts-chunk-loaders
1615

1716
# Dependencies
18-
fabric_api_version=0.141.3+1.21.11
17+
fabric_api_version=0.145.1+26.1

gradle/wrapper/gradle-wrapper.jar

5.08 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)