Skip to content

Commit 5987ff5

Browse files
committedOct 15, 2024
init
1 parent b804e8e commit 5987ff5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+49
-3295
lines changed
 

‎.github/workflows/deploy-wiki.yml

-48
This file was deleted.

‎build.gradle.kts

+21-3
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,36 @@ val templateSettings = object : BlahajSettings {
55
// -------------------- Dependencies ---------------------- //
66
override val depsHandler: BlahajDependencyHandler get() = object : BlahajDependencyHandler {
77
override fun addGlobal(mod : ModData, deps: DependencyHandler) {
8-
8+
deps.modImplementation("toni.immersivemessages:${mod.loader}-${mod.mcVersion}:1.0.7")
99
}
1010

1111
override fun addFabric(mod : ModData, deps: DependencyHandler) {
12-
12+
if (mod.mcVersion == "1.21.1") {
13+
deps.modImplementation(modrinth("caxton", "0.6.0-alpha.2+1.21.1-FABRIC"))
14+
deps.modImplementation(deps.include("com.github.Chocohead:Fabric-ASM:v2.3") {
15+
exclude(group = "net.fabricmc", module = "fabric-loader")
16+
})
17+
}
18+
else {
19+
deps.modImplementation(modrinth("caxton", "0.6.0-alpha.2.1+1.20.1-FABRIC"))
20+
deps.include(deps.implementation(deps.annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.4.1")!!)!!)
21+
deps.modImplementation(deps.include("com.github.Chocohead:Fabric-ASM:v2.3") {
22+
exclude(group = "net.fabricmc", module = "fabric-loader")
23+
})
24+
}
1325
}
1426

1527
override fun addForge(mod : ModData, deps: DependencyHandler) {
28+
deps.modImplementation(modrinth("caxton", "0.6.0-alpha.2.1+1.20.1-FORGE"))
29+
deps.minecraftRuntimeLibraries("com.github.ben-manes.caffeine:caffeine:3.1.2")
1630

31+
deps.compileOnly(deps.annotationProcessor("io.github.llamalad7:mixinextras-common:0.4.1")!!)
32+
deps.implementation(deps.include("io.github.llamalad7:mixinextras-forge:0.4.1")!!)
1733
}
1834

1935
override fun addNeo(mod : ModData, deps: DependencyHandler) {
20-
36+
deps.modImplementation(modrinth("caxton", "0.6.0-alpha.2+1.21.1-NEOFORGE"))
37+
deps.minecraftRuntimeLibraries("com.github.ben-manes.caffeine:caffeine:3.1.2")
2138
}
2239
}
2340

@@ -74,4 +91,5 @@ repositories {
7491
maven("https://maven.su5ed.dev/releases")
7592
maven("https://maven.fabricmc.net")
7693
maven("https://maven.shedaniel.me/")
94+
maven("https://maven.txni.dev/")
7795
}

0 commit comments

Comments
 (0)
Please sign in to comment.