File tree Expand file tree Collapse file tree 5 files changed +22
-19
lines changed Expand file tree Collapse file tree 5 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 12
12
matrix :
13
13
# Use these Java versions
14
14
java : [
15
- 21 , # Current Java LTS
15
+ 17 , # Java 17 for 1.20
16
16
]
17
- runs-on : ubuntu-22.04
17
+ runs-on : ubuntu-latest
18
18
steps :
19
19
- name : checkout repository
20
20
uses : actions/checkout@v4
30
30
- name : build
31
31
run : ./gradlew build
32
32
- name : capture build artifacts
33
- if : ${{ matrix.java == '21 ' }} # Only upload artifacts built from latest java
33
+ if : ${{ matrix.java == '17 ' }} # Only upload artifacts built from latest java
34
34
uses : actions/upload-artifact@v4
35
35
with :
36
36
name : Artifacts
Original file line number Diff line number Diff line change 2
2
Ban Sleeping is a Minecraft Mod for Fabric 1.21 that prevents the player from sleeping in a bed
3
3
4
4
# Compatible Versions
5
- | Mod Version | Loader | Game Version(s) | Mod Version File |
6
- | -------------| --------| -----------------| -------------------------|
7
- | 1.0.1 | Fabric | 1.21 | 1.0.1-fabric+1.21.jar |
8
- | 1.0.0 | Fabric | 1.21 | 1.0.0-fabric+1.21.jar |
5
+ | Mod Version | Loader | Game Version(s) | Mod Version File |
6
+ | -------------| --------| -----------------| --------------------------------|
7
+ | 1.0.1 | Fabric | 1.21 | 1.0.1-fabric+1.21.jar |
8
+ | 1.0.1 | Fabric | 1.20 | 1.0.1-fabric+1.20-BACKPORT.jar |
9
+ | 1.0.0 | Fabric | 1.21 | 1.0.0-fabric+1.21.jar |
9
10
10
11
# Important Note
11
12
This mod is a ** server-side** mod!
@@ -14,6 +15,8 @@ Playing on a **server**? You are not required to have this downloaded.
14
15
15
16
Also: This mod requires the ** Fabric API**
16
17
18
+ ** THIS IS A BACKPORT, NO NEW FEATURES OR UPDATES WILL BE COMING TO THIS VERSION**
19
+
17
20
## About 1.0.1
18
21
1.0.1 was just a refactoring change, no new features were added
19
22
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ processResources {
50
50
}
51
51
52
52
tasks. withType(JavaCompile ). configureEach {
53
- it. options. release = 21
53
+ it. options. release = 17
54
54
}
55
55
56
56
java {
59
59
// If you remove this line, sources will not be generated.
60
60
withSourcesJar()
61
61
62
- sourceCompatibility = JavaVersion . VERSION_21
63
- targetCompatibility = JavaVersion . VERSION_21
62
+ sourceCompatibility = JavaVersion . VERSION_17
63
+ targetCompatibility = JavaVersion . VERSION_17
64
64
}
65
65
66
66
jar {
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ org.gradle.parallel=true
4
4
5
5
# Fabric Properties
6
6
# check these on https://fabricmc.net/develop
7
- minecraft_version =1.21
8
- yarn_mappings =1.21 +build.9
7
+ minecraft_version =1.20
8
+ yarn_mappings =1.20 +build.1
9
9
loader_version =0.15.11
10
10
11
11
# Fabric API
12
- fabric_version =0.102 .0+1.21
12
+ fabric_version =0.83 .0+1.20
13
13
14
14
# Mod Properties
15
- mod_version =1.0.1+1.21
15
+ mod_version =1.0.1+1.20-BACKPORT
16
16
maven_group =me.imgalvin.bansleeping
17
17
archives_base_name =bansleeping
Original file line number Diff line number Diff line change 8
8
" GalvinPython"
9
9
],
10
10
"contact" : {
11
- "homepage" : " https://github.com/GalvinPython /bansleeping-minecraft" ,
12
- "sources" : " https://github.com/GalvinPython /bansleeping-minecraft" ,
13
- "issues" : " https://github.com/GalvinPython /bansleeping-minecraft/issues"
11
+ "homepage" : " https://github.com/GalvinCraft /bansleeping-minecraft" ,
12
+ "sources" : " https://github.com/GalvinCraft /bansleeping-minecraft" ,
13
+ "issues" : " https://github.com/GalvinCraft /bansleeping-minecraft/issues"
14
14
},
15
15
"license" : " MIT" ,
16
16
"icon" : " assets/bansleeping/icon.png" ,
22
22
},
23
23
"depends" : {
24
24
"fabricloader" : " >=0.15.11" ,
25
- "minecraft" : " ~1.21 " ,
26
- "java" : " >=21 " ,
25
+ "minecraft" : " ~1.20 " ,
26
+ "java" : " >=17 " ,
27
27
"fabric-api" : " *"
28
28
}
29
29
}
You can’t perform that action at this time.
0 commit comments