diff --git a/build.gradle b/build.gradle index 5ae9e0a..913a28b 100644 --- a/build.gradle +++ b/build.gradle @@ -23,12 +23,10 @@ dependencies { modApi "me.shedaniel.cloth:cloth-config-fabric:${project.clothconfig_version}", { exclude group: "net.fabricmc.fabric-api" } - modApi "me.sargunvohra.mcmods:autoconfig1u:${project.autoconfig_version}", { - exclude group: "net.fabricmc.fabric-api" - } modImplementation "io.github.prospector:modmenu:${project.modmenu_version}", { exclude group: "net.fabricmc.fabric-api" } + } processResources { diff --git a/src/main/java/net/heyzeer0/sd/ModCore.java b/src/main/java/net/heyzeer0/sd/ModCore.java index 7c0da74..ece782b 100644 --- a/src/main/java/net/heyzeer0/sd/ModCore.java +++ b/src/main/java/net/heyzeer0/sd/ModCore.java @@ -1,8 +1,8 @@ package net.heyzeer0.sd; -import me.sargunvohra.mcmods.autoconfig1u.AutoConfig; -import me.sargunvohra.mcmods.autoconfig1u.ConfigHolder; -import me.sargunvohra.mcmods.autoconfig1u.serializer.GsonConfigSerializer; +import me.shedaniel.autoconfig.AutoConfig; +import me.shedaniel.autoconfig.ConfigHolder; +import me.shedaniel.autoconfig.serializer.GsonConfigSerializer; import net.fabricmc.api.ModInitializer; import net.heyzeer0.sd.configs.GeneralConfig; diff --git a/src/main/java/net/heyzeer0/sd/configs/GeneralConfig.java b/src/main/java/net/heyzeer0/sd/configs/GeneralConfig.java index 7073a4f..9eaf966 100644 --- a/src/main/java/net/heyzeer0/sd/configs/GeneralConfig.java +++ b/src/main/java/net/heyzeer0/sd/configs/GeneralConfig.java @@ -1,7 +1,7 @@ package net.heyzeer0.sd.configs; -import me.sargunvohra.mcmods.autoconfig1u.ConfigData; -import me.sargunvohra.mcmods.autoconfig1u.annotation.Config; +import me.shedaniel.autoconfig.ConfigData; +import me.shedaniel.autoconfig.annotation.Config; import net.minecraft.item.Items; import net.minecraft.util.registry.Registry; diff --git a/src/main/java/net/heyzeer0/sd/integrations/SDModMenuIntegration.java b/src/main/java/net/heyzeer0/sd/integrations/SDModMenuIntegration.java index b7732bb..a9c90b9 100644 --- a/src/main/java/net/heyzeer0/sd/integrations/SDModMenuIntegration.java +++ b/src/main/java/net/heyzeer0/sd/integrations/SDModMenuIntegration.java @@ -2,7 +2,7 @@ import io.github.prospector.modmenu.api.ConfigScreenFactory; import io.github.prospector.modmenu.api.ModMenuApi; -import me.sargunvohra.mcmods.autoconfig1u.AutoConfig; +import me.shedaniel.autoconfig.AutoConfig; import net.heyzeer0.sd.configs.GeneralConfig; public class SDModMenuIntegration implements ModMenuApi { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 9ea8276..bbfbfbe 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,7 +31,6 @@ "fabricloader": ">=0.7.4", "fabric": "*", "minecraft": ">=1.16.3", - "autoconfig1u": "*", "cloth-config2": "*" }, "recommends": {