Package de.eydamos.backpack.proxy

Source Code of de.eydamos.backpack.proxy.CommonProxy

package de.eydamos.backpack.proxy;

import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.FMLCommonHandler;
import de.eydamos.backpack.Backpack;
import de.eydamos.backpack.handler.EventHandlerBackpack;

public abstract class CommonProxy implements IProxy {
    @Override
    public void registerHandlers() {
        Backpack.packetHandler.initialise();

        EventHandlerBackpack eventHandler = new EventHandlerBackpack();

        FMLCommonHandler.instance().bus().register(eventHandler);
        MinecraftForge.EVENT_BUS.register(eventHandler);
    }

    @Override
    public void registerKeybindings() {}
   
    @Override
    public void addNeiSupport() {}
}
TOP

Related Classes of de.eydamos.backpack.proxy.CommonProxy

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.