Package buildcraft.core.network

Examples of buildcraft.core.network.BuildCraftChannelHandler


  @Mod.EventHandler
  public void init(FMLInitializationEvent evt) {
    BuildCraftAPI.proxy = CoreProxy.proxy;

    channels = NetworkRegistry.INSTANCE.newChannel
        (DefaultProps.NET_CHANNEL_NAME + "-CORE", new BuildCraftChannelHandler(), new PacketHandler());

    NetworkIdRegistry.instance = new NetworkIdRegistry();

    // BuildCraft 6.1.4 and below - migration only
    StatementManager.registerParameterClass("buildcraft:stackTrigger", StatementParameterItemStack.class);
View Full Code Here


  }

  @Mod.EventHandler
  public void init(FMLInitializationEvent evt) {
    channels = NetworkRegistry.INSTANCE.newChannel
        (DefaultProps.NET_CHANNEL_NAME + "-ENERGY", new BuildCraftChannelHandler()new PacketHandlerTransport());

    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());

    StatementManager.registerTriggerProvider(new EnergyStatementProvider());
   
View Full Code Here

  }

  @Mod.EventHandler
  public void init(FMLInitializationEvent evt) {
    channels = NetworkRegistry.INSTANCE.newChannel
        (DefaultProps.NET_CHANNEL_NAME + "-TRANSPORT", new BuildCraftChannelHandler(), new PacketHandlerTransport());

    TransportProxy.proxy.registerTileEntities();

    BuilderAPI.schematicRegistry.registerSchematicBlock(genericPipeBlock, SchematicPipe.class);
View Full Code Here

  @Mod.EventHandler
  public void init(FMLInitializationEvent evt) {
    channels = NetworkRegistry.INSTANCE
        .newChannel
        (DefaultProps.NET_CHANNEL_NAME + "-SILICON", new BuildCraftChannelHandler(), new PacketHandlerSilicon());

    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
    CoreProxy.proxy.registerTileEntity(TileLaser.class, "net.minecraft.src.buildcraft.factory.TileLaser");
    CoreProxy.proxy.registerTileEntity(TileAssemblyTable.class,
        "net.minecraft.src.buildcraft.factory.TileAssemblyTable");
View Full Code Here

  }

  @Mod.EventHandler
  public void initialize(FMLPreInitializationEvent evt) {
    channels = NetworkRegistry.INSTANCE.newChannel
        (DefaultProps.NET_CHANNEL_NAME + "-FACTORY", new BuildCraftChannelHandler(), new PacketHandlerFactory());

    ConfigUtils genCat = new ConfigUtils(BuildCraftCore.mainConfiguration, Configuration.CATEGORY_GENERAL);

    allowMining = genCat.get("mining.enabled", true, "disables the recipes for automated mining machines");
    quarryOneTimeUse = genCat.get("quarry.one.time.use", false, "Quarry cannot be picked back up after placement");
View Full Code Here

TOP

Related Classes of buildcraft.core.network.BuildCraftChannelHandler

Copyright © 2018 www.massapicom. 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.