432 lines
12 KiB
JavaScript
432 lines
12 KiB
JavaScript
ServerEvents.recipes(event => {
|
|
//
|
|
//event.custom().id("dut_create:")
|
|
//event.custom().id("dut_create:")
|
|
//event.custom().id("dut_create:")d
|
|
event.custom({
|
|
"type": "create:compacting",
|
|
"ingredients": [
|
|
{ "item": "createdieselgenerators:wood_chip"},
|
|
{ "item": "createdieselgenerators:wood_chip"},
|
|
{ "item": "createdieselgenerators:wood_chip"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:paper" }
|
|
]
|
|
}).id("dut_create:compacting/paper")
|
|
event.custom({
|
|
"type": "create:compacting",
|
|
"ingredients": [
|
|
{ "item": "farmersdelight:tree_bark"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:paper" }
|
|
]
|
|
}).id("dut_create:compacting/paper_from_bark")
|
|
event.remove({output:"minecraft:paper"})
|
|
//彩蛋-牛肉馅
|
|
event.custom({
|
|
"type": "create:pressing",
|
|
"ingredients": [{ "item": "minecraft:beef" }],
|
|
"results": [{ "item": "farmersdelight:minced_beef", "count": 3 }],
|
|
}).id("dut_create:pressing/minced_beef")
|
|
event.remove({id:"create:compacting/ice"})
|
|
//紫水晶量产
|
|
event.custom({
|
|
"type": "create:haunting",
|
|
"ingredients": [
|
|
{ "item": "minecraft:amethyst_block" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:budding_amethyst","chance":0.25 }
|
|
]
|
|
}).id("dut_create:budding_amethyst")
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{"item": "minecraft:budding_amethyst"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:budding_amethyst"},
|
|
{"item": "minecraft:small_amethyst_bud"},
|
|
]
|
|
}).id("dut_create:small_amethyst_bud")
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [
|
|
{"item": "minecraft:small_amethyst_bud"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:medium_amethyst_bud"},
|
|
]
|
|
}).id("dut_create:medium_amethyst_bud")
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [
|
|
{"item": "minecraft:medium_amethyst_bud"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:large_amethyst_bud"},
|
|
]
|
|
}).id("dut_create:large_amethyst_bud")
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [
|
|
{"item": "minecraft:large_amethyst_bud"},
|
|
{"amount": 75,"fluid": "minecraft:water"}
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:amethyst_cluster"},
|
|
]
|
|
}).id("dut_create:amethyst_cluster")
|
|
event.custom({
|
|
"type": "create:milling",
|
|
"ingredients": [
|
|
{"item": "minecraft:amethyst_cluster"},
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:amethyst_shard", "count": 12}
|
|
],
|
|
"processingTime": 120
|
|
}).id("dut_create:amethyst_shard")
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"secondaryFluidInput": 0,
|
|
"heatRequirement": "heated",
|
|
"ingredients": [
|
|
{"amount": 250,"fluid": "kubejs:saline_water"},
|
|
{ "item": "minecraft:budding_amethyst"}
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:budding_amethyst"},
|
|
{"item": "minecraft:amethyst_cluster"},
|
|
{"item": "minecraft:amethyst_cluster","chance":0.25}
|
|
],
|
|
"processingTime": 100
|
|
}).id('dut_create:pressurizing/amethyst_cluster')
|
|
//水晶簇分解
|
|
event.custom({
|
|
"type": "vintageimprovements:vibrating",
|
|
"ingredients": [
|
|
{"item": "minecraft:amethyst_cluster"}
|
|
],
|
|
"results": [
|
|
{"item": "minecraft:amethyst_shard", "count": 12},
|
|
{"item": "minecraft:amethyst_shard", "count": 6,"chance":0.5}
|
|
],
|
|
"processingTime": 200
|
|
}).id("dut_create:vibrating/amethyst_cluster")
|
|
//石英
|
|
event.custom({
|
|
"type": "create:crushing",
|
|
"ingredients": [
|
|
{"item": "minecraft:amethyst_shard"}
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:purple_dye", "chance": 0.5 },
|
|
{ "item": "minecraft:quartz" }
|
|
],
|
|
"processingTime": 50
|
|
}).id("dut_create:crushing/amethyst_shard")
|
|
//硅板
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"heatRequirement": "heated",
|
|
"ingredients": [
|
|
{"item": "minecraft:amethyst_shard"}
|
|
],
|
|
"results": [{ "item": "kubejs:silicon_plate" }],
|
|
"processingTime": 80
|
|
}).id("dut_create:pressurizing/silicon_plate")
|
|
//甘蔗产糖
|
|
event.remove({ output: "minecraft:sugar", mod: 'create' })
|
|
event.remove({ id: "minecraft:sugar_from_sugar_cane" })
|
|
event.custom({
|
|
"type": "create:milling",
|
|
"ingredients": [{ "item": "minecraft:sugar_cane" }],
|
|
"results": [{ "item": "minecraft:sugar" }],
|
|
"processingTime": 50
|
|
}).id("dut_create:milling/sugar_cane")
|
|
//碳化硅打磨玫瑰石英
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "item": "create:rose_quartz" },
|
|
{ "item": "create:rose_quartz" },
|
|
{ "item": "kubejs:carborundum" }
|
|
],
|
|
"results": [
|
|
{ "item": "create:polished_rose_quartz" },
|
|
{ "item": "create:polished_rose_quartz" },
|
|
{ "item": "kubejs:carborundum" }
|
|
]
|
|
}).id("dut_create:mixing/rose_quartz_mixing")
|
|
//泥巴
|
|
event.remove({ id: "create:mixing/mud_by_mixing" })
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
[{ "item": "minecraft:dirt" }, { "item": "minecraft:coarse_dirt" }],
|
|
[{ "item": "minecraft:dirt" }, { "item": "minecraft:coarse_dirt" }],
|
|
{ "fluid": "minecraft:water", "amount": 250 }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:mud", "count": 2 }
|
|
]
|
|
}).id("dut_create:mixing/mud")
|
|
//泥胚
|
|
event.custom({
|
|
"type": "minecraft:crafting_shapeless",
|
|
"ingredients": [
|
|
{ "item": "minecraft:mud" },
|
|
{ "item": "createdieselgenerators:wood_chip" },
|
|
{ "item": "createdieselgenerators:wood_chip" },
|
|
{ "item": "createdieselgenerators:wood_chip" }
|
|
],
|
|
"result": { "item": "minecraft:packed_mud" }
|
|
}).id("dut_create:packed_mud")
|
|
event.custom({
|
|
"type": "minecraft:smelting",
|
|
"category": "misc",
|
|
"cookingtime": 200,
|
|
"experience": 0.7,
|
|
"ingredient": {
|
|
"item": "kubejs:incomplete_disposable_battery"
|
|
},
|
|
"result": "minecraft:copper_ingot"
|
|
}).id("dut_create:metal_recycle/copper")
|
|
event.custom({
|
|
"type": "minecraft:smelting",
|
|
"category": "misc",
|
|
"cookingtime": 200,
|
|
"experience": 0.7,
|
|
"ingredient": {
|
|
"item": "kubejs:incomplete_chargeable_battery"
|
|
},
|
|
"result": "create:brass_ingot"
|
|
}).id("dut_create:metal_recycle/brass")
|
|
//黑曜石
|
|
event.custom({
|
|
"type": "create:sequenced_assembly",
|
|
"ingredient": { "item": "create:powdered_obsidian" },
|
|
"results": [
|
|
{ "item": "minecraft:obsidian", "count": 1, "chance": 0.5 },
|
|
{ "item": "create:powdered_obsidian", "chance": 0.5 }
|
|
],
|
|
"loops": 1,
|
|
"sequence": [
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "create:powdered_obsidian" },
|
|
{ "amount": 500, "fluid": "minecraft:water" }],
|
|
"results": [{ "item": "create:powdered_obsidian" }]
|
|
},
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "create:powdered_obsidian" },
|
|
{ "amount": 500, "fluid": "minecraft:lava" }],
|
|
"results": [{ "item": "create:powdered_obsidian" }]
|
|
}
|
|
],
|
|
"transitionalItem": { "item": "create:powdered_obsidian" }
|
|
}).id("dut_create:powdered_obsidian")
|
|
//甜菜制糖
|
|
event.custom({
|
|
"type": "create:compacting",
|
|
"ingredients": [
|
|
{ "item": "minecraft:beetroot" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:sugar" }
|
|
],
|
|
"heatRequirement": "heated"
|
|
}).id("dut_create:sugar_from_beetroot")
|
|
//经验颗粒
|
|
event.custom({
|
|
"type": "create:crushing",
|
|
"ingredients": [
|
|
{ "item": "ae2:certus_quartz_crystal" }
|
|
],
|
|
"results": [
|
|
{ "item": "create:experience_nugget", "chance": 0.5 },
|
|
{ "item": "minecraft:quartz", "chance": 0.12 }
|
|
],
|
|
"processingTime": 50
|
|
}).id("dut_create:crushing/experience_nugget")
|
|
//经验颗粒1
|
|
event.custom({
|
|
"type": "create:crushing",
|
|
"ingredients": [
|
|
{ "item": "ae2:charged_certus_quartz_crystal" }
|
|
],
|
|
"results": [
|
|
{ "item": "create:experience_nugget", "count": 1}
|
|
],
|
|
"processingTime": 50
|
|
}).id("dut_create:crushing/experience_nugget1")
|
|
//滴水石锥
|
|
event.custom({
|
|
"type": "create:haunting",
|
|
"ingredients": [
|
|
{ "item": "minecraft:calcite" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:pointed_dripstone" },
|
|
{ "item": "minecraft:pointed_dripstone", "chance": 0.75 }
|
|
]
|
|
}).id("dut_create:haunting/pointed_dripstone")
|
|
//末地石
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [
|
|
{ "item": "minecraft:cobblestone" },
|
|
{ "amount": 125, "fluid": "kubejs:chlorine" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:end_stone" }
|
|
]
|
|
}).id("dut_create:filling/end_stone")
|
|
//下界岩
|
|
event.custom({
|
|
"type": "create:sequenced_assembly",
|
|
"ingredient": { "item": "minecraft:cobblestone" },
|
|
"results": [
|
|
{ "item": "minecraft:netherrack", "chance": 0.5 },
|
|
{ "item": "minecraft:cobblestone", "chance": 0.5 }
|
|
],
|
|
"loops": 1,
|
|
"sequence": [
|
|
{
|
|
"type": "create:filling",
|
|
"ingredients": [{ "item": "minecraft:cobblestone" },
|
|
{ "amount": 500, "fluid": "minecraft:lava" }],
|
|
"results": [{ "item": "minecraft:cobblestone" }]
|
|
}
|
|
],
|
|
"transitionalItem": { "item": "minecraft:cobblestone" }
|
|
}).id("dut_create:netherrack")
|
|
//萤石粉
|
|
event.custom({
|
|
"type": "create:filling",
|
|
"ingredients": [
|
|
{ "item": "minecraft:redstone" },
|
|
{ "amount": 150, "fluidTag": "forge:biodiesel" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:glowstone_dust" }
|
|
]
|
|
}).id("dut_create:filling/glowstone_dust")
|
|
//黄绿色染料
|
|
event.custom({
|
|
"type": "crafting_shapeless",
|
|
"ingredients": [
|
|
{
|
|
"item": "minecraft:kelp"
|
|
}
|
|
],
|
|
"result":
|
|
{
|
|
"item": "minecraft:lime_dye"
|
|
}
|
|
}).id("dut_create:lime_dye")
|
|
//冰
|
|
event.custom({
|
|
"type": "create:compacting",
|
|
"ingredients": [
|
|
{ "item": "minecraft:snow_block" },
|
|
{ "item": "minecraft:snow_block" },
|
|
{ "item": "minecraft:snow_block" },
|
|
{ "item": "minecraft:snow_block" },
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:ice" }
|
|
]
|
|
}).id("dut_create:ice")
|
|
//泥土
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "item": "minecraft:coarse_dirt" },
|
|
{ "item": "minecraft:coarse_dirt" },
|
|
{ "item": "minecraft:coarse_dirt" },
|
|
{ "item": "minecraft:coarse_dirt" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:dirt", "count": 4 }
|
|
]
|
|
}).id("dut_create:dirt")
|
|
//深板岩圆石
|
|
event.custom({
|
|
"type": "create:compacting",
|
|
"ingredients": [
|
|
{ "item": "minecraft:cobblestone" },
|
|
{ "item": "minecraft:cobblestone" }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:cobbled_deepslate" }
|
|
],
|
|
"heatRequirement": "heated"
|
|
}).id("dut_create:cobbled_deepslate")
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "fluid": "minecraft:lava", "amount": 125 },
|
|
{ "fluid": "minecraft:water", "amount": 125 }
|
|
],
|
|
"results": [
|
|
{ "item": "minecraft:cobblestone", "count": 16 }
|
|
]
|
|
}).id("dut_create:cobblestone_mixing")
|
|
//鞍
|
|
event.custom({
|
|
"type": "minecraft:crafting_shaped",
|
|
"pattern": [
|
|
"###",
|
|
"T&T"
|
|
],
|
|
"key": {
|
|
"#": { "item": "minecraft:leather" },
|
|
"&": { "item": "minecraft:string" },
|
|
"T": { "item": "minecraft:tripwire_hook" }
|
|
},
|
|
"result": { "item": "saddle" }
|
|
}).id("dut_create:saddle")
|
|
//线
|
|
event.custom({
|
|
"type": "minecraft:crafting_shaped",
|
|
"pattern": [
|
|
"##"
|
|
],
|
|
"key": {
|
|
"#": { "item": "minecraft:white_carpet" }
|
|
},
|
|
"result": { "item": "string", "count": 4 }
|
|
}).id("dut_create:string")
|
|
//火药
|
|
event.custom({
|
|
"type": "minecraft:crafting_shapeless",
|
|
"ingredients": [
|
|
[{ "item": "minecraft:redstone" },
|
|
{ "item": "minecraft:blaze_powder" },
|
|
{ "item": "kubejs:sulphur" }],
|
|
[{ "item": "minecraft:sugar" },
|
|
{ "item": "minecraft:bone_meal" }],
|
|
[{ "item": "minecraft:coal" },
|
|
{ "item": "minecraft:charcoal" },
|
|
{ "item": "kubejs:crushed_coal" }]
|
|
],
|
|
"result": { "item": "minecraft:gunpowder", "count": 3 }
|
|
}).id("dut_create:gunpowder")
|
|
event.custom({
|
|
"type": "minecraft:crafting_shapeless",
|
|
"ingredients": [
|
|
{ "item": "createbigcannons:nitropowder" }
|
|
],
|
|
"result": { "item": "minecraft:gunpowder", "count": 3 }
|
|
}).id("dut_create:gunpowder1")
|
|
}) |