19 lines
459 B
Java
19 lines
459 B
Java
package com.example.examplemod;
|
|
|
|
import net.minecraftforge.fml.common.Mod;
|
|
|
|
@Mod(Constants.MOD_ID)
|
|
public class ExampleMod {
|
|
|
|
public ExampleMod() {
|
|
|
|
// This method is invoked by the Forge mod loader when it is ready
|
|
// to load your mod. You can access Forge and Common code in this
|
|
// project.
|
|
|
|
// Use Forge to bootstrap the Common mod.
|
|
Constants.LOG.info("Hello Forge world!");
|
|
CommonClass.init();
|
|
|
|
}
|
|
} |