importcodechicken.nei.recipe.RecipeInfo;//导入依赖的package包/类publicstaticvoidinit(){ AutoCrafter2000.getLogger().info("NEI compatibility init ...");try{if(FMLCommonHandler.instance().getSide().isClient())RecipeInfo.registerOverlayHandler(AutoCrafterGui.class,newAutoCrafterOverlayHandler(),"craftin...
block_simple_crafter.getBlockNN()), VanillaRecipeCategoryUid.CRAFTING); } 代码示例来源:origin: ForestryMC/ForestryMC @Override public void register(IModRegistry registry) { if (!ModuleHelper.isEnabled(ForestryModuleUids.FARMING)) { return; } registry.addRecipes(FarmingInfoRecipeMaker.getRecipes(), ...
((AutoCrafterGui) firstGui).inventorySlots.getSlot(0).putStack(recipe.getResultStack(recipeIndex).item); } 开发者ID:CCM-Modding,项目名称:AutoCrafter2000,代码行数:17,代码来源:AutoCrafterOverlayHandler.java 示例3: overlayRecipe ▲点赞 3▼ importcodechicken.nei.recipe.IRecipeHandler;//导入依赖的pa...