Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.promolitor.copymultiplayerworld;
- import net.minecraft.init.Blocks;
- import net.minecraftforge.client.ClientCommandHandler;
- import cpw.mods.fml.common.Mod;
- import cpw.mods.fml.common.Mod.EventHandler;
- import cpw.mods.fml.common.Mod.Instance;
- import cpw.mods.fml.common.SidedProxy;
- import cpw.mods.fml.common.event.FMLInitializationEvent;
- import cpw.mods.fml.common.event.FMLPostInitializationEvent;
- import cpw.mods.fml.common.event.FMLPreInitializationEvent;
- import de.promolitor.copymultiplayerworld.proxies.CommonProxy;
- @Mod(modid = CopyMultiplayerWorld.MODID, version = CopyMultiplayerWorld.VERSION, name = CopyMultiplayerWorld.MODNAME)
- public class CopyMultiplayerWorld {
- public static final String MODID = "cmw";
- public static final String MODNAME = "Copy Multiplayer World";
- public static final String VERSION = "1.0";
- @Instance(MODID)
- public static CopyMultiplayerWorld instance;
- protected static final String CLIENT_PROXY = "de.promolitor.copymultiplayerworld.proxies.ClientProxy";
- protected static final String SERVER_PROXY = "de.promolitor.copymultiplayerworld.proxies.CommonProxy";
- @SidedProxy(modId = MODID, clientSide = CLIENT_PROXY, serverSide = SERVER_PROXY)
- protected static CommonProxy proxy;
- @EventHandler
- public void preInit(FMLPreInitializationEvent event) {
- if (proxy.isServer()) {
- }
- if (proxy.isClient()) {
- ClientCommandHandler.instance.registerCommand(new CommandHandler());
- }
- }
- @EventHandler
- public void init(FMLInitializationEvent event) {
- }
- @EventHandler
- public void postInit(FMLPostInitializationEvent event) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement