create-the-brass-oncerto/kubejs/server_scripts/add/multblock_machine.js

370 lines
12 KiB
JavaScript

ServerEvents.recipes(event => {
//event.remove({output: '',not:{mod:'kubejs'}})
//event.remove({id: ''})
//event.remove({input: ''})
//event.custom().id("dut_create:")
//培养仓
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "tag": "forge:plates/brass" },
"B": { "item": "create:framed_glass_trapdoor" },
"C": { "tag": "forge:ingots/brass" },
"D": { "item": "create_connected:control_chip" },
"E": { "item": "create:encased_fan" }
},
"pattern": [
"ABA",
"CDC",
"EAE"
],
"result": { "item": "kubejs:culture_bin" },
"show_notification": true
}).id("dut_create:culture_bin")
//合金炉核心
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "tag": "forge:storage_blocks/tin" },
"B": { "item": "kubejs:tin_hard_disk", "nbt": { Damage: 0 } },
"D": { "item": "create:blaze_burner" },
"C": { "tag": "forge:ingots/industrial_iron" }
},
"pattern": [
"CCC",
"BDB",
"AAA"
],
"result": { "item": "kubejs:alloy_furnace" },
"show_notification": true
}).id("dut_create:alloy_furnace")
//大型粉碎机核心
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:precision_mechanism" },
"B": { "item": "create:item_vault" },
"E": { "item": "create:brass_funnel" },
"D": { "item": "create:fluid_tank" },
"C": { "tag": "forge:ingots/industrial_iron" }
},
"pattern": [
"EBE",
"ADA",
"CCC"
],
"result": { "item": "kubejs:huge_crusher" },
"show_notification": true
}).id("dut_create:huge_crusher")
//爆破压缩机核心
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "tag": "forge:plates/brass" },
"B": { "item": "kubejs:electric_gear" },
"C": { "item": "kubejs:tin_hard_disk", "nbt": { Damage: 0 } },
"D": { "item": "create:gantry_carriage" },
"E": { "item": "create:precision_mechanism" }
},
"pattern": [
"AAA",
"CDC",
"EBE"
],
"result": { "item": "kubejs:blasting_compressor" },
"show_notification": true
}).id("dut_create:blasting_compressor")
//大气冷凝机
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:precision_mechanism" },
"B": { "item": "vintageimprovements:vacuum_chamber" },
"C": { "tag": "forge:plates/tin" },
"D": { "item": "kubejs:planetary_gear" },
"E": { "item": "create:fluid_tank" }
},
"pattern": [
"ABA",
"CDC",
"EAE"
],
"result": { "item": "kubejs:condenser" },
"show_notification": true
}).id("dut_create:condenser")
//无限取液池
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:tin_hard_disk", "nbt": { Damage: 0 } },
"B": { "item": "createaddition:capacitor" },
"C": { "tag": "forge:plates/brass" },
"D": { "item": "kubejs:magenta_circuit_board" },
"E": { "tag": "forge:ingots/industrial_iron" },
},
"pattern": [
"CCC",
"BDB",
"EAE"
],
"result": { "item": "kubejs:infinity_fetching_pool" },
"show_notification": true
}).id("dut_create:infinity_fetching_pool")
//工业高炉核心
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:lime_circuit_board" },
"B": { "item": "kubejs:alloy_furnace" },
"E": { "tag": "forge:storage_blocks/industrial_iron" },
"D": { "item": "storagedrawers:controller" },
"C": { "item": "kubejs:differential" }
},
"pattern": [
"ABA",
"CDC",
"EEE"
],
"result": { "item": "kubejs:shaft_furnace" },
"show_notification": true
}).id("dut_create:shaft_furnace")
//应急工业平台
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:deployer" },
"B": { "item": "kubejs:electric_gear" },
"D": { "item": "minecraft:smooth_stone" },
"C": { "item": "minecraft:stone" }
},
"pattern": [
"ABA",
"CCC",
"DDD"
],
"result": { "item": "kubejs:emergency_industrial_platform" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform")
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:deployer" },
"B": { "item": "kubejs:electric_gear" },
"D": { "item": "minecraft:polished_deepslate" },
"C": { "item": "minecraft:deepslate" }
},
"pattern": [
"ABA",
"CCC",
"DDD"
],
"result": { "item": "kubejs:emergency_industrial_platform_dark" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform_dark")
//应急工业平台转换
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:emergency_industrial_platform" }
},
"pattern": [
"A"
],
"result": { "item": "kubejs:emergency_industrial_platform_block" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform_block")
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:emergency_industrial_platform_block" }
},
"pattern": [
"A"
],
"result": { "item": "kubejs:emergency_industrial_platform" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform_block1")
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:emergency_industrial_platform_dark" }
},
"pattern": [
"A"
],
"result": { "item": "kubejs:emergency_industrial_platform_dark_block" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform_dark_block")
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:emergency_industrial_platform_dark_block" }
},
"pattern": [
"A"
],
"result": { "item": "kubejs:emergency_industrial_platform_dark" },
"show_notification": true
}).id("dut_create:emergency_industrial_platform_dark_block1")
//电子管计算机
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:circuit_board" },
"E": { "item": "kubejs:tin_hard_disk", "nbt": { Damage: 0 } },
"D": { "item": "kubejs:electric_gear" },
"F": { "tag": "forge:storage_blocks/tin" }
},
"pattern": [
"AAA",
"EDE",
"FFF"
],
"result": { "item": "kubejs:electron_tube_computer" },
"show_notification": true
}).id("dut_create:electron_tube_computer")
//蓝图构筑站
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:industrial_iron_block" },
"B": { "item": "minecraft:slime_block" },
"D": { "item": "kubejs:electron_tube_computer" },
"C": { "tag": "forge:plates/industrial_iron" }
},
"pattern": [
"CCC",
"BDB",
"AAA"
],
"result": { "item": "kubejs:blueprint_builder" },
"show_notification": true
}).id("dut_create:blueprint_builder")
//大型差分机
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:light_composite_plate" },
"E": { "item": "kubejs:aluminum_hard_disk", "nbt": { Damage: 0 } },
"D": { "item": "kubejs:differential" },
"F": { "tag": "forge:storage_blocks/steel" }
},
"pattern": [
"AAA",
"EDE",
"FFF"
],
"result": { "item": "kubejs:large_difference_engine" },
"show_notification": true
}).id("dut_create:large_difference_engine")
//组装机控制器
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:stockpile_switch" },
"B": { "item": "kubejs:magenta_circuit_board" },
"D": { "item": "kubejs:tin_hard_disk", "nbt": { Damage: 0 } },
"E": { "item": "createaddition:modular_accumulator" },
"F": { "tag": "forge:storage_blocks/industrial_iron" }
},
"pattern": [
"ABA",
"EDE",
"FFF"
],
"result": { "item": "kubejs:assembling_machine" },
"show_notification": true
}).id("dut_create:assembling_machine")
//构筑站控制器
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:assembling_machine" },
"B": { "item": "create:mechanical_arm" },
"D": { "tag": "forge:storage_blocks/desh" },
"E": { "item": "kubejs:aluminum_hard_disk", "nbt": { Damage: 0 } },
"F": { "tag": "forge:storage_blocks/industrial_iron" }
},
"pattern": [
"ABA",
"DED",
"FFF"
],
"result": { "item": "kubejs:construction_station" },
"show_notification": true
}).id("dut_create:construction_station")
//卫星收发站
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:electron_tube_computer" },
"B": { "item": "create:mechanical_arm" },
"D": { "tag": "forge:storage_blocks/desh" },
"E": { "item": "kubejs:brass_hard_disk", "nbt": { Damage: 0 } },
"F": { "tag": "forge:storage_blocks/steel" }
},
"pattern": [
"DBD",
"EAE",
"FFF"
],
"result": { "item": "kubejs:satellite_station" },
"show_notification": true
}).id("dut_create:satellite_station")
//火箭发射台
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "kubejs:satellite_station" },
"D": { "item": "kubejs:light_composite_plate" },
"E": { "item": "kubejs:brass_hard_disk", "nbt": { Damage: 0 } },
"F": { "tag": "forge:storage_blocks/steel" }
},
"pattern": [
"DDD",
"EAE",
"FFF"
],
"result": { "item": "kubejs:launch_pad_controller" },
"show_notification": true
}).id("dut_create:launch_pad_controller")
//样本钻井
event.custom({
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": { "item": "create:industrial_iron_block" },
"B": { "item": "create:railway_casing" },
"C": { "item": "create:fluid_pipe" },
"D": { "item": "kubejs:differential" },
"E": { "item": "createoreexcavation:drill" },
},
"pattern": [
" C ",
"BDB",
"AEA"
],
"result": { "item": "createoreexcavation:sample_drill" },
"show_notification": true
}).id("dut_create:sample_drill")
})