mirror of
https://github.com/QuiltMC/quilt-template-mod
synced 2024-08-15 00:23:32 +00:00
add a mod id const
This commit is contained in:
parent
334a960b14
commit
05277f8cc7
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ public class ExampleMod implements ModInitializer {
|
|||
// That way, it's clear which mod wrote info, warnings, and errors.
|
||||
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
|
||||
public void onInitialize(ModContainer mod) {
|
||||
LOGGER.info("Hello Quilt world from {}!", mod.metadata().name());
|
||||
|
|
Loading…
Reference in a new issue