Cloth Config API (Fabric/Forge/NeoForge)

Cloth Config API (Fabric/Forge/NeoForge)

169M Downloads

ClothConfig demo on Forge uses Fabric Loader

MaxNeedsSnacks opened this issue ยท 0 comments

commented

new TranslatableComponent("text.cloth-config.testing.3").withStyle(s -> s.withColor(ChatFormatting.GREEN).withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_FILE, FabricLoader.getInstance().getConfigDir().resolve("modmenu.json").toString())))

This seems to have been caused by your manual implementation of #72 in 8ba610c.

You probably want to use the platform call from me.shedaniel.autoconfig.util.Utils (which should probably be moved to me.shedaniel.cloth.clothconfig(2).impl then) and maybe even change this to a file that's present on both loaders (options.txt?)