Skip to content

Commit

Permalink
Update to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryhon0 committed Jun 13, 2024
1 parent 61c016a commit 5fdda04
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ loom {
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 17
it.options.release = 21
}

java {
Expand All @@ -51,8 +51,8 @@ java {
// If you remove this line, sources will not be generated.
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

jar {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
minecraft_version=1.21
yarn_mappings=1.21+build.1
loader_version=0.15.11

# Mod Properties
Expand All @@ -14,4 +14,4 @@ maven_group=xyz.ryhon.tmb
archives_base_name=tmb

# Dependencies
fabric_version=0.91.6+1.20.2
fabric_version=0.100.1+1.21
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"accessWidener": "tmb.accesswidener",
"depends": {
"fabricloader": ">=0.15.0",
"minecraft": "~1.20.2",
"java": ">=17",
"fabricloader": "*",
"minecraft": "*",
"java": ">=21",
"fabric-api": "*"
},
"custom":
Expand Down

0 comments on commit 5fdda04

Please sign in to comment.