Skip to content

Commit 847a85f

Browse files
committed
update to use officially released FAPI on 1.21.9
1 parent 3015384 commit 847a85f

3 files changed

Lines changed: 4 additions & 16 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,6 @@ stonecutter {
143143
}
144144
}
145145

146-
repositories {
147-
exclusiveContent {
148-
forRepository { mavenLocal() }
149-
filter {
150-
includeGroup("net.fabricmc.fabric-api")
151-
}
152-
}
153-
}
154-
155146
dependencies {
156147
fun Dependency?.jij() = this?.also(::modstitchJiJ)
157148

@@ -191,10 +182,7 @@ dependencies {
191182
}
192183

193184
if (isFabric) {
194-
// Fabric API has not been released for 25w31a yet.
195-
//modDependency("fabricApi", { "net.fabricmc.fabric-api:fabric-api:$it" }, requiredByDependants = true)
196-
modstitchModImplementation("net.fabricmc.fabric-api:fabric-api-base:0.4.64+local").jij()
197-
modstitchModImplementation("net.fabricmc.fabric-api:fabric-resource-loader-v0:3.1.11+local").jij()
185+
modDependency("fabricApi", { "net.fabricmc.fabric-api:fabric-api:$it" }, requiredByDependants = true)
198186

199187
modDependency("fabricLangKotlin", { "net.fabricmc:fabric-language-kotlin:${it}" })
200188
}

src/main/templates/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"license": "${mod_license}",
1717
"environment": "*",
1818
"depends": {
19-
"fabricloader": ">=0.15.0",
19+
"fabricloader": ">=0.17.0",
2020
"minecraft": "${mc}",
2121
"java": ">=17",
22-
"fabric-resource-loader-v0": "*"
22+
"fabric-api": ">=${fapi}"
2323
},
2424
"entrypoints": {
2525
"client": [

versions/1.21.9-fabric/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mcVersion=25w31a
44
parchment.version=2025.06.29
55
parchment.minecraft=1.21.6
66

7-
deps.fabricApi=0.130.0+1.21.8
7+
deps.fabricApi=0.130.0+1.21.9
88

99
meta.mcDep=~1.21.9-
1010

0 commit comments

Comments
 (0)