178 lines
4.9 KiB
JavaScript
178 lines
4.9 KiB
JavaScript
// priority: 976
|
|
|
|
ServerEvents.recipes((event) => {
|
|
|
|
//Custom Gases Rotary Recipes
|
|
const custom_gases = [
|
|
"starlight"
|
|
];
|
|
|
|
custom_gases.forEach(gas => {
|
|
event.custom({
|
|
type: "mekanism:rotary",
|
|
chemical_input:{
|
|
amount: 1,
|
|
chemical: `ftb:${gas}`
|
|
},
|
|
chemical_output:{
|
|
amount: 1,
|
|
id: `ftb:${gas}`
|
|
},fluid_input:{
|
|
amount: 1,
|
|
tag: `c:${gas}`
|
|
},fluid_output:{
|
|
amount: 1,
|
|
id: `ftbevolution:${gas}`
|
|
}
|
|
}).id(`ftb:mekanism/rotary/${gas}`)
|
|
});
|
|
|
|
//Making Crystalline Elements
|
|
event.custom({
|
|
"type": "mekanism:reaction",
|
|
"chemical_input": {
|
|
"amount": 3000,
|
|
"chemical": "ftb:starlight"
|
|
},
|
|
"chemical_output": {
|
|
"amount": 200,
|
|
"id": "mekanism:ethene"
|
|
},
|
|
"duration": 300,
|
|
"energy_required": 1000,
|
|
"fluid_input": {
|
|
"amount": 1000,
|
|
"tag": "c:cloud_seed_concentrated"
|
|
},
|
|
"item_input": {
|
|
"count": 1,
|
|
"item": "geore:monazite_block"
|
|
},
|
|
"item_output": {
|
|
"count": 1,
|
|
"id": "ftbevolution:crystalline_element"
|
|
},
|
|
}).id("ftb:mekanism/reaction/crystalline_element");
|
|
|
|
//Nucleosynthesizing Chaos Fragments
|
|
event.custom({
|
|
"type": "mekanism:nucleosynthesizing",
|
|
"chemical_input": {
|
|
"amount": 20,
|
|
"chemical": "mekanism:antimatter"
|
|
},
|
|
"duration": 1000,
|
|
"item_input":{
|
|
"count": 1,
|
|
"item": "ftbevolution:chaos_induced_shards"
|
|
},
|
|
"output": {
|
|
"count": 1,
|
|
"id": "draconicevolution:medium_chaos_frag"
|
|
},
|
|
"per_tick_usage": false
|
|
}).id("ftb:mekanism/nucleosynthesizing/medium_chaos_frag");
|
|
|
|
//MI Forge hammer additions
|
|
event
|
|
.custom({
|
|
type: "modern_industrialization:forge_hammer",
|
|
ingredient: {
|
|
tag: "minecraft:logs",
|
|
},
|
|
result: {
|
|
count: 1,
|
|
id: "mekanism:sawdust",
|
|
},
|
|
})
|
|
.id("ftb:forge_hammer_logs");
|
|
|
|
//MI Coke Dust Recipes
|
|
event.custom({
|
|
type: "mekanism:crushing",
|
|
input: { count: 1, item: "modern_industrialization:coke" },
|
|
output: { count: 1, id: "modern_industrialization:coke_dust" }
|
|
})
|
|
.id("ftb:coke_crushing");
|
|
|
|
event.custom({
|
|
type: "mekanism:crushing",
|
|
input: { count: 1, item: "modern_industrialization:coke_block" },
|
|
output: { count: 9, id: "modern_industrialization:coke_dust" }
|
|
})
|
|
.id("ftb:coke_block_crushing");
|
|
|
|
// //Enriched carbon from geode
|
|
// event.custom({
|
|
// type: "mekanism:enriching",
|
|
// input: { count: 1, item: "geore:coal_shard" },
|
|
// output: { count: 1, id: "mekanism:enriched_carbon" },
|
|
// })
|
|
// .id("ftb:enriched_carbon_geode");
|
|
|
|
// //Prosperity
|
|
// event
|
|
// .custom({
|
|
// type: "mekanism:enriching",
|
|
// input: { count: 1, id: "jaopca:mekanism_dirty_dusts.prosperity" },
|
|
// output: { count: 1, id: "mysticalagriculture:prosperity_shard" },
|
|
// })
|
|
// .id("ftb:prosperity_shard");
|
|
|
|
// Biofuel Rebalancing
|
|
event.remove({ type: "mekanism:crushing", input: "#minecraft:leaves", output: "mekanism:bio_fuel"});
|
|
event.custom({
|
|
type: "mekanism:crushing",
|
|
input: { count: 1, tag: "minecraft:leaves" },
|
|
output: { count: 2, id: "mekanism:bio_fuel" },
|
|
}).id(`ftb:biocrushing_broken_leaves`);
|
|
|
|
// Biofuel
|
|
event
|
|
.custom({
|
|
type: "mekanism:crushing",
|
|
input: { count: 1, item: "xycraft_machines:resin_ball" },
|
|
output: { count: 9, id: "mekanism:bio_fuel" },
|
|
})
|
|
.id(`ftb:biocrushing_resin`);
|
|
|
|
//Fixing Meka's Netherite Dust being a valid output in certain recipes.
|
|
let netherite_output_recipes = [
|
|
"mekanism:processing/netherite/ingot_to_dust",
|
|
"mekanism:processing/netherite/scrap_to_dust",
|
|
];
|
|
|
|
netherite_output_recipes.forEach(recipe => {
|
|
event.replaceOutput(
|
|
{ id: recipe },
|
|
'mekanism:dust_netherite',
|
|
'ftbmaterials:netherite_dust'
|
|
);
|
|
});
|
|
|
|
//Fixing Meka's Fluorite Dust being a valid output in certain recipes.
|
|
event.stonecutting("ftbmaterials:fluorite_stone_ore", "mekanism:fluorite_ore").id("ftbevolution:fluorite_ore_conversion");
|
|
|
|
let fluorite_output_recipes = [
|
|
"mekanism:processing/fluorite/to_ore",
|
|
"modern_industrialization:quarry/titanium",
|
|
];
|
|
|
|
fluorite_output_recipes.forEach(recipe => {
|
|
event.replaceOutput(
|
|
{ id: recipe },
|
|
"mekanism:fluorite_ore",
|
|
"ftbmaterials:fluorite_stone_ore"
|
|
);
|
|
});
|
|
|
|
event.replaceOutput({ mod: "ftbmaterials" }, "ftbmaterials:fluorite_gem", "mekanism:fluorite_gem");
|
|
|
|
//Fixing Deepslate Fluorite Ore Meka Recipe
|
|
event.replaceOutput({ id: "mekanism:processing/fluorite/to_deepslate_ore" }, "mekanism:deepslate_fluorite_ore","ftbmaterials:fluorite_deepslate_ore");
|
|
|
|
//Fixing Lapis Dust Recipe Unification
|
|
event.replaceOutput({ id: "mekanism:processing/lapis_lazuli/to_dust" }, "mekanism:dust_lapis_lazuli", "ftbmaterials:lapis_lazuli_dust");
|
|
|
|
});
|