diff options
-rw-r--r-- | forge/build.gradle.kts | 4 | ||||
-rw-r--r-- | forge/src/main/java/de/hype/bbsentials/forge/ExampleMod.java | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts index ddcda8b..f222c1d 100644 --- a/forge/build.gradle.kts +++ b/forge/build.gradle.kts @@ -51,6 +51,7 @@ repositories { maven("https://repo.spongepowered.org/maven/") // If you don't want to log in with your real minecraft account, remove this line maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") + maven("https://maven.notenoughupdates.org/releases/") } @@ -68,6 +69,8 @@ dependencies { shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") { isTransitive = false } + shadowImpl("org.notenoughupdates.moulconfig:MoulConfig:1.3.0") +// testMod("org.notenoughupdates.moulconfig:MoulConfig:1.3.0:test") annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT") // If you don't want to log in with your real minecraft account, remove this line @@ -121,6 +124,7 @@ tasks.shadowJar { destinationDirectory.set(layout.buildDirectory.dir("badjars")) archiveClassifier.set("all-dev") configurations = listOf(shadowImpl) + relocate("io.github.moulberry.moulconfig", "de.hype.bbsentials.deps.moulconfig") doLast { configurations.forEach { println("Copying jars into mod: ${it.files}") diff --git a/forge/src/main/java/de/hype/bbsentials/forge/ExampleMod.java b/forge/src/main/java/de/hype/bbsentials/forge/ExampleMod.java index ab63954..ca01526 100644 --- a/forge/src/main/java/de/hype/bbsentials/forge/ExampleMod.java +++ b/forge/src/main/java/de/hype/bbsentials/forge/ExampleMod.java @@ -2,6 +2,8 @@ package de.hype.bbsentials.forge; import de.hype.bbsentials.common.client.BBsentials; import de.hype.bbsentials.common.mclibraries.EnvironmentCore; +import io.github.moulberry.moulconfig.gui.MoulConfigEditor; +import io.github.moulberry.moulconfig.processor.MoulConfigProcessor; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.EntityJoinWorldEvent; import net.minecraftforge.fml.common.Mod; |