package shcm.shsupercm.fabric.citresewn; import io.shcm.shsupercm.fabric.fletchingtable.api.Entrypoint; import net.fabricmc.api.ClientModInitializer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import shcm.shsupercm.fabric.citresewn.config.CITResewnConfig; public class CITResewn implements ClientModInitializer { public static final Logger LOG = LogManager.getLogger("CITResewn"); @Entrypoint(Entrypoint.CLIENT) public static final CITResewn INSTANCE = new CITResewn(); @Override public void onInitializeClient() { info("init"); } public static void info(String message) { LOG.info("[citresewn] " + message); } public static void logWarnLoading(String message) { if (CITResewnConfig.INSTANCE.mute_warns) return; LOG.error("[citresewn] " + message); } public static void logErrorLoading(String message) { if (CITResewnConfig.INSTANCE.mute_errors) return; LOG.error("{citresewn} " + message); } }