Package codechicken.nei.recipe

Examples of codechicken.nei.recipe.DefaultOverlayHandler


  @Override
  public void loadConfig() {

    // Register the handlers for the replaced (vanilla) workbench.
    API.registerGuiOverlay( GuiVanillaWorkbench.class, "crafting" );
    API.registerGuiOverlayHandler( GuiVanillaWorkbench.class, new DefaultOverlayHandler(), "crafting" );

    // Register the overlay handlers for the crafting devices.
    XactOverlayHandler handler = new XactOverlayHandler();

    API.registerGuiOverlayHandler( GuiPad.class, handler, "crafting" );
View Full Code Here


    public static void registerNEICompat ()
    {
        if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT)
        {
            API.registerGuiOverlay(WorkbenchGui.class, "crafting");
            API.registerGuiOverlayHandler(WorkbenchGui.class, new DefaultOverlayHandler(), "crafting");
        }
    }
View Full Code Here

TOP

Related Classes of codechicken.nei.recipe.DefaultOverlayHandler

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.