Search in sources :

Example 1 with GuiHandler

use of com.zundrel.logisticalautomation.common.handler.GuiHandler in project Logistical-Automation by Zundrel.

the class LogisticalAutomation method init.

@Mod.EventHandler
public void init(FMLInitializationEvent event) {
    TileRegistry.init();
    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
    networkWrapper = new SimpleNetworkWrapper(ModInfo.MOD_ID);
    networkWrapper.registerMessage(MessageButton.class, MessageButton.class, 0, Side.SERVER);
}
Also used : SimpleNetworkWrapper(net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper) GuiHandler(com.zundrel.logisticalautomation.common.handler.GuiHandler)

Aggregations

GuiHandler (com.zundrel.logisticalautomation.common.handler.GuiHandler)1 SimpleNetworkWrapper (net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper)1