File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed
Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+ import net.fabricmc.loom.api.LoomGradleExtensionAPI
23import net.fabricmc.loom.task.RemapJarTask
34
45val modId = property(" mod_id" ).toString()
@@ -8,6 +9,8 @@ val minecraftVersion = property("minecraft_version").toString()
89val yarnMappings = property(" yarn_mappings" ).toString()
910
1011val libs = file(" libs" )
12+ val Project .loom: LoomGradleExtensionAPI
13+ get() = (this as ExtensionAware ).extensions.getByName(" loom" ) as LoomGradleExtensionAPI
1114
1215plugins {
1316 kotlin(" jvm" ) version " 1.9.23"
Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ dependencies {
6666
6767 // Add mods to the mod jar
6868 includeMod(" thedarkcolour:kotlinforforge:$kotlinForgeVersion " )
69-
69+ includeMod(" baritone-api:baritone-unoptimized-forge:1.10.2" )
70+
7071 // MixinExtras
7172 implementation(" io.github.llamalad7:mixinextras-forge:$mixinExtrasVersion " )
7273 compileOnly(annotationProcessor(" io.github.llamalad7:mixinextras-common:$mixinExtrasVersion " )!! )
Original file line number Diff line number Diff line change @@ -60,9 +60,11 @@ dependencies {
6060 // Add dependencies on the required Kotlin modules.
6161 includeLib(" org.reflections:reflections:0.10.2" )
6262 includeLib(" org.javassist:javassist:3.28.0-GA" )
63+ includeLib(" dev.babbaj:nether-pathfinder:1.5" )
6364
6465 // Add mods to the mod jar
6566 includeMod(" thedarkcolour:kotlinforforge-neoforge:$kotlinForgeVersion " )
67+ includeMod(" baritone-api:baritone-unoptimized-neoforge:1.10.2" )
6668
6769 // Common (Do not touch)
6870 common(project(" :common" , configuration = " namedElements" )) { isTransitive = false }
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ dependencies {
5858 // Add dependencies on the required Kotlin modules.
5959 includeLib(" org.reflections:reflections:0.10.2" )
6060 includeLib(" org.javassist:javassist:3.28.0-GA" )
61+ includeLib(" dev.babbaj:nether-pathfinder:1.5" )
6162
6263 // Add mods to the mod jar
6364 includeMod(" org.quiltmc.quilt-kotlin-libraries:quilt-kotlin-libraries:$kotlinQuiltVersion " ) {
@@ -66,6 +67,9 @@ dependencies {
6667 exclude(" net.fabricmc.fabric-api" )
6768 }
6869
70+ // We'll need to include the fabric modloader in quilt for this to work
71+ // includeMod("baritone-api:baritone-unoptimized-fabric:1.10.2")
72+
6973
7074 // Common (Do not touch)
7175 common(project(path = " :common" , configuration = " namedElements" )) { isTransitive = false }
You can’t perform that action at this time.
0 commit comments