41 lines
1.8 KiB
JavaScript
41 lines
1.8 KiB
JavaScript
ServerEvents.recipes(event => {
|
|
function createRecipe(a, b) {
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "create:cinder_flour" },
|
|
{ "amount": b, "fluid": a }],
|
|
"results": [{ "item": "minecraft:redstone" }]
|
|
}).id("dut_create:filling/redstone_from_" + a.split(":")[0] + "_" + a.split(":")[1]);
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"secondaryFluidInput": 0,
|
|
"ingredients": [
|
|
{ "amount": b * 4, "fluid": a },
|
|
{ "item": "create:cinder_flour" },
|
|
{ "item": "create:cinder_flour" },
|
|
{ "item": "create:cinder_flour" },
|
|
{ "item": "create:cinder_flour" },
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:redstone", "count": 4 }
|
|
],
|
|
"processingTime": 100
|
|
}).id("dut_create:filling/fast_redstone_from_" + a.split(":")[0] + "_" + a.split(":")[1]);
|
|
}
|
|
//createRecipe("createloveandwar:kerosene", 45)
|
|
//createRecipe("createloveandwar:diesel", 25)
|
|
//createRecipe("createloveandwar:crude_oil", 50)
|
|
//createRecipe("createloveandwar:bitumen_fluid", 75)
|
|
createRecipe("createdieselgenerators:crude_oil", 50)
|
|
createRecipe("createdieselgenerators:gasoline", 45)
|
|
createRecipe("createdieselgenerators:biodiesel", 25)
|
|
createRecipe("createdieselgenerators:diesel", 25)
|
|
createRecipe("createdieselgenerators:plant_oil", 125)
|
|
createRecipe("createdieselgenerators:ethanol", 150)
|
|
createRecipe("createaddition:seed_oil", 125)
|
|
createRecipe("createaddition:bioethanol", 25)
|
|
createRecipe("ad_astra:hydrogen", 125)
|
|
createRecipe("kubejs:natural_gas", 75)
|
|
createRecipe("kubejs:ammonia", 50)
|
|
createRecipe("kubejs:lube_oil", 25)
|
|
}) |