距离显示结果还剩5票~
暂无日志..
暂无管理组..
暂无编辑组..
暂无开发组..
概述
这个 Mod 允许你使用 KubeJS 来创建工业先锋内置设备相关的配方;
更多信息详见 Wiki。
示例
ServerEvents.recipes(event => {
event.recipes.industrialforegoing.dissolution_chamber(
["minecraft:tnt"], // input items
"minecraft:water", // input fluid
"minecraft:sand", // output item
100 // time
)
// .outputFluid("minecraft:water"); // output fluid
event.recipes.industrialforegoing.fluid_extractor(
"minecraft:tnt", // input block
"minecraft:sand", // output block
0.5, // break chance
"minecraft:lava" // output fluid
)
event.recipes.industrialforegoing.stonework_generate(
"minecraft:tnt",
100, // water needed
100, // lava needed
50, // water consumed
50 // lava consumed
)
event.recipes.industrialforegoing.crusher( // the pickaxe action in the stonework factory
"minecraft:tnt", // input item
"minecraft:sand" // output item
)
event.recipes.industrialforegoing.laser_drill_ore(
"minecraft:tnt", // output
"minecraft:sand", // catalyst
[ //rarity, see wiki for more details
{
"blacklist": {
"type": "minecraft:worldgen/biome",
"values": [
"minecraft:the_end",
"minecraft:the_void",
"minecraft:small_end_islands",
"minecraft:end_barrens",
"minecraft:end_highlands",
"minecraft:end_midlands"
]
},
"depth_max": 16,
"depth_min": 5,
"weight": 4,
"whitelist": {}
},
{
"blacklist": {
"type": "minecraft:worldgen/biome",
"values": [
"minecraft:the_end",
"minecraft:the_void",
"minecraft:small_end_islands",
"minecraft:end_barrens",
"minecraft:end_highlands",
"minecraft:end_midlands"
]
},
"depth_max": 255,
"depth_min": 0,
"weight": 1,
"whitelist": {}
}
]
)
event.recipes.industrialforegoing.laser_drill_fluid(
"minecraft:water", // output
"minecraft:sand", // catalyst
[ // rarity, see wiki for more details
{
"blacklist": {
"type": "minecraft:worldgen/biome",
"values": [
"minecraft:the_end",
"minecraft:the_void",
"minecraft:small_end_islands",
"minecraft:end_barrens",
"minecraft:end_highlands",
"minecraft:end_midlands"
]
},
"depth_max": 16,
"depth_min": 5,
"weight": 4,
"whitelist": {}
},
{
"blacklist": {
"type": "minecraft:worldgen/biome",
"values": [
"minecraft:the_end",
"minecraft:the_void",
"minecraft:small_end_islands",
"minecraft:end_barrens",
"minecraft:end_highlands",
"minecraft:end_midlands"
]
},
"depth_max": 255,
"depth_min": 0,
"weight": 1,
"whitelist": {}
}
],
"minecraft:zombie" // entity required below
)
})