Java Code Examples for codechicken.nei.api.API#registerGuiOverlay()
The following examples show how to use
codechicken.nei.api.API#registerGuiOverlay() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RecipeInfo.java From NotEnoughItems with MIT License | 5 votes |
public static void load() { API.registerRecipeHandler(new ShapedRecipeHandler()); API.registerUsageHandler(new ShapedRecipeHandler()); API.registerRecipeHandler(new ShapelessRecipeHandler()); API.registerUsageHandler(new ShapelessRecipeHandler()); API.registerRecipeHandler(new FireworkRecipeHandler()); API.registerUsageHandler(new FireworkRecipeHandler()); API.registerRecipeHandler(new FurnaceRecipeHandler()); API.registerUsageHandler(new FurnaceRecipeHandler()); API.registerRecipeHandler(new BrewingRecipeHandler()); API.registerUsageHandler(new BrewingRecipeHandler()); API.registerRecipeHandler(new FuelRecipeHandler()); API.registerUsageHandler(new FuelRecipeHandler()); API.registerGuiOverlay(GuiCrafting.class, "crafting"); API.registerGuiOverlay(GuiInventory.class, "crafting2x2", 63, 20); API.registerGuiOverlay(GuiFurnace.class, "smelting"); API.registerGuiOverlay(GuiFurnace.class, "fuel"); API.registerGuiOverlay(GuiBrewingStand.class, "brewing"); API.registerGuiOverlayHandler(GuiCrafting.class, new DefaultOverlayHandler(), "crafting"); API.registerGuiOverlayHandler(GuiInventory.class, new DefaultOverlayHandler(63, 20), "crafting2x2"); API.registerGuiOverlayHandler(GuiBrewingStand.class, new BrewingOverlayHandler(), "brewing"); API.registerRecipeHandler(new ProfilerRecipeHandler(true)); API.registerUsageHandler(new ProfilerRecipeHandler(false)); }
Example 2
Source File: NEIHelper.java From GardenCollection with MIT License | 4 votes |
public static void registerNEI () { API.registerRecipeHandler(new BloomeryFurnaceRecipeHandler()); API.registerUsageHandler(new BloomeryFurnaceRecipeHandler()); API.registerGuiOverlay(GuiBloomeryFurnace.class, "bloomerySmelting"); }