1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package com.aizistral.nochatreports.loader; import java.nio.file.Path; import net.fabricmc.loader.api.FabricLoader; public final class LoaderPaths { private LoaderPaths() { throw new IllegalStateException("Can't touch this"); } public static Path getConfigDir() { return FabricLoader.getInstance().getConfigDir(); } }