Skip to content

Commit

Permalink
Java 17 & new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ImplicitSaber committed Oct 23, 2024
1 parent fa9390f commit 3b6096e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Every feature present in the original mod should be here too. However, this mod
4. Track ties face the direction you are facing when placed
5. Some random bugfixes
## Versions
| Game Version | Mod Version | Supported |
| --- | --- | --- |
| 1.20.1 | v1.20.1-1.1.0 | YES |
| 1.21 | v1.21-1.1.0 | YES |
| Game Version | Mod Version | Supported |
| --- |--------------------| --- |
| 1.20.1 | v1.20.1-1.1.0-fix1 | YES |
| 1.21 | v1.21-1.1.0 | YES |
## Installation
Currently, the mod can only be obtained from our [releases page](https://github.com/ImplicitSaber/Forkcart/releases).
## How To
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ processResources {
}

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

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

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

jar {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.15.11

# Mod Properties
mod_version=1.20.1-1.1.0
mod_version=1.20.1-1.1.0-fix1
maven_group=io.github.implicitsaber
archives_base_name=forkcart

Expand Down
2 changes: 1 addition & 1 deletion src/client/resources/forkcart.client.mixins.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"required": true,
"package": "io.github.implicitsaber.forkcart.mixin.client",
"compatibilityLevel": "JAVA_21",
"compatibilityLevel": "JAVA_17",
"client": [
"CameraMixin",
"ClientPlayNetworkHandlerMixin",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"depends": {
"fabricloader": ">=0.15.11",
"minecraft": "=1.20.1",
"java": ">=21",
"java": ">=17",
"fabric-api": "*"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/forkcart.mixins.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"required": true,
"package": "io.github.implicitsaber.forkcart.mixin",
"compatibilityLevel": "JAVA_21",
"compatibilityLevel": "JAVA_17",
"mixins": [
"EntityMixin"
],
Expand Down

0 comments on commit 3b6096e

Please sign in to comment.