411 lines
12 KiB
JavaScript
411 lines
12 KiB
JavaScript
|
ServerEvents.recipes(event => {
|
||
|
//轧机
|
||
|
event.replaceInput({ input: 'create:andesite_alloy', id: 'createaddition:crafting/rolling_mill' }, 'create:andesite_alloy', 'kubejs:bearing')
|
||
|
//地狱岩
|
||
|
event.remove({ id: 'createaddition:mixing/netherrack'})
|
||
|
//快速种子油配方
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"heatRequirement": "heated",
|
||
|
"ingredients": [
|
||
|
{ "tag": "forge:seeds" },
|
||
|
{ "tag": "forge:seeds" },
|
||
|
{ "tag": "forge:seeds" },
|
||
|
{ "tag": "forge:seeds" }
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"fluid": "createaddition:seed_oil",
|
||
|
"amount": 500
|
||
|
}
|
||
|
]
|
||
|
}).id("dut_create:seed_oil_mixing")
|
||
|
//赛特斯水晶
|
||
|
event.remove({ output: 'ae2:charged_certus_quartz_crystal', mod: 'createaddition' })
|
||
|
event.custom({
|
||
|
"type": "createaddition:charging",
|
||
|
"input": {
|
||
|
"item": "ae2:certus_quartz_crystal",
|
||
|
"count": 1
|
||
|
},
|
||
|
"result": {
|
||
|
"item": "ae2:charged_certus_quartz_crystal",
|
||
|
"count": 1
|
||
|
},
|
||
|
"energy": 120000,
|
||
|
"conditions": [{
|
||
|
"type": "forge:mod_loaded",
|
||
|
"modid": "ae2"
|
||
|
}]
|
||
|
}).id("dut_create:charging/certus_quartz")
|
||
|
//蓄电池
|
||
|
event.remove({ output: 'createaddition:modular_accumulator', mod: 'createaddition' })
|
||
|
event.custom({
|
||
|
"type": "create:sequenced_assembly",
|
||
|
"ingredient": { "tag": "forge:storage_blocks/brass" },
|
||
|
"loops": 8,
|
||
|
"results": [{ "item": "createaddition:modular_accumulator" }],
|
||
|
"sequence": [
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_copper_box" },
|
||
|
{ "tag": "forge:plates/copper" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_copper_box" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:filling",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_copper_box" },
|
||
|
{ "amount": 175, "fluid": "vintageimprovements:sulfuric_acid" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_copper_box" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_copper_box" },
|
||
|
{ "tag": "forge:plates/zinc" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_copper_box" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_copper_box" },
|
||
|
{ "tag": "forge:plates/brass" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_copper_box" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:pressing",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_copper_box" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_copper_box" }]
|
||
|
}
|
||
|
],
|
||
|
"transitionalItem": { "item": "kubejs:incomplete_copper_box" }
|
||
|
}).id("dut_create:modular_accumulator")
|
||
|
//发电机
|
||
|
event.remove({ output: 'createaddition:alternator', not: { mod: 'kubejs' } })
|
||
|
event.custom({
|
||
|
"type": "create:sequenced_assembly",
|
||
|
"ingredient": { "item": "kubejs:bridge_rectifier" },
|
||
|
"loops": 3,
|
||
|
"results": [{ "chance": 1.0, "item": "createaddition:alternator" }],
|
||
|
"sequence": [
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_alternator" },
|
||
|
{ "item": "createaddition:capacitor" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_alternator" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_motor" },
|
||
|
{ "item": "createaddition:copper_spool" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_motor" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_alternator" },
|
||
|
{ "item": "kubejs:magenta_circuit_board" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_alternator" }]
|
||
|
}
|
||
|
],
|
||
|
"transitionalItem": { "item": "kubejs:incomplete_alternator" }
|
||
|
}).id("dut_create:alternator")
|
||
|
//电动马达
|
||
|
event.remove({ output: 'createaddition:electric_motor', not: { mod: 'kubejs' } })
|
||
|
event.custom({
|
||
|
"type": "create:sequenced_assembly",
|
||
|
"ingredient": { "item": "create:precision_mechanism" },
|
||
|
"loops": 3,
|
||
|
"results": [{ "chance": 1.0, "item": "createaddition:electric_motor" }],
|
||
|
"sequence": [
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_motor" },
|
||
|
{ "item": "kubejs:electric_gear" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_motor" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_motor" },
|
||
|
{ "item": "createaddition:capacitor" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_motor" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_motor" },
|
||
|
{ "item": "createaddition:copper_spool" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_motor" }]
|
||
|
}
|
||
|
],
|
||
|
"transitionalItem": { "item": "kubejs:incomplete_electric_motor" }
|
||
|
}).id("dut_create:electric_motor")
|
||
|
//电容
|
||
|
event.remove({ output: 'createaddition:capacitor', not: { mod: 'kubejs' } })
|
||
|
event.custom({
|
||
|
"type": "create:sequenced_assembly",
|
||
|
"ingredient": {
|
||
|
"tag": "forge:plates/zinc"
|
||
|
},
|
||
|
"loops": 1,
|
||
|
"results": [{ "chance": 1.0, "item": "createaddition:capacitor" }],
|
||
|
"sequence": [
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_capacity" },
|
||
|
{ "tag": "forge:plates/copper" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_capacity" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_capacity" },
|
||
|
{ "tag": "dut_create:ingots/polymer" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_capacity" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_capacity" },
|
||
|
{ "tag": "forge:plates/copper" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_capacity" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:deploying",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_capacity" },
|
||
|
{ "tag": "forge:plates/zinc" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_capacity" }]
|
||
|
},
|
||
|
{
|
||
|
"type": "create:pressing",
|
||
|
"ingredients": [{ "item": "kubejs:incomplete_electric_capacity" }],
|
||
|
"results": [{ "item": "kubejs:incomplete_electric_capacity" }]
|
||
|
}
|
||
|
],
|
||
|
"transitionalItem": { "item": "kubejs:incomplete_electric_capacity" }
|
||
|
}).id("dut_create:capacitor")
|
||
|
//诡异菌/下界疣
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"ingredients": [
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
{
|
||
|
"fluidTag": "forge:plantoil",
|
||
|
"amount": 400
|
||
|
}
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"item": "createaddition:biomass",
|
||
|
"count": 4
|
||
|
}
|
||
|
],
|
||
|
"heatRequirement": "heated"
|
||
|
}).id("dut_create:efficient_biomass_from_wart_block")
|
||
|
//诡异菌/下界疣
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"ingredients": [
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
[
|
||
|
{ "item": "minecraft:warped_wart_block" },
|
||
|
{ "item": "minecraft:nether_wart_block" }
|
||
|
],
|
||
|
{
|
||
|
"fluidTag": "forge:plantoil",
|
||
|
"amount": 100
|
||
|
}
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"item": "createaddition:biomass",
|
||
|
"count": 1
|
||
|
}
|
||
|
],
|
||
|
"heatRequirement": "heated"
|
||
|
}).id("dut_create:biomass_from_wart_block")
|
||
|
//生物质高速产出
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"ingredients": [
|
||
|
{"tag": "dut_create:microbio"},
|
||
|
{"tag": "dut_create:microbio"},
|
||
|
{"tag": "dut_create:microbio"},
|
||
|
{"tag": "dut_create:microbio"},
|
||
|
{"fluidTag": "forge:plantoil","amount": 200}
|
||
|
],
|
||
|
"results": [
|
||
|
{"item": "createaddition:biomass","count": 4}
|
||
|
],
|
||
|
"heatRequirement": "heated"
|
||
|
}).id("dut_create:efficient_biomass_from_microbio")
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"ingredients": [
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"tag": "forge:crops"
|
||
|
},
|
||
|
{
|
||
|
"fluidTag": "forge:plantoil",
|
||
|
"amount": 400
|
||
|
}
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"item": "createaddition:biomass",
|
||
|
"count": 4
|
||
|
}
|
||
|
],
|
||
|
"heatRequirement": "heated"
|
||
|
}).id("dut_create:efficient_biomass_from_corps")
|
||
|
event.custom({
|
||
|
"type": "create:mixing",
|
||
|
"ingredients": [
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"tag": "minecraft:saplings"
|
||
|
},
|
||
|
{
|
||
|
"fluidTag": "forge:plantoil",
|
||
|
"amount": 400
|
||
|
}
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"item": "createaddition:biomass",
|
||
|
"count": 4
|
||
|
}
|
||
|
],
|
||
|
"heatRequirement": "heated"
|
||
|
}).id("dut_create:efficient_biomass_from_saplings")
|
||
|
//生物质颗粒转生物质
|
||
|
event.custom({
|
||
|
"type": "create:filling",
|
||
|
"ingredients": [
|
||
|
{
|
||
|
"item": "createaddition:biomass_pellet"
|
||
|
},
|
||
|
{
|
||
|
"amount": 75,
|
||
|
"fluid": "minecraft:water"
|
||
|
}
|
||
|
],
|
||
|
"results": [
|
||
|
{
|
||
|
"item": "createaddition:biomass"
|
||
|
}
|
||
|
]
|
||
|
}).id("dut_create:biomass_from_biomass_pellet")
|
||
|
//塑料吸管
|
||
|
event.custom({
|
||
|
"type":"createaddition:rolling",
|
||
|
"input": { "item": "kubejs:polymer_sheet"},
|
||
|
"result": {"item": "createaddition:straw", "count": 6}
|
||
|
}).id("dut_create:straw_from_plas")
|
||
|
event.custom({
|
||
|
"type":"createaddition:rolling",
|
||
|
"input": { "item": "kubejs:duraplas_sheet"},
|
||
|
"result": {"item": "createaddition:straw", "count": 16}
|
||
|
}).id("dut_create:straw_from_duraplas")
|
||
|
})
|