Java 类net.minecraftforge.oredict.RecipeSorter 实例源码

项目:minecraft-quiverbow    文件:MediGun.java   
@Override
public void addRecipes()
{
    if (this.Enabled)
    {
        // Use a beacon for this (+ obsidian, tripwire hook... what else)
        GameRegistry.addRecipe(new ItemStack(this, 1 , this.getMaxDamage()), "bi ", "ico", " ot",
                'b', Blocks.beacon,
                'o', Blocks.obsidian,
                't', Blocks.tripwire_hook,
                'c', Items.cauldron,
                'i', Items.iron_ingot
                );
    }
    else if (Main.noCreative) { this.setCreativeTab(null); }    // Not enabled and not allowed to be in the creative menu

    RecipeSorter.register("quiverchevsky:recipehandler_roh_reload", Recipe_RayOfHope_Reload.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    ArrayList list = new ArrayList();

    list.add(new ItemStack(Items.potionitem, 1, 8193));
    list.add(new ItemStack(Items.potionitem, 1, 8225));

    GameRegistry.addRecipe(new Recipe_RayOfHope_Reload(new ItemStack(this), list, new ItemStack(Items.potionitem, 1, 8193), new ItemStack(Items.potionitem, 1, 8225)));
}
项目:ExtraUtilities    文件:ExtraUtils.java   
public static void registerRecipe(final Class<? extends IRecipe> recipe) {
    if (ExtraUtils.registeredRecipes.contains(recipe)) {
        return;
    }
    if (!recipe.getName().startsWith("com.rwtema.")) {
        return;
    }
    ExtraUtils.registeredRecipes.add(recipe);
    LogHelper.fine("Registering " + recipe.getSimpleName() + " to RecipeSorter", new Object[0]);
    if (ShapedOreRecipe.class.isAssignableFrom(recipe)) {
        RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, RecipeSorter.Category.SHAPED, "after:forge:shapedore");
    }
    else if (ShapelessOreRecipe.class.isAssignableFrom(recipe)) {
        RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, RecipeSorter.Category.SHAPELESS, "after:forge:shapelessore");
    }
    else if (ShapedRecipes.class.isAssignableFrom(recipe)) {
        RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, RecipeSorter.Category.SHAPED, "after:minecraft:shaped before:minecraft:shapeless");
    }
    else if (ShapelessRecipes.class.isAssignableFrom(recipe)) {
        RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless before:minecraft:bookcloning");
    }
    else {
        RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, RecipeSorter.Category.SHAPELESS, "after:forge:shapelessore");
    }
}
项目:Factorization    文件:BarrelUpgradeRecipes.java   
public static void addUpgradeRecipes() {
    ItemStack oakBarrel = TileEntityDayBarrel.makeBarrel(NORMAL, oakLog, oakPlank);
    oakBarrel.setItemDamage(OreDictionary.WILDCARD_VALUE);

    RecipeSorter.register("factorization:barrel_upgrade", BarrelUpgrade.class, RecipeSorter.Category.SHAPED, "");

    GameRegistry.addRecipe(new BarrelUpgrade(SILKY, 3, 3, new ItemStack[] {
            web, web, web,
            web, oakBarrel, web,
            web, web, web
    }));

    GameRegistry.addRecipe(new BarrelUpgrade(HOPPING, 1, 3, new ItemStack[] {
            hopper,
            oakBarrel,
            hopper
    }));

    GameRegistry.addRecipe(new BarrelUpgrade(STICKY, 1, 3, new ItemStack[] {
            slime_ball,
            oakBarrel,
            slime_ball
    }));
}
项目:DimsumCraft    文件:ModRecipes.java   
public static void init() {
    MinecraftForge.addGrassSeed(new ItemStack(ModItems.rice_seed), 9);
    RecipeSorter.register("dimsumcraft:knife", KnifeRecipes.class, Category.SHAPED, "after:minecraft:shaped");

    buhriMillRecipes.addRecipe(new ItemStack(ModItems.flour),                      Items.wheat);
    buhriMillRecipes.addRecipe(new ItemStack(ModItems.raw_ricemilk),               Items.bucket,        ModItems.fistful_of_rice);
    buhriMillRecipes.addRecipe(new ItemStack(ModItems.bucket_of_vegetable_oil),    Items.bucket,        Items.melon_seeds);
    buhriMillRecipes.addRecipe(new ItemStack(ModItems.bucket_of_vegetable_oil),    Items.bucket,        Items.pumpkin_seeds);
    buhriMillRecipes.addRecipe(new ItemStack(ModItems.bucket_of_vegetable_oil),    Items.bucket,        Items.wheat_seeds);
    buhriMillRecipes.addRecipe(new ItemStack(ModItems.bucket_of_vegetable_oil),    Items.bucket,        ModItems.rice_seed);
    choppingBoardRecipes.addRecipe(new ItemStack(ModItems.paste),                  Items.water_bucket,  ModItems.flour);
    soysauceFermenterRecipes.addRecipe(new ItemStack(ModItems.bucket_of_soysauce), Items.bucket,        ModItems.soybean);

    KnifeRecipes.addRecipe(new ItemStack(ModItems.dumpling_skin, 8),    new Object[] { "ABB",      'A', ModItems.knife, 'B', ModItems.paste });
    GameRegistry.addRecipe(new ItemStack(ModItems.fistful_of_rice),     new Object[] { "AA", "AA", 'A', ModItems.rice });
    GameRegistry.addShapelessRecipe(new ItemStack(ModItems.corn_seed),  new Object[] { ModItems.raw_corn });

    GameRegistry.addSmelting(ModItems.raw_chasiubao,    new ItemStack(ModItems.cooked_chasiubao),   0F);
    GameRegistry.addSmelting(ModItems.raw_hargow,       new ItemStack(ModItems.cooked_hargow),      0F);
    GameRegistry.addSmelting(ModItems.raw_lomaigai,     new ItemStack(ModItems.cooked_lomaigai),    0F);
    GameRegistry.addSmelting(ModItems.raw_ricemilk,     new ItemStack(ModItems.cooked_ricemilk),    0F);
    GameRegistry.addSmelting(ModItems.raw_shumai,       new ItemStack(ModItems.cooked_shumai),      0F);
    GameRegistry.addSmelting(ModItems.bucket_of_salt,   new ItemStack(Items.water_bucket),          0F);
}
项目:CartLivery    文件:CommonProxy.java   
public void init() {
    MinecraftForge.EVENT_BUS.register(this);
    NetworkRegistry.INSTANCE.registerGuiHandler(ModCartLivery.instance, new GuiHandler());
    network.registerMessage(LiveryRequestHandler.class, LiveryRequestMessage.class, 0, Side.SERVER);
    network.registerMessage(LiveryUpdateHandler.class, LiveryUpdateMessage.class, 1, Side.CLIENT);
    network.registerMessage(LiveryGuiPatternHandler.class, LiveryGuiPatternMessage.class, 2, Side.SERVER);

    GameRegistry.registerItem(itemCutter, "cutter");
    GameRegistry.registerItem(itemSticker, "sticker");

    GameRegistry.addShapelessRecipe(new ItemStack(itemCutter), Items.shears, Items.paper);
    GameRegistry.addRecipe(new LiveryStickerColoringRecipe());
    RecipeSorter.register("cartlivery:coloring", LiveryStickerColoringRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless");

    FMLInterModComms.sendMessage(ModCartLivery.MOD_ID, "addClassExclusion", "mods.railcraft.common.carts.EntityLocomotive");
    FMLInterModComms.sendMessage(ModCartLivery.MOD_ID, "addClassExclusion", "mods.railcraft.common.carts.EntityTunnelBore");
    FMLInterModComms.sendMessage(ModCartLivery.MOD_ID, "addBuiltInLiveries", "stripe1,stripe2,arrowup,dblarrow,corners1,bottom,thissideup,love,db,railtech,fragile");
}
项目:ProgressiveAutomation    文件:WitherTools.java   
public static void preInit() {
    RecipeSorter.register(Ref.MODID+":witherTool", RecipeWitherTool.class, SHAPED, "after:forge:shapedore");

    witherWood = new ItemWitherWood();
    witherStone = new ItemWitherStone();
    witherIron = new ItemWitherIron();
    witherGold = new ItemWitherGold();
    witherDiamond = new ItemWitherDiamond();

    witherWood.preInit();
    witherStone.preInit();
    witherIron.preInit();
    witherGold.preInit();
    witherDiamond.preInit();

    //add recipes for the tools
    woodenRecipes();
    stoneRecipes();
    ironRecipes();
    goldRecipes();
    diamondRecipes();
}
项目:connor41-etfuturum2    文件:ModRecipes.java   
public static void init() {
    if (EtFuturum.enableBanners) {
        RecipeSorter.register(Reference.MOD_ID + ".RecipeDuplicatePattern", RecipeDuplicatePattern.class, Category.SHAPELESS, "after:minecraft:shapeless");
        RecipeSorter.register(Reference.MOD_ID + ".RecipeAddPattern", RecipeAddPattern.class, Category.SHAPED, "after:minecraft:shaped");
    }

    registerOreDictionary();
    registerRecipes();
    tweakRecipes();
}
项目:minecraft-quiverbow    文件:PackedUpAA.java   
@Override
public void addRecipes() 
{ 
    if (Main.allowTurret)
    {
        // Uses a Wither Skull and two eyes of ender
        // Plus a frame, legs, weapon rail...

        GameRegistry.addRecipe(new ItemStack(this), "ewe", "ibi", "ppp",    
                'w', new ItemStack(Items.skull, 1, 1),  // Wither skull 
                'e', Items.ender_eye,
                'b', Blocks.iron_block,
                'i', Items.iron_ingot,
                'p', Blocks.sticky_piston
        );
    }
    else if (Main.noCreative) { this.setCreativeTab(null); }    // Not allowed to be on the creative tab either

    RecipeSorter.register("quiverchevsky:recipehandler_aa_armor", Recipe_AA_Armor.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_mobility", Recipe_AA_Mobility.class, RecipeSorter.Category.SHAPED, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_storage", Recipe_AA_Storage.class, RecipeSorter.Category.SHAPED, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_weapon", Recipe_AA_Weapon.class, RecipeSorter.Category.SHAPED, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_riding", Recipe_AA_Riding.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_plating", Recipe_AA_Plating.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_aa_com", Recipe_AA_Communication.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    // Upgrades
    this.registerArmorRecipe();
    this.registerPlatingRecipe();
    this.registerMobilityRecipe();
    this.registerStorageRecipe();
    this.registerSecondRailRecipe();
    this.registerRidingRecipe();
    this.registerCommunicationRecipe();
}
项目:CombinedPotions    文件:CombinedPotions.java   
@EventHandler
public void init(FMLInitializationEvent event)
{
    if (!Loader.isModLoaded("potioncore"))
    {
        ForgeRegistries.RECIPES.register(new RecipeCombinedPotions().setRegistryName("combined_potions"));
        RecipeSorter.register(MODID + ":" + RecipeCombinedPotions.class.getSimpleName().toLowerCase(), RecipeCombinedPotions.class, RecipeSorter.Category.SHAPELESS, "after:*");
    }
    else
    {
        ForgeRegistries.RECIPES.register(new RecipeCombinedPotions2().setRegistryName("combined_potions"));
        RecipeSorter.register(MODID + ":" + RecipeCombinedPotions2.class.getSimpleName().toLowerCase(), RecipeCombinedPotions2.class, RecipeSorter.Category.SHAPELESS, "after:*");
    }
}
项目:CustomWorldGen    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
    FluidRegistry.validateFluidRegistry();
}
项目:ExtraUtilities    文件:ExtraUtils.java   
public void registerRecipe(final Class<? extends IRecipe> recipe, final RecipeSorter.Category cat, final String s) {
    if (ExtraUtils.registeredRecipes.contains(recipe)) {
        return;
    }
    ExtraUtils.registeredRecipes.add(recipe);
    RecipeSorter.register("extrautils:" + recipe.getSimpleName(), (Class)recipe, cat, s);
}
项目:4Space-5    文件:AsteroidsModule.java   
@Override
public void preInit(FMLPreInitializationEvent event)
{
    playerHandler = new AsteroidsPlayerHandler();
    MinecraftForge.EVENT_BUS.register(playerHandler);
    FMLCommonHandler.instance().bus().register(playerHandler);
    AsteroidsEventHandler eventHandler = new AsteroidsEventHandler();
    MinecraftForge.EVENT_BUS.register(eventHandler);
    FMLCommonHandler.instance().bus().register(eventHandler);
    RecipeSorter.register("galacticraftmars:canisterRecipe", CanisterRecipes.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    AsteroidsModule.fluidMethaneGas = registerFluid("methane", 1, 11, 295, true);
    AsteroidsModule.fluidAtmosphericGases = registerFluid("atmosphericgases", 1, 13, 295, true);
    AsteroidsModule.fluidLiquidMethane = registerFluid("liquidmethane", 450, 120, 109, false);
    //Data source for liquid methane: http://science.nasa.gov/science-news/science-at-nasa/2005/25feb_titan2/
    AsteroidsModule.fluidLiquidOxygen = registerFluid("liquidoxygen", 1141, 140, 90, false);
    AsteroidsModule.fluidOxygenGas = registerFluid("oxygen", 1, 13, 295, true);
    AsteroidsModule.fluidLiquidNitrogen = registerFluid("liquidnitrogen", 808, 130, 90, false);
    AsteroidsModule.fluidNitrogenGas = registerFluid("nitrogen", 1, 12, 295, true);
    registerFluid("carbondioxide", 2, 20, 295, true);
    registerFluid("hydrogen", 1, 1, 295, true);
    registerFluid("argon", 1, 4, 295, true);
    AsteroidsModule.fluidLiquidArgon = registerFluid("liquidargon", 900, 100, 87, false);
    registerFluid("helium", 1, 1, 295, true);

    //AsteroidsModule.fluidCO2Gas = FluidRegistry.getFluid("carbondioxide");

    AsteroidBlocks.initBlocks();
    AsteroidBlocks.registerBlocks();
    AsteroidBlocks.setHarvestLevels();
    AsteroidBlocks.oreDictRegistration();

    AsteroidsItems.initItems();

    FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(AsteroidsModule.fluidMethaneGas, 1000), new ItemStack(AsteroidsItems.methaneCanister, 1, 1), new ItemStack(GCItems.oilCanister, 1, ItemCanisterGeneric.EMPTY)));
    FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(AsteroidsModule.fluidLiquidOxygen, 1000), new ItemStack(AsteroidsItems.canisterLOX, 1, 1), new ItemStack(GCItems.oilCanister, 1, ItemCanisterGeneric.EMPTY)));
    FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(AsteroidsModule.fluidLiquidNitrogen, 1000), new ItemStack(AsteroidsItems.canisterLN2, 1, 1), new ItemStack(GCItems.oilCanister, 1, ItemCanisterGeneric.EMPTY)));
}
项目:TRHS_Club_Mod_2016    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
    FluidRegistry.validateFluidRegistry();
}
项目:ItsJustaCharm1.10.2Dead    文件:ModRecipes.java   
public static void registerCraftingRecipes() {
    GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.TintedPlanks, 4), ModBlocks.TintedLog);

    GameRegistry.addRecipe(new RingAttachmentRecipe());
    RecipeSorter.register("ijc:ringAttach", RingAttachmentRecipe.class, RecipeSorter.Category.SHAPELESS, "");
    GameRegistry.addRecipe(new RingRemovalRecipe());
    RecipeSorter.register("ijc:ringRemove", RingRemovalRecipe.class, RecipeSorter.Category.SHAPELESS, "");
}
项目:Enderthing    文件:Enderthing.java   
@Mod.EventHandler
public void init(FMLInitializationEvent event)
{
    proxy.init();

    GameRegistry.addRecipe(new ItemStack(enderCard),
            "nnn",
            "ppp",
            "nnn",
            'n', Items.GOLD_NUGGET,
            'p', Items.PAPER);

    GameRegistry.addRecipe(new KeyRecipe());
    GameRegistry.addRecipe(new LockRecipe());
    GameRegistry.addRecipe(new PackRecipe());
    GameRegistry.addRecipe(new MakePrivateRecipe(enderKey));
    GameRegistry.addRecipe(new MakePrivateRecipe(enderLock));
    GameRegistry.addRecipe(new MakePrivateRecipe(enderPack));
    GameRegistry.addRecipe(new MakePrivateRecipe(enderKeyChest));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderKey, false));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderLock, false));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderPack, false));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderKeyChest, false));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderKey, true));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderLock, true));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderPack, true));
    GameRegistry.addRecipe(new ChangeColorsRecipe(enderKeyChest, true));

    RecipeSorter.register(MODID + ":ender_key", KeyRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(MODID + ":ender_lock", LockRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(MODID + ":ender_pack", PackRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(MODID + ":make_private", MakePrivateRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(MODID + ":change_color", ChangeColorsRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
}
项目:EverythingBlocks    文件:EBCraftingManager.java   
/** Add all valid block recipes */
public static void addRecipes() {

    // Everything Block Recipes
    GameRegistry.addRecipe(new EverythingBlockCraftingRecipes());
    GameRegistry.addRecipe(new EverythingBlockDecraftingRecipes());
    GameRegistry.addRecipe(new EverythingSlabCraftingRecipes());
    GameRegistry.addRecipe(new EverythingStairCraftingRecipes());
    GameRegistry.addRecipe(new EverythingStairDecraftingRecipes());
    GameRegistry.addRecipe(new EverythingWallCraftingRecipes());
    GameRegistry.addRecipe(new EverythingWallDecraftingRecipes());
    RecipeSorter.register(RefStrings.MODID + ":EBCrafting", EverythingBlockCraftingRecipes.class, Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(RefStrings.MODID + ":EBDecrafting", EverythingBlockDecraftingRecipes.class, Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register(RefStrings.MODID + ":EBSlabCrafting", EverythingSlabCraftingRecipes.class, Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(RefStrings.MODID + ":EBStairCrafting", EverythingStairCraftingRecipes.class, Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(RefStrings.MODID + ":EBStairDecrafting", EverythingStairDecraftingRecipes.class, Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register(RefStrings.MODID + ":EBWallCrafting", EverythingWallCraftingRecipes.class, Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register(RefStrings.MODID + ":EBWallDecrafting", EverythingWallDecraftingRecipes.class, Category.SHAPELESS, "after:minecraft:shapeless");

    // direct the API to these recipes
    EverythingBlocksAPI.craftingRecipes = new EverythingBlockCraftingRecipes();
    EverythingBlocksAPI.decraftingRecipes = new EverythingBlockDecraftingRecipes();
    EverythingBlocksAPI.craftingRecipesSlabs = new EverythingSlabCraftingRecipes();
    EverythingBlocksAPI.craftingRecipesStairs = new EverythingStairCraftingRecipes();
    EverythingBlocksAPI.decraftingRecipesStairs = new EverythingStairDecraftingRecipes();
    EverythingBlocksAPI.craftingRecipesWalls = new EverythingStairCraftingRecipes();
    EverythingBlocksAPI.decraftingRecipesWalls = new EverythingStairDecraftingRecipes();

}
项目:CraftingHarmonics    文件:CraftingHarmonicsMod.java   
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {
    configManager.processSetFiles();

    // Link in our recipes
    RecipeSorter.register("craftingharmonics:shaped_component",       ShapedComponentRecipe.class,
            SHAPED,    "before:minecraft:shaped");
    RecipeSorter.register("craftingharmonics:shapeless_component",    ShapelessComponentRecipe.class,
            SHAPELESS, "after:forge:shapedore before:minecraft:shapeless");

}
项目:SimpleCorn    文件:MasterRegistrar.java   
public static void callRegistry(FMLPreInitializationEvent e) {
    register(e, ObjectList.getItemList());
    register(e, ObjectList.getBlockList());
    Recipes.register();
    if(e.getSide() == Side.CLIENT){
            RenderingRegistry.registerEntityRenderingHandler(MyEntityFireworkRocket.class, RenderFireworkEntity.INSTANCE);
    }
    EntityRegistry.registerModEntity(new ResourceLocation("simplecorn:entitypopfirework"),MyEntityFireworkRocket.class, "entitypopfirework", 132, Corn.instance, 64, 3, true);

    MapGenStructureIO.registerStructureComponent(ComponentCornField.class, "Vicf");
    VillagerRegistry.instance().registerVillageCreationHandler(new CornWorldGen());
    RecipeSorter.register("simplecorn:fireworks", MyRecipeFireworks.class, Category.SHAPELESS, "after:minecraft:fireworks");
}
项目:TFC-Tweaks    文件:TFCTweaks.java   
@Mod.EventHandler
public void init(FMLInitializationEvent event)
{
    //noinspection unchecked
    CraftingManager.getInstance().getRecipeList().add(OreDictionaryArmorDyeRecipe.INSTANCE);
    RecipeSorter.register(MODID + ":armordyes", OreDictionaryArmorDyeRecipe.class, RecipeSorter.Category.SHAPELESS, "before:minecraft:armordyes");
}
项目:MoarCarts    文件:MoarCarts.java   
@EventHandler
public void init(FMLInitializationEvent event)
{
    BoilerplateLib.getInstance().init(event);

    RecipeSorter.register("moarcarts:nbtcartrecipe", NBTCartRecipe.class, RecipeSorter.Category.SHAPELESS,
            "after:minecraft:shapeless");
}
项目:CauldronGit    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:RFDrills    文件:ModRecipes.java   
public static void init(){
    RecipeSorter.register(Reference.MOD_ID + ":upgrading", ShapedUpgradeRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped before:minecraft:shapeless");
    RecipeSorter.register(Reference.MOD_ID + ":muffle", ShapelessMuffleRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register(Reference.MOD_ID + ":unmuffle", ShapelessUnmuffleRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    if(RFDrills.isTELoaded && ConfigHandler.integrateTE) initTE();
    if(RFDrills.isEIOLoaded && ConfigHandler.integrateEIO) initEIO();
    if((RFDrills.isRArsLoaded || SimplyJetpacksCompat.integratesTE()) && ConfigHandler.integrateRArs) initRArs();
}
项目:Et-Futurum    文件:ModRecipes.java   
public static void init() {
    if (EtFuturum.enableBanners) {
        RecipeSorter.register(Reference.MOD_ID + ".RecipeDuplicatePattern", RecipeDuplicatePattern.class, Category.SHAPELESS, "after:minecraft:shapeless");
        RecipeSorter.register(Reference.MOD_ID + ".RecipeAddPattern", RecipeAddPattern.class, Category.SHAPED, "after:minecraft:shaped");
    }

    registerOreDictionary();
    registerRecipes();
    tweakRecipes();
}
项目:ITA    文件:Main.java   
@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event) throws IOException{
    Config.configDir = new File(event.getModConfigurationDirectory(),"ITA");
    Config.loadConfigs();

    ITA.net = NetworkRegistry.INSTANCE.newSimpleChannel("ITA");
    ITA.registerMessage(jsonConfigPacket.class, jsonConfigPacket.jsonConfigMessage.class);
    ITA.registerMessage(commonConfigPacket.class, commonConfigPacket.commonConfigMessage.class);

    ITA.Helmet = new ITAArmor(CONSTS.typeHELMET).setUnlocalizedName("ITAHelmet").setTextureName("ITA:Helmet");
    ITA.Chestplate = new ITAArmor(CONSTS.typeCHESTPLATE).setUnlocalizedName("ITAChestplate").setTextureName("ITA:Chestplate");
    ITA.Leggings = new ITAArmor(CONSTS.typeLEGGINGS).setUnlocalizedName("ITALeggings").setTextureName("ITA:Leggings");
    ITA.Boots = new ITAArmor(CONSTS.typeBOOTS).setUnlocalizedName("ITABoots").setTextureName("ITA:Boots");
    ITA.ArmorHammer = new ArmorHammer().setUnlocalizedName("ITAHammer").setTextureName("ITA:Hammer");
    ITA.Alloy = new Alloy().setUnlocalizedName("ITAAlloy").setTextureName("ITA:Alloy");

    GameRegistry.registerItem(ITA.Helmet,CONSTS.idHELMENT);
    GameRegistry.registerItem(ITA.Chestplate, CONSTS.idCHESTPLATE);
    GameRegistry.registerItem(ITA.Leggings, CONSTS.idLEGGINGS);
    GameRegistry.registerItem(ITA.Boots, CONSTS.idBOOTS);
    GameRegistry.registerItem(ITA.ArmorHammer, CONSTS.idARMORHAMMER);
    GameRegistry.registerItem(ITA.Alloy, CONSTS.idALLOY);


    GameRegistry.addRecipe(new RecipeITAAarmor());
    GameRegistry.addRecipe(new RecipeArmorDye());
    GameRegistry.addRecipe(new RecipeAlloy());
    RecipeSorter.register("ITA:armor",RecipeITAAarmor.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register("ITA:armorDye",RecipeArmorDye.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shaped");
    RecipeSorter.register("ITA:alloy", RecipeAlloy.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");

    new speedApplicator();

}
项目:CraftingManager    文件:CraftingMangerExternal.java   
public static void load(FMLInitializationEvent event)
{
    NetworkRegistry.INSTANCE.registerGuiHandler(CraftingManagerMod.instance, new GuiHandler());
    MinecraftForge.EVENT_BUS.register(new com.creativemd.craftingmanager.mod.utils.EventHandler());
    FMLCommonHandler.instance().bus().register(new com.creativemd.craftingmanager.mod.utils.EventHandler());
    CreativeCorePacket.registerPacket(CraftResultPacket.class, "CraftResult");
    CreativeCorePacket.registerPacket(GuiPacket.class, "ConfigGui");
    CreativeCorePacket.registerPacket(GuiPopupPacket.class, "GuiPopup");
    CreativeCorePacket.registerPacket(RecievePacket.class, "RecieveConfig");
    CreativeCorePacket.registerPacket(SystemPacket.class, "CSystemUpdate");
    //network.registerMessage((Class<? extends IMessageHandler<IMessage, IMessage>>)ReceiveHandler.class, (Class<? extends IMessage>)SystemPacket.class, 0, Side.CLIENT);

    CraftingManagerMod.proxy.loadSide();
    RecipeSorter.register("craftingmanager:bettershaped", BetterShapedRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped before:minecraft:shapeless");
    RecipeSorter.register("craftingmanager:bettershapeless", BetterShapelessRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    //PacketEntry.registerEntry(ArrayPacketEntry.class);
    PacketEntry.registerEntry(IntegerPacketEntry.class);
    PacketEntry.registerEntry(BooleanPacketEntry.class);
    PacketEntry.registerEntry(StringPacketEntry.class);

    StringUtils.loadUtils();

    //Add Configs
    CraftingManagerMod.coreSystem = (CoreSystem) ConfigRegistry.registerConfig(new CoreSystem());
    CraftingManagerMod.disableSystem = (DisableSystem) ConfigRegistry.registerConfig(new DisableSystem());
    CraftingManagerMod.addedSystem = (AddedSystem) ConfigRegistry.registerConfig(new AddedSystem());
    CraftingManagerMod.disableFurnace = (DisableFurnace) ConfigRegistry.registerConfig(new DisableFurnace());
    CraftingManagerMod.addFurnace = (AddFurnace) ConfigRegistry.registerConfig(new AddFurnace());
}
项目:mcplus_mods    文件:MCP.java   
/**Register the recipe*/
public static final void recipe(IRecipe parRecipe)
{
    ModContainer mod = MCP.mod();
    if (RecipeSorter.getCategory(parRecipe) == Category.UNKNOWN)
    {
        RecipeSorter.register(Assets.resource(mod.getModId(), StringUtil.camelToUnderscore(parRecipe.getClass().getSimpleName())), parRecipe.getClass(), Category.SHAPED, "before:minecraft:shapeless");
    }
    GameRegistry.addRecipe(parRecipe);
}
项目:GardenCollection    文件:ModRecipes.java   
private void addExtraWoodRecipes () {
    RecipeSorter.register("GardenTrees:WoodBlock", WoodBlockRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register("GardenTrees:WoodPost", WoodPostRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
    RecipeSorter.register("GardenTrees:WoodFence", WoodFenceRecipe.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");

    for (Map.Entry<UniqueMetaIdentifier, Block> entry : WoodRegistry.instance().registeredTypes()) {
        UniqueMetaIdentifier id = entry.getKey();

        CraftingManager.getInstance().getRecipeList().add(new WoodPostRecipe(id));
        CraftingManager.getInstance().getRecipeList().add(new WoodFenceRecipe(id));
        CraftingManager.getInstance().getRecipeList().add(new WoodBlockRecipe(id));
    }
}
项目:Cauldron    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:Cauldron    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:Cauldron    文件:ForgeModContainer.java   
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:VanillaImp    文件:VanillaImprovements.java   
@Mod.EventHandler
public void init(FMLInitializationEvent event) {

    //Register recipes
    RecipeSorter.register("randomstuff:colored", ColoredItemsRecipe.class, Category.SHAPED, "before:forge:shapedore");
    RecipeSorter.register("randomstuff:recolored", ReColoredItemsRecipe.class, Category.SHAPELESS, "before:forge:shapedore after:randomstuff:colored");
    ModItemRecipes.init();
    ModBlockRecipes.init();
    ModOreDictionary.init();

    //Register event handlers
    FMLCommonHandler.instance().bus().register(new ItemEventHandler());

}
项目:SimplyJetpacks    文件:SimplyJetpacks.java   
@EventHandler
public static void init(FMLInitializationEvent evt) {
    RecipeSorter.register(SimplyJetpacks.MODID + ":upgrading", UpgradingRecipe.class, Category.SHAPED, "after:minecraft:shaped");
    proxy.registerHandlers();
    PacketHandler.init();
    ModItems.init();
    ModEnchantments.init();
}
项目:RuneCraftery    文件:ForgeDummyContainer.java   
@Subscribe
public void onAvalible(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:RuneCraftery    文件:ForgeDummyContainer.java   
@Subscribe
public void onAvalible(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:BetterNutritionMod    文件:ForgeDummyContainer.java   
@Subscribe
public void onAvalible(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
}
项目:OpenPeripheral-Addons    文件:Recipes.java   
public static void register() {
    final ItemStack duckAntenna = MetasGeneric.duckAntenna.newItemStack();

    @SuppressWarnings("unchecked")
    final List<IRecipe> recipeList = CraftingManager.getInstance().getRecipeList();

    if (OpenPeripheralAddons.Blocks.pim != null) {
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Blocks.pim, "ooo", "rcr", 'o', Blocks.obsidian, 'r', Items.redstone, 'c', Blocks.chest));
    }

    if (OpenPeripheralAddons.Blocks.sensor != null) {
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Blocks.sensor, "ooo", " w ", "sss", 'o', Blocks.obsidian, 'w', "stickWood", 's', Blocks.stone_slab));
    }

    if (OpenPeripheralAddons.Blocks.glassesBridge != null) {
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Blocks.glassesBridge, "sas", "ses", "srs", 's', Blocks.stone, 'r', Blocks.redstone_block, 'e', Items.ender_pearl, 'a', duckAntenna.copy()));
    }

    if (OpenPeripheralAddons.Blocks.selector != null) {
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Blocks.selector, "sss", "scs", "sgs", 's', Blocks.stone, 'c', Blocks.trapped_chest, 'g', Blocks.glass_pane));
    }

    if (OpenPeripheralAddons.Items.glasses != null) {
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Items.glasses, "igi", "aei", "prp", 'g', Blocks.glowstone, 'i', Items.iron_ingot, 'e', Items.ender_pearl, 'p', Blocks.glass_pane, 'r', Items.redstone, 'a', duckAntenna.copy()));
        recipeList.add(new ShapedOreRecipe(OpenPeripheralAddons.Items.glasses, "igi", "iea", "prp", 'g', Blocks.glowstone, 'i', Items.iron_ingot, 'e', Items.ender_pearl, 'p', Blocks.glass_pane, 'r', Items.redstone, 'a', duckAntenna.copy()));

        recipeList.add(new TerminalAddonRecipe());
        RecipeSorter.register("openperipheraladdons:terminal", TerminalAddonRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    }

    if (OpenPeripheralAddons.Items.keyboard != null) {
        recipeList.add(new ShapelessOreRecipe(OpenPeripheralAddons.Items.keyboard, duckAntenna.copy(), Items.bone, Items.redstone, Items.ender_pearl, Items.slime_ball));
    }

    if (Loader.isModLoaded(Mods.COMPUTERCRAFT)) ModuleComputerCraft.registerRecipes(recipeList);
    if (Loader.isModLoaded(Mods.RAILCRAFT)) ModuleRailcraft.registerRecipes(recipeList);

}
项目:Adventurers-Toolbox    文件:ModRecipes.java   
public static void initToolRecipes() {
    if (!Config.DISABLED_TOOLS.contains("pickaxe")) {
        RecipeSorter.register("toolbox:pickaxe", PickaxeRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new PickaxeRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "pickaxe")));
    }
    if (!Config.DISABLED_TOOLS.contains("axe")) {
        RecipeSorter.register("toolbox:axe", AxeRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new AxeRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "axe")));
    }
    if (!Config.DISABLED_TOOLS.contains("shovel")) {
        RecipeSorter.register("toolbox:shovel", ShovelRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new ShovelRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "shovel")));
    }
    if (!Config.DISABLED_TOOLS.contains("hoe")) {
        RecipeSorter.register("toolbox:hoe", HoeRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new HoeRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "hoe")));
    }
    if (!Config.DISABLED_TOOLS.contains("handpick")) {
        RecipeSorter.register("toolbox:handpick", HandpickRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new HandpickRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "handpick")));
    }
    if (!Config.DISABLED_TOOLS.contains("hammer")) {
        RecipeSorter.register("toolbox:hammer", HammerRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new HammerRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "hammer")));
    }
    if (!Config.DISABLED_TOOLS.contains("sword")) {
        RecipeSorter.register("toolbox:sword", SwordRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new SwordRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "sword")));
    }
    if (!Config.DISABLED_TOOLS.contains("dagger")) {
        RecipeSorter.register("toolbox:dagger", DaggerRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new DaggerRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "dagger")));
    }
    if (!Config.DISABLED_TOOLS.contains("mace")) {
        RecipeSorter.register("toolbox:mace", MaceRecipe.class, RecipeSorter.Category.SHAPELESS,
                "after:minecraft:shapeless");
        ForgeRegistries.RECIPES.register(new MaceRecipe().setRegistryName(new ResourceLocation(Toolbox.MODID, "mace")));
    }
}
项目:minecraft-quiverbow    文件:Main.java   
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
    this.config = new Configuration(event.getSuggestedConfigurationFile()); // Starting config

    this.config.load(); // And loading it up

    breakGlass = this.config.get("generic", "Can we break glass and other fragile things with our projectiles? (default true)", true).getBoolean();
    sendBlockBreak = this.config.get("generic", "Do we send a BlockBreak event when breaking things with our projectiles? (default true)", true).getBoolean();
    useModels = this.config.get("generic", "Are we using models or icons for held weapons? (default true for models. False for icons)", true).getBoolean();
    noCreative = this.config.get("generic", "Are we removing disabled weapons from the creative menu too? (default false. On there, but uncraftable)", false).getBoolean();

    allowTurret = this.config.get("Arms Assistant", "Am I enabled? (default true)", true).getBoolean();
    restrictTurretRange = this.config.get("Arms Assistant", "Is my firing range limited to a maximum of 32 blocks? (default true. Set false for 'Shoot as far as your weapon can handle'.)", true).getBoolean();

    // Item registry here
    this.registerAmmo();
    this.registerWeapons(event.getSide().isClient());
    this.registerProjectiles();
    this.registerBlocks();

    addAllProps(event, this.config);    // All items are registered now. Making recipes and recording props

    this.config.save();             // Done with config, saving it

    PacketHandler.initPackets();    // Used for sending particle packets, so I can do my thing purely on the server side

    // Registering the Arms Assistant
    EntityRegistry.registerModEntity(Entity_AA.class, "quiverchevsky_turret", 0, this, 80, 1, true);
    //EntityRegistry.registerModEntity(Entity_BB.class, "quiverchevsky_flyingBB", 1, this, 80, 1, true);

    proxy.registerTurretRenderer();

    // Do I have to register a crafting listener of sorts? To what end?
    RecipeSorter.register("quiverchevsky:recipehandler", Recipe_ERA.class, RecipeSorter.Category.SHAPED, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_2", Recipe_Weapon.class, RecipeSorter.Category.SHAPED, "after:minecraft:shapeless");
    RecipeSorter.register("quiverchevsky:recipehandler_3", Recipe_Ammo.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    Listener listener = new Listener();

    FMLCommonHandler.instance().bus().register(listener);
    MinecraftForge.EVENT_BUS.register(listener);

    if (event.getSide().isServer()) { return; } // Client-only from this point.

    ListenerClient listenerClient = new ListenerClient();

    FMLCommonHandler.instance().bus().register(listenerClient);
    MinecraftForge.EVENT_BUS.register(listenerClient);
}
项目:minecraft-territorialdealings    文件:Main.java   
@EventHandler
  public void preInit(FMLPreInitializationEvent event)
  {
Configuration config = new Configuration(event.getSuggestedConfigurationFile());    // Starting config

config.load();  // And loading it up

    this.isDebugEnabled = config.get("generic", "Should I display a whole bunch of additional debug information on the server console? (default false)", false).getBoolean();
    this.saveTick = config.get("generic", "How often do I autosave, in addition to onServerStop? (default 24000 ticks, for once per ingame day.)", 24000).getInt();
    this.playerNeedsToBeOnline = config.get("generic", "Does someone from the target faction need to be online to start a hostile takeover? (default true)", true).getBoolean();
    this.playerAmountForOnline = config.get("generic", "How many members of the target faction need to be online for a hostile takeover? (Default 1% minimum)", 1).getInt();

    this.maxControlStrength = config.get("chunk control", "How long does it take to claim someone else's chunk? (default 90 sec)", 90).getInt();
    this.controlStrengthRefresh = config.get("chunk control", "How much lost chunk control strength gets restored every interval? (default +15 sec)", 15).getInt();
    this.controlRefreshTick = config.get("chunk control", "How long is each chunk control strength refresh interval? (default 24000 ticks, for once per ingame day.)", 24000).getInt();
    this.consumeUpkeepTick = config.get("chunk control", "How long is each upkeep consumption interval? (default 24000 ticks, for once per ingame day.)", 24000).getInt();
    this.upkeepMultiplier = config.get("chunk control", "How much upkeep does a chunk cost per upkeep consumption interval? (default 1 VALUABLE)", 1).getInt();

    this.maxPaymentOrderAmount = config.get("items", "How many valuables can the PAYMENT ORDER hold? (default 100 VALUABLES)", 100).getInt();

    ValueTable.setValueForDiamond(config.get("valuables", "How much value does a single diamond have? (default 2 VALUABLES)", 2).getInt());
    ValueTable.setValueForEmerald(config.get("valuables", "How much value does a single emerald have? (default 3 VALUABLES)", 3).getInt());
    ValueTable.setValueForGold(config.get("valuables", "How much value does a single gold ingot have? (default 1 VALUABLE)", 1).getInt());

    this.allowPlayerInteract = config.get("extra", "Are other players allowed to interact with chests/doors and such in protected chunks? (default false)", false).getBoolean();

config.save();  // Done with config, saving it

PacketHandler.initPackets();

this.registerItems();

if (event.getSide().isClient())
{
    this.loadModels();
}

configDir = event.getModConfigurationDirectory();   // The directory we're saving our config to

// Event listener
    MinecraftForge.EVENT_BUS.register(new EventListener());

    RecipeSorter.register("territorychevsky:recipehandler_payment", Recipe_Payment.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
    RecipeSorter.register("territorychevsky:recipehandler_leader", Recipe_LeaderRequired.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");

    this.registerItemRecipes();
    this.registerPaymentRecipes();
  }
项目:Fyrestone    文件:Config.java   
public void setupCrafting()
{
    RecipeSorter.register(VersionInfo.ModId + ":ritualRecipe", RitualRecipeManager.class, RecipeSorter.Category.SHAPELESS, "");

    GameRegistry.addRecipe(new ItemStack(BlockRegister.blockFyrestoneBlock), new Object[] {"###", "###", "###", '#', ItemRegister.itemFyrestoneIngot});
    GameRegistry.addShapelessRecipe(new ItemStack(ItemRegister.itemFyrestoneIngot, 9), BlockRegister.blockFyrestoneBlock);

    //Metallurgy Rituals
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(ItemRegister.itemFyrestoneIngot), 0, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Items.IRON_INGOT)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.FYRESTONE_SWORD), 0, new ItemStack(ItemRegister.itemFyrestoneIngot, 2), new ItemStack(Items.IRON_SWORD)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE), 0, new ItemStack(ItemRegister.itemFyrestoneCatalyst), ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Items.WATER_BUCKET), new ItemStack(Items.DYE, 1, EnumDyeColor.BLUE.getDyeDamage())));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(ItemRegister.itemEarthstoneIngot), 0, ItemBaseShard.getShardStack(1, EnumShardType.EARTHSTONE), new ItemStack(Items.IRON_INGOT)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.EARTHSTONE_SWORD), 0, new ItemStack(ItemRegister.itemEarthstoneIngot, 2), new ItemStack(ItemRegister.itemMysticalOrb), new ItemStack(Items.STICK)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.WATERSTONE_SWORD), 0, new ItemStack(Items.IRON_SWORD), new ItemStack(Items.WATER_BUCKET), ItemBaseShard.getShardStack(2, EnumShardType.WATERSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.AIRSTONE_SWORD), 0, new ItemStack(Items.NETHER_STAR), ItemBaseShard.getShardStack(2, EnumShardType.AIRSTONE), new ItemStack(Items.STICK)));

    //Alchemy Rituals
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE), 1, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Items.DYE, 1, EnumDyeColor.BLUE.getDyeDamage())));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.EARTHSTONE), 1, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Blocks.DIRT), new ItemStack(ItemRegister.itemFyrestoneCatalyst)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(ItemRegister.itemPlagueEssence), 1, ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE), new ItemStack(Items.ROTTEN_FLESH, 2), new ItemStack(Items.GLASS_BOTTLE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.ORDERSTONE), 1, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE), new ItemStack(ItemRegister.itemFyrestoneCatalyst), new ItemStack(Items.NETHER_STAR)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(Items.LEATHER), 1, new ItemStack(Items.ROTTEN_FLESH, 2)));

    //Imbuing Rituals
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.EARTHSTONE), 2, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Blocks.DIRT)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(ItemRegister.itemPlagueCore), 2, new ItemStack(ItemRegister.itemMysticalOrb), new ItemStack(ItemRegister.itemPlagueEssence, 2)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.PLAGUEBLADE), 2, new ItemStack(ItemRegister.itemPlagueCore), ItemBaseSword.getSwordStack(EnumSwordType.EARTHSTONE_SWORD)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.FLAMEVENOM), 2, new ItemStack(ItemRegister.itemPlagueCore), ItemBaseSword.getSwordStack(EnumSwordType.FYRESTONE_SWORD)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.BRIMSTONE), 2, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), new ItemStack(Items.BLAZE_POWDER, 2), ItemBaseShard.getShardStack(1, EnumShardType.CHAOSSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(new ItemStack(ItemRegister.itemBlazingCore), 2, new ItemStack(ItemRegister.itemMysticalOrb), ItemBaseShard.getShardStack(2, EnumShardType.BRIMSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseSword.getSwordStack(EnumSwordType.BRIMSTONE_SWORD), 2, new ItemStack(ItemRegister.itemBlazingCore), ItemBaseSword.getSwordStack(EnumSwordType.FYRESTONE_SWORD)));

    //Balance Rituals
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.AIRSTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.EARTHSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.EARTHSTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.AIRSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.FYRESTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.WATERSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.CHAOSSTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.ORDERSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.ORDERSTONE), 3, ItemBaseShard.getShardStack(1, EnumShardType.CHAOSSTONE)));
    RitualRecipeManager.RegisterRecipe(new RitualRecipe(ItemBaseShard.getShardStack(1, EnumShardType.ORDERSTONE), 3, new ItemStack(ItemRegister.itemFyrestoneCatalyst)));
}