Compare commits

...

2 commits

Author SHA1 Message Date
ix0rai
d2ffccd994
Merge 05277f8cc7 into ba9d235849 2024-02-27 14:23:41 -07:00
ix0rai
05277f8cc7
add a mod id const 2024-02-17 00:12:07 -06:00

View file

@ -11,6 +11,9 @@ public class ExampleMod implements ModInitializer {
// That way, it's clear which mod wrote info, warnings, and errors. // That way, it's clear which mod wrote info, warnings, and errors.
public static final Logger LOGGER = LoggerFactory.getLogger("Example Mod"); public static final Logger LOGGER = LoggerFactory.getLogger("Example Mod");
// A central place to house your mod ID.
public static final String MOD_ID = "example_mod";
@Override @Override
public void onInitialize(ModContainer mod) { public void onInitialize(ModContainer mod) {
LOGGER.info("Hello Quilt world from {}!", mod.metadata().name()); LOGGER.info("Hello Quilt world from {}!", mod.metadata().name());