mico-mc/src/main/java/xyz/minecommune/micomc/MicoMc.java

20 lines
669 B
Java
Raw Normal View History

2025-06-25 19:28:32 +02:00
package xyz.minecommune.micomc;
2025-06-25 19:20:25 +02:00
import org.quiltmc.loader.api.ModContainer;
import org.quiltmc.qsl.base.api.entrypoint.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
2025-06-25 19:28:32 +02:00
public class MicoMc implements ModInitializer {
2025-06-25 19:20:25 +02:00
// This logger is used to write text to the console and the log file.
// It is considered best practice to use your mod name as the logger's name.
// That way, it's clear which mod wrote info, warnings, and errors.
public static final Logger LOGGER = LoggerFactory.getLogger("Example Mod");
@Override
public void onInitialize(ModContainer mod) {
LOGGER.info("Hello Quilt world from {}!", mod.metadata().name());
}
}