KubeJS recipe examples:
onEvent('recipes', event => {
event.recipes.ftbdripperDrip({
inputBlock: 'minecraft:fire',
inputItem: 'minecraft:flint_and_steel',
outputBlock: 'minecraft:diamond_block',
outputItem: 'minecraft:diamond',
chance: 1.0,
fluid: 'minecraft:lava'
})
event.recipes.ftbdripperDrip({
inputBlock: 'minecraft:cobblestone',
outputBlock: 'minecraft:iron_block',
})
event.recipes.ftbdripperDrip({
inputBlock: 'minecraft:red_sand',
outputBlock: 'minecraft:redstone_block',
})
event.recipes.ftbdripperDrip({
inputBlock: 'minecraft:dried_kelp_block',
outputBlock: 'minecraft:grass_block',
})
})
Json recipe example:
{
"type": "ftbdripper:drip",
"inputBlock": "minecraft:fire",
"inputItem": "minecraft:flint_and_steel",
"outputBlock": "minecraft:diamond_block",
"outputItem": "minecraft:diamond",
"chance": 1.0,
"fluid": "minecraft:lava"
}
inputBlock
, outputBlock
are required fields
inputItem
, outputItem
are optional for JEI integration
chance
is optional 0.0 - 1.0, defaults to 1.0
fluid
is optional, defaults to minecraft:water