Examples of GuiHandler


Examples of buildcraft.builders.GuiHandler

  }

  @Mod.EventHandler
  public void init(FMLInitializationEvent evt) {
    // Register gui handler
    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());

    // Register save handler
    MinecraftForge.EVENT_BUS.register(new EventHandlerBuilders());

    // Standard blocks
View Full Code Here

Examples of buildcraft.core.GuiHandler

    FMLCommonHandler.instance().bus().register(new CraftingHandler());

    CoreProxy.proxy.initializeRendering();
    CoreProxy.proxy.initializeEntityRendering();

    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
  }
View Full Code Here

Examples of buildcraft.energy.GuiHandler

  @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());
   
    BuilderAPI.schematicRegistry.registerSchematicBlock(engineBlock, SchematicEngine.class);
View Full Code Here

Examples of buildcraft.factory.GuiHandler

    }
  }

  @Mod.EventHandler
  public void load(FMLInitializationEvent evt) {
    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());

    // EntityRegistry.registerModEntity(EntityMechanicalArm.class, "bcMechanicalArm", EntityIds.MECHANICAL_ARM, instance, 50, 1, true);

    CoreProxy.proxy.registerTileEntity(TileQuarry.class, "Machine");
    CoreProxy.proxy.registerTileEntity(TileMiningWell.class, "MiningWell");
View Full Code Here

Examples of buildcraft.silicon.GuiHandler

  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");
    CoreProxy.proxy.registerTileEntity(TileAdvancedCraftingTable.class,
        "net.minecraft.src.buildcraft.factory.TileAssemblyAdvancedWorkbench");
View Full Code Here

Examples of buildcraft.transport.GuiHandler

    if (BuildCraftCore.loadDefaultRecipes) {
      loadRecipes();
    }

    TransportProxy.proxy.registerRenderers();
    NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
  }
View Full Code Here

Examples of com.sk89q.worldedit.forge.gui.GuiHandler

import cpw.mods.fml.common.network.NetworkRegistry;

public class CommonProxy {

    public void registerHandlers() {
        NetworkRegistry.INSTANCE.registerGuiHandler(ForgeWorldEdit.inst, new GuiHandler());
    }
View Full Code Here

Examples of logisticspipes.network.GuiHandler

    SimpleServiceLocator.setSpecialTankHandler(new SpecialTankHandler());
    SimpleServiceLocator.setCraftingPermissionManager(new CraftingPermissionManager());
    SimpleServiceLocator.setMachineProgressProvider(new MachineProgressProvider());
    SimpleServiceLocator.setRoutedItemHelper(new RoutedItemHelper());
   
    NetworkRegistry.INSTANCE.registerGuiHandler(LogisticsPipes.instance, new GuiHandler());
    FMLCommonHandler.instance().bus().register(new LPTickHandler());
   
    if(event.getSide().equals(Side.CLIENT)) {
      FMLCommonHandler.instance().bus().register(new RenderTickHandler());
    }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.client.gui.GuiHandler

            }
        }

        CompatibilityManager.checkForCompatibleMods();
        RecipeManagerGC.loadRecipes();
        NetworkRegistry.INSTANCE.registerGuiHandler(GalacticraftCore.instance, new GuiHandler());
        FMLCommonHandler.instance().bus().register(new TickHandlerServer());
        GalaxyRegistry.refreshGalaxies();
       
      GalacticraftRegistry.registerScreen(new GameScreenText())//Screen API demo
      //Note: add-ons can register their own screens in postInit by calling GalacticraftRegistry.registerScreen(IGameScreen) like this.
View Full Code Here

Examples of mods.railcraft.common.gui.GuiHandler

        RecipeSorter.register("railcraft:tank.cart.filter", TankCartFilterRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    }

    @Override
    public void initFirst() {
        NetworkRegistry.INSTANCE.registerGuiHandler(Railcraft.getMod(), new GuiHandler());

        LootPlugin.init();

        ItemCrowbar.registerItem();
        ItemCrowbarReinforced.registerItem();
View Full Code Here
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.