@Override public void loadConfig() { DecomposerNEIRecipeHandler decomposerRecipeHandler = new DecomposerNEIRecipeHandler(); API.registerRecipeHandler(decomposerRecipeHandler); API.registerUsageHandler(decomposerRecipeHandler); SynthesisNEIRecipeHandler synthesisRecipeHandler = new SynthesisNEIRecipeHandler(); API.registerRecipeHandler(synthesisRecipeHandler); API.registerUsageHandler(synthesisRecipeHandler); }
@Override public void loadConfig() { // register NEI recipe handler LogHelper.debug("Registering NEI recipe handlers"); // mutation handler API.registerRecipeHandler(new NEICropMutationHandler()); API.registerUsageHandler(new NEICropMutationHandler()); // crop product handler API.registerRecipeHandler(new NEICropProductHandler()); API.registerUsageHandler(new NEICropProductHandler()); // hide crop blocks in NEI hideItems(); }
@Override public void loadConfig() { this.registerRecipes(); API.registerRecipeHandler(new RocketT2RecipeHandler()); API.registerUsageHandler(new RocketT2RecipeHandler()); API.registerRecipeHandler(new CargoRocketRecipeHandler()); API.registerUsageHandler(new CargoRocketRecipeHandler()); API.registerRecipeHandler(new GasLiquefierRecipeHandler()); API.registerUsageHandler(new GasLiquefierRecipeHandler()); API.registerRecipeHandler(new MethaneSynthesizerRecipeHandler()); API.registerUsageHandler(new MethaneSynthesizerRecipeHandler()); API.registerHighlightIdentifier(MarsBlocks.marsBlock, planetsHighlightHandler); }
@Override public void loadConfig() { ModUtil.LOGGER.info("Initializing Not Enough Items Plugin..."); API.registerGuiOverlay(GuiCrafter.class, "crafting"); API.registerGuiOverlayHandler(GuiCrafter.class, new DefaultOverlayHandler(), "crafting"); NEICrusherRecipe crusherRecipe = new NEICrusherRecipe(); API.registerRecipeHandler(crusherRecipe); API.registerUsageHandler(crusherRecipe); NEICrusherRecipe.Double crusherDoubleRecipe = new NEICrusherRecipe.Double(); API.registerRecipeHandler(crusherDoubleRecipe); API.registerUsageHandler(crusherDoubleRecipe); NEIFurnaceDoubleRecipe furnaceDoubleRecipe = new NEIFurnaceDoubleRecipe(); API.registerRecipeHandler(furnaceDoubleRecipe); API.registerUsageHandler(furnaceDoubleRecipe); NEIHairyBallRecipe ballRecipe = new NEIHairyBallRecipe(); API.registerRecipeHandler(ballRecipe); API.registerUsageHandler(ballRecipe); NEITreasureChestRecipe treasureChestRecipe = new NEITreasureChestRecipe(); API.registerRecipeHandler(treasureChestRecipe); API.registerUsageHandler(treasureChestRecipe); NEICompostRecipe compostRecipe = new NEICompostRecipe(); API.registerRecipeHandler(compostRecipe); API.registerUsageHandler(compostRecipe); NEICoffeeMachineRecipe coffeeMachineRecipe = new NEICoffeeMachineRecipe(); API.registerRecipeHandler(coffeeMachineRecipe); API.registerUsageHandler(coffeeMachineRecipe); NEIReconstructorRecipe reconstructorRecipe = new NEIReconstructorRecipe(); API.registerRecipeHandler(reconstructorRecipe); API.registerUsageHandler(reconstructorRecipe); NEIBookletRecipe bookletRecipe = new NEIBookletRecipe(); API.registerRecipeHandler(bookletRecipe); API.registerUsageHandler(bookletRecipe); API.hideItem(new ItemStack(InitBlocks.blockRice)); API.hideItem(new ItemStack(InitBlocks.blockCanola)); API.hideItem(new ItemStack(InitBlocks.blockFlax)); API.hideItem(new ItemStack(InitBlocks.blockCoffee)); API.hideItem(new ItemStack(InitBlocks.blockWildPlant, 1, Util.WILDCARD)); API.hideItem(new ItemStack(InitBlocks.blockColoredLampOn, 1, Util.WILDCARD)); }
@Override public void loadConfig() { // TODO Auto-generated method stub CasterRecipehandler handler = new CasterRecipehandler(); API.registerRecipeHandler(handler); API.registerUsageHandler(handler); API.registerGuiOverlay(GuiIngotCaster.class, mod_poop.MOD_ID + ".ingotCaster"); }
@Override public void loadConfig() { ShapedRollingMachineHandler shapedRollingMachineHandler = new ShapedRollingMachineHandler(); ShapelessRollingMachineHandler shapelessRollingMachineHandler = new ShapelessRollingMachineHandler(); ImplosionCompressorRecipeHandler implosion = new ImplosionCompressorRecipeHandler(); API.registerUsageHandler(implosion); API.registerRecipeHandler(implosion); AlloySmelterRecipeHandler alloy = new AlloySmelterRecipeHandler(); API.registerUsageHandler(alloy); API.registerRecipeHandler(alloy); IndustrialSawmillRecipeHandler sawmill = new IndustrialSawmillRecipeHandler(); API.registerUsageHandler(sawmill); API.registerRecipeHandler(sawmill); ChemicalReactorRecipeHandler chem = new ChemicalReactorRecipeHandler(); API.registerUsageHandler(chem); API.registerRecipeHandler(chem); CentrifugeRecipeHandler cent = new CentrifugeRecipeHandler(); API.registerUsageHandler(cent); API.registerRecipeHandler(cent); GrinderRecipeHandler grind = new GrinderRecipeHandler(); API.registerUsageHandler(grind); API.registerRecipeHandler(grind); IndustrialElectrolyzerRecipeHandler elec = new IndustrialElectrolyzerRecipeHandler(); API.registerUsageHandler(elec); API.registerRecipeHandler(elec); BlastFurnaceRecipeHandler blast = new BlastFurnaceRecipeHandler(); API.registerUsageHandler(blast); API.registerRecipeHandler(blast); API.registerUsageHandler(shapedRollingMachineHandler); API.registerRecipeHandler(shapedRollingMachineHandler); API.registerUsageHandler(shapelessRollingMachineHandler); API.registerRecipeHandler(shapelessRollingMachineHandler); }
public AWNeiRecipeHandler() { API.registerRecipeHandler(this); API.registerUsageHandler(this); }
@Override public void loadConfig() { API.registerRecipeHandler(new NEICorruptedInfusion()); API.registerUsageHandler(new NEICorruptedInfusion()); API.registerUsageHandler(new NEIBloodCleanser()); }
@Override public void loadConfig() { API.registerGuiOverlay(GuiPetrifiedWorkbench.class, "crafting"); API.registerGuiOverlayHandler( GuiPetrifiedWorkbench.class, new DefaultOverlayHandler(), "crafting"); API.registerRecipeHandler(new OfferingAltarNEIHandler()); API.registerUsageHandler(new OfferingAltarNEIHandler()); API.registerRecipeHandler(new SmoothieMakerNEIHandler()); API.registerUsageHandler(new SmoothieMakerNEIHandler()); API.hideItem(new ItemStack(ModBlocks.portal)); API.hideItem(new ItemStack(ModBlocks.blockTurnip)); API.hideItem(new ItemStack(ModBlocks.insectRepellent)); API.hideItem(new ItemStack(ModBlocks.flowerPlanted, 1, OreDictionary.WILDCARD_VALUE)); API.hideItem(new ItemStack(ModBlocks.honeyBlock)); API.hideItem(new ItemStack(ModBlocks.bambooShoot)); API.hideItem(new ItemStack(ModBlocks.slidingBlockPuzzle)); API.hideItem(new ItemStack(ModBlocks.completedPuzzle)); API.hideItem(new ItemStack(ModBlocks.anthillBlock)); API.hideItem(new ItemStack(ModBlocks.anthillStairs)); API.hideItem(new ItemStack(ModBlocks.soldierAntTrap)); API.hideItem(new ItemStack(ModBlocks.puffShroom)); API.hideItem(new ItemStack(ModBlocks.forceLock)); API.hideItem(ItemMaterials.DATA.FORCE_KEY.makeStack()); if (!OreType.ALUMINIUM.isEnabled()) { API.hideItem(new ItemStack(ModBlocks.oreAluminium)); API.hideItem(ItemMaterials.DATA.INGOT_ALUMINIUM.makeStack()); } if (!OreType.COPPER.isEnabled()) { API.hideItem(new ItemStack(ModBlocks.oreCopper)); API.hideItem(ItemMaterials.DATA.INGOT_COPPER.makeStack()); } if (!OreType.LEAD.isEnabled()) { API.hideItem(new ItemStack(ModBlocks.oreLead)); API.hideItem(ItemMaterials.DATA.INGOT_LEAD.makeStack()); } if (!OreType.SILVER.isEnabled()) { API.hideItem(new ItemStack(ModBlocks.oreSilver)); API.hideItem(ItemMaterials.DATA.INGOT_SILVER.makeStack()); } if (!OreType.TIN.isEnabled()) { API.hideItem(new ItemStack(ModBlocks.oreTin)); API.hideItem(ItemMaterials.DATA.INGOT_TIN.makeStack()); } API.hideItem(new ItemStack(ModBlocks.hanger)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkMain)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkDown1)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkDown2)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkDown3)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkN1)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkS1)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkNS2)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkW1)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkE1)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkWE2)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkN3)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkS3)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkW3)); API.hideItem(new ItemStack(ModBlocks.glowshroomStalkE3)); for (Block block : ModBlocks.BLOCKS) if (block instanceof BlockDoorErebus) API.hideItem(new ItemStack(block)); }