Package crazypants.enderio.machine.slicensplice

Source Code of crazypants.enderio.machine.slicensplice.SliceAndSpliceRecipeManager

package crazypants.enderio.machine.slicensplice;

import crazypants.enderio.ModObject;
import crazypants.enderio.machine.MachineRecipeRegistry;
import crazypants.enderio.machine.recipe.ManyToOneMachineRecipe;
import crazypants.enderio.machine.recipe.ManyToOneRecipeManager;

public class SliceAndSpliceRecipeManager extends ManyToOneRecipeManager {

  static final SliceAndSpliceRecipeManager instance = new SliceAndSpliceRecipeManager();

  public static SliceAndSpliceRecipeManager getInstance() {
    return instance;
  }
 
  public SliceAndSpliceRecipeManager() {   
    super("SliceAndSpliceRecipes_Core.xml", "SliceAndSpliceRecipes_User.xml", "Slice'N'Splice");
  }

  @Override
  public void loadRecipesFromConfig() {
    super.loadRecipesFromConfig();
    MachineRecipeRegistry.instance.registerRecipe(
        ModObject.blockSliceAndSplice.unlocalisedName,
        new ManyToOneMachineRecipe("SpliceAndSpliceRecipe",
            ModObject.blockAlloySmelter.unlocalisedName, this));
  }

}
TOP

Related Classes of crazypants.enderio.machine.slicensplice.SliceAndSpliceRecipeManager

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.