Skip to content

Commit a8ddf94

Browse files
committed
Update to Minecraft 1.21
1 parent e9bf325 commit a8ddf94

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'fabric-loom' version '1.6-SNAPSHOT'
2+
id 'fabric-loom' version "${loom_version}"
33
id 'maven-publish'
44
}
55

@@ -66,8 +66,8 @@ tasks.withType(JavaCompile).configureEach {
6666
// If Javadoc is generated, this must be specified in that task too.
6767
it.options.encoding = "UTF-8"
6868

69-
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
70-
it.options.release = 17
69+
// Minecraft now uses Java 21.
70+
it.options.release = 21
7171
}
7272

7373
java {
@@ -76,8 +76,8 @@ java {
7676
// If you remove this line, sources will not be generated.
7777
withSourcesJar()
7878

79-
sourceCompatibility = JavaVersion.VERSION_17
80-
targetCompatibility = JavaVersion.VERSION_17
79+
sourceCompatibility = JavaVersion.VERSION_21
80+
targetCompatibility = JavaVersion.VERSION_21
8181
}
8282

8383
jar {

gradle.properties

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

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop/
7-
minecraft_version=1.20.6
8-
yarn_mappings=1.20.6+build.1
7+
minecraft_version=1.21
8+
yarn_mappings=1.21+build.9
99
loader_version=0.15.11
1010

11+
loom_version=1.7-SNAPSHOT
12+
1113
# Mod Properties
12-
mod_version=0.15.3b
14+
mod_version=0.15.4b
1315
maven_group=eu.pabl
1416
archives_base_name=twitchchat
1517

1618
# Dependencies
17-
fabric_version=0.98.0+1.20.6
18-
cloth_config_version=14.0.126
19-
mod_menu_version=10.0.0-beta.1
19+
fabric_version=0.100.7+1.21
20+
cloth_config_version=15.0.127
21+
mod_menu_version=11.0.1
2022
pircbotx_version=c47a15b624
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-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)