mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-20 20:12:28 +00:00
45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
package slimeknights.mantle;
|
|
|
|
import net.minecraftforge.fml.common.Mod;
|
|
import net.minecraftforge.fml.common.Mod.Instance;
|
|
import net.minecraftforge.fml.common.SidedProxy;
|
|
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
import org.apache.logging.log4j.LogManager;
|
|
import org.apache.logging.log4j.Logger;
|
|
|
|
import slimeknights.mantle.common.CommonProxy;
|
|
|
|
/**
|
|
* Mantle
|
|
*
|
|
* Central mod object for Mantle
|
|
*
|
|
* @author Sunstrike <[email protected]>
|
|
*/
|
|
@Mod(modid = Mantle.modId,
|
|
name = Mantle.modName,
|
|
version = Mantle.modVersion,
|
|
dependencies = "required-after:Forge@[12.16.0.1850,)",
|
|
acceptedMinecraftVersions = "[1.9.4,1.10)")
|
|
public class Mantle {
|
|
|
|
public static final String modId = "mantle";
|
|
public static final String modName = "Mantle";
|
|
public static final String modVersion = "${version}";
|
|
public static final Logger logger = LogManager.getLogger("Mantle");
|
|
|
|
/* Instance of this mod, used for grabbing prototype fields */
|
|
@Instance("mantle")
|
|
public static Mantle instance;
|
|
|
|
/* Proxies for sides, used for graphics processing */
|
|
@SidedProxy(clientSide = "slimeknights.mantle.client.ClientProxy", serverSide = "slimeknights.mantle.common.CommonProxy")
|
|
public static CommonProxy proxy;
|
|
|
|
@Mod.EventHandler
|
|
public void preInit(FMLPreInitializationEvent event){
|
|
proxy.preInit();
|
|
}
|
|
}
|