ServerEvents.recipes((event) => { //Adding ways to get Pale Oak and Pale Moss Blocks event.shaped("8x minecraft:pale_moss_block", ["PMP", "MEM", "PMP"], { E: "ars_nouveau:manipulation_essence", M: "minecraft:moss_block", P: "minecraft:pale_oak_leaves" }).id("ftb:ars_nouveau/manipulation_essence_to_pale_moss_block"); event.custom({ "type": "ae2:transform", "ingredients": [ { item: "minecraft:magma_cream" }, { item: "integrateddynamics:crystalized_menril_chunk" } ], "result": { "count": 1, "id": "minecraft:resin_clump" } }).id("ftb:transform/vanillabackport/resin_clump"); //Making Egg Recipes accept more types of Egg. event.shapeless("1x minecraft:egg", ["minecraft:blue_egg"]).id("ftb:vanilla_backport/egg_conversion"); event.shapeless("1x minecraft:egg", ["minecraft:brown_egg"]).id("ftb:vanilla_backport/egg_conversion_1"); const egg_recipes = [ "farmersdelight:fried_egg_from_campfire_cooking", "farmersdelight:fried_egg", "farmersdelight:fried_egg_from_smoking", "mekanism:nucleosynthesizing/dragon_egg", "ars_nouveau:source_berry_pie", "stevescarts:component/component_explosive_easter_egg", "mob_grinding_utils:recipe_spawner_upgrade_width", "biomeswevegone:blueberry_pie", "malum:trans_prideweave", "biomeswevegone:pumpkin_pie", "stevescarts:component/component_burning_easter_egg", "biomeswevegone:green_apple_pie", "stevescarts:component/component_chocolate_easter_egg", "extendedae:mddyue", "mob_grinding_utils:recipe_spawner_upgrade_height", "biomeswevegone:blooming_oddion", "biomeswevegone:blooming_oddion", "compressedblocks:shaped_crated_egg", "occultism:ritual/possess_unbound_otherworld_bird" ]; egg_recipes.forEach(recipe => { event.replaceInput( { id: recipe }, "minecraft:egg", "#c:eggs" ); }); const sulfur_crushing = [ ["minecraft:sulfur", 1], ["minecraft:sulfur_spike", 4], ["minecraft:potent_sulfur", 9], ]; sulfur_crushing.forEach(entry => { const [input, count] = entry; const recipe_id = input.split(":")[1]; event.custom({ "type": "create:crushing", "ingredients": [ { "item": input } ], "processing_time": 250, "results": [ { "count": count, "id": "ftbmaterials:sulfur_dust" } ] }).id(`ftbevolution:create/crushing/${recipe_id}`); event.custom({ "type": "mekanism:crushing", "input": { "count": 1, "item": input }, "output": { "count": count, "id": "ftbmaterials:sulfur_dust" } }).id(`ftbevolution:mekanism/crushing/${recipe_id}`); event.custom({ "type": "actuallyadditions:crushing", "ingredient": { "item": input }, "result": [ { "result": { "count": count, "id": "ftbmaterials:sulfur_dust" } } ] }).id(`ftbevolution:actuallyadditions/crushing/${recipe_id}`); event.custom({ "type": "enderio:sag_milling", "bonus": "none", "energy": 2400, "input": { "item": input }, "outputs": [ { "item": { "count": count, "id": "ftbmaterials:sulfur_dust" } } ] }).id(`ftbevolution:enderio/sag_milling/${recipe_id}`); event.custom({ "type": "immersiveengineering:crusher", "energy": 3000, "input": { "item": input }, "result": { "count": count, "id": "ftbmaterials:sulfur_dust" } }).id(`ftbevolution:immersiveengineering/crusher/${recipe_id}`); event.custom({ "type": "modern_industrialization:macerator", "duration": 100, "eu": 2, "item_inputs": [ { "amount": 1, "item": input } ], "item_outputs": [ { "amount": count, "item": "ftbmaterials:sulfur_dust" } ] }).id(`ftbevolution:modern_industrialization/macerator/${recipe_id}`); event.custom({ "type": "oritech:pulverizer", "fluidInput": { "amount": 0, "fluid": "minecraft:empty" }, "fluidOutput": { "amount": 0, "fluid": "minecraft:empty" }, "ingredients": [ { "item": input } ], "results": [ { "count": count, "id": "ftbmaterials:sulfur_dust" } ], "time": 200 }).id(`ftbevolution:oritech/pulverizer/${recipe_id}`); event.custom({ "type": "oritech:grinder", "fluidInput": { "amount": 0, "fluid": "minecraft:empty" }, "fluidOutputs": [], "ingredients": [ { "item": input } ], "results": [ { "count": count, "id": "ftbmaterials:sulfur_dust" } ], "time": 140 }).id(`ftbevolution:oritech/grinder/${recipe_id}`); }); });