Commit 42c6363 1 parent 3a3eeae commit 42c6363 Copy full SHA for 42c6363
File tree 6 files changed +25
-7
lines changed
src/main/resources/META-INF
6 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 63
63
athena-ctm(required){modrinth:b1ZV3DIJ}{curseforge:841890}
64
64
chisel-reborn(required)
65
65
66
- version-resolver : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
66
+ game- version-filter : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
67
67
68
68
- name : Upload neoforge artifacts
69
69
uses : Kir-Antipov/mc-publish@v3.3
92
92
athena-ctm(required){modrinth:b1ZV3DIJ}{curseforge:841890}
93
93
chisel-reborn(required)
94
94
95
- version-resolver : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
95
+ game- version-filter : latest # Defaults to selecting the latest compatible version of Minecraft, using the tag from the fabric.mod.json
Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ subprojects {
26
26
}
27
27
}
28
28
29
+ def createVersionString () {
30
+ def builder = new StringBuilder ()
31
+
32
+ builder. append(mod_version)
33
+
34
+ builder. append(' +mc' ). append(minecraft_version)
35
+
36
+ return builder. toString()
37
+ }
38
+
29
39
allprojects {
30
40
apply plugin : " java"
31
41
apply plugin : " architectury-plugin"
@@ -35,7 +45,7 @@ allprojects {
35
45
archivesName = rootProject. archives_base_name
36
46
}
37
47
38
- version = rootProject . mod_version
48
+ version = createVersionString()
39
49
group = rootProject. maven_group
40
50
41
51
repositories {
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ plugins {
2
2
id " com.github.johnrengelman.shadow" version " 7.1.2"
3
3
}
4
4
5
+ base {
6
+ archivesName = " factory_blocks-fabric"
7
+ }
8
+
5
9
architectury {
6
10
platformSetupLoomIde()
7
11
fabric()
Original file line number Diff line number Diff line change 25
25
},
26
26
"depends" : {
27
27
"fabricloader" : " >=0.15.10" ,
28
- "minecraft" : [" >= 1.21" , " <= 1.21.1" ],
28
+ "minecraft" : [" ~ 1.21" , " ~ 1.21.1" ],
29
29
"fabric-api" : " *"
30
30
},
31
31
"suggests" : {
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ plugins {
2
2
id " com.github.johnrengelman.shadow" version " 7.1.2"
3
3
}
4
4
5
+ base {
6
+ archivesName = " factory_blocks-neoforge"
7
+ }
8
+
5
9
architectury {
6
10
platformSetupLoomIde()
7
11
neoForge()
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ Adds Factory Blocks to Chisel Reborn or Chipped
13
13
'''
14
14
logoFile = " assets/factory_blocks/icon.png"
15
15
16
- [[dependencies .chisel ]]
16
+ [[dependencies .factory_blocks ]]
17
17
modId =" minecraft"
18
18
type =" required"
19
19
versionRange =" [1.21,1.21.1]"
20
20
21
- [[dependencies .chisel ]]
21
+ [[dependencies .factory_blocks ]]
22
22
modId =" neoforge"
23
23
type =" required"
24
24
versionRange =" [0,)"
25
25
26
- [[dependencies .chisel ]]
26
+ [[dependencies .factory_blocks ]]
27
27
modId =" architectury"
28
28
type =" required"
29
29
versionRange =" [0,)"
You can’t perform that action at this time.
0 commit comments