ServerEvents.recipes(event => { //TNT event.custom({ "type": "create:deploying", "ingredients": [ { "item": "minecraft:sand" }, { "item": "minecraft:gunpowder" } ], "results": [{ "item": "minecraft:tnt" }] }).id("dut_create:deploying/tnt") //电子管 event.custom({ "type": "create:deploying", "ingredients": [ { "tag": "forge:plates/iron" }, { "item": "create:polished_rose_quartz" } ], "results": [{ "item": "create:electron_tube" }] }).id("dut_create:deploying/electron_tube") //钢齿轮 event.custom({ "type": "create:deploying", "ingredients": [ { "item": "steampowered:steel_cogwheel" }, { "tag": "forge:ingots/steel" } ], "results": [{ "item": "steampowered:steel_large_cogwheel","count":8 }] }).id("dut_create:deploying/steel_large_cogwheel") event.custom({ "type": "create:deploying", "ingredients": [ { "item": "create:shaft" }, { "tag": "forge:ingots/steel" } ], "results": [{ "item": "steampowered:steel_cogwheel","count":8 }] }).id("dut_create:deploying/steel_cogwheel") //暗影机壳 event.custom({ "type": "create:item_application", "ingredients": [ { "item": "create:brass_casing" }, { "tag": "forge:ingots/shadow_steel" } ], "results": [{ "item": "create:shadow_steel_casing" }] }).id("dut_create:deploying/shadow_steel_casing") //光辉机壳 event.custom({ "type": "create:item_application", "ingredients": [ { "item": "create:brass_casing" }, { "tag": "forge:ingots/refined_radiance" } ], "results": [{ "item": "create:refined_radiance_casing" }] }).id("dut_create:deploying/refined_radiance_casing") //青金石板 event.custom( { "type": "create:deploying", "ingredients": [ { "item": "kubejs:silicon_plate" }, { "tag": "forge:dyes/blue" } ], "results": [{ "item": "kubejs:lapis_plate" }] } ).id("dut_create:deploying/lapis_plate") event.custom( { "type": "create:mixing", "ingredients": [ { "item": "kubejs:silicon_plate" }, { "tag": "forge:dyes/blue" } ], "results": [ { "item": "kubejs:lapis_plate" } ] } ).id("dut_create:mixing/lapis_plate") //六向齿轮箱 event.custom( { "type": "create:deploying", "ingredients": [ { "item": "create_connected:parallel_gearbox" }, { "tag": "dut_create:cogwheel_large" } ], "results": [ { "item": "create_connected:six_way_gearbox" } ] } ).id("dut_create:deploying/six_way_gearbox") //平行齿轮箱 event.custom( { "type": "create:deploying", "ingredients": [ { "item": "create:gearbox" }, { "tag": "dut_create:cogwheel_large" } ], "results": [ { "item": "create_connected:parallel_gearbox" } ] } ).id("dut_create:deploying/parallel_gearbox") //链式齿轮箱 event.custom( { "type": "create:deploying", "ingredients": [ { "item": "create:encased_chain_drive" }, { "tag": "dut_create:cogwheel" } ], "results": [ { "item": "create_connected:encased_chain_cogwheel" } ] } ).id("dut_create:deploying/encased_chain_cogwheel") //机械核心 event.custom( { "type": "create:deploying", "ingredients": [ { "item": "create:andesite_casing" }, { "tag": "dut_create:cogwheel_large" } ], "results": [ { "item": "kubejs:mechanical_core" } ] } ).id("dut_create:deploying/mechanical_core") event.custom({ "type": "create:deploying", "ingredients": [ { "item": "design_decor:industrial_plating_block" }, { "item": "design_decor:industrial_gear_large" } ], "results": [ { "item": "kubejs:mechanical_core", "count": 3 } ] }).id("dut_create:deploying/mechanical_core_advanced") event.replaceInput( { input: 'create:andesite_casing', not: { mod: 'kubejs' }, not: { output: "create:depot" } }, 'create:andesite_casing', 'kubejs:mechanical_core') //动力活塞 event.custom({ "type": "minecraft:crafting_shaped", "category": "misc", "key": { "B": { "tag": "minecraft:wooden_slabs" }, "C": { "item": "create:andesite_casing" }, "I": { "item": "create:piston_extension_pole" } }, "pattern": [ "B", "C", "I" ], "result": { "item": "create:mechanical_piston" }, "show_notification": true }).id("dut_create:mechanical_piston") //event.remove({output: '',not:{mod:'kubejs'}}) //event.remove({id: ''}) //event.remove({input: ''}) //event.custom() //彩蛋 event.custom( { "type": "create:item_application", "ingredients": [ { "item": "minecraft:obsidian" }, { "item": "farmersdelight:onion" } ], "results": [ { "item": "minecraft:crying_obsidian" } ] } ).id("dut_create:deploying/crying_obsidian") })