27 lines
1.0 KiB
JavaScript
27 lines
1.0 KiB
JavaScript
/**
|
|
* @param { Internal.RecipesEventJS } event
|
|
* @param { InputItem_[] } inputs
|
|
* @param { OutputItem_ } output
|
|
* @param { number } exp
|
|
* @param { number } time
|
|
*/
|
|
function dumpling(event, inputs, output, exp, time) {
|
|
event.recipes.festival_delicacies.stove(inputs, output, exp, time, true)
|
|
.id(`createdelight:stove/${output.split(":")[1]}`)
|
|
event.recipes.farmersdelight.cooking(inputs, output, exp, time)
|
|
.id(`createdelight:cooking/${output.split(":")[1]}`)
|
|
}
|
|
|
|
/**
|
|
* @param { Internal.RecipesEventJS } event
|
|
* @param { InputItem_[] } inputs
|
|
* @param { OutputItem_ } output
|
|
* @param { number } exp
|
|
* @param { number } time
|
|
*/
|
|
function wonton(event, inputs, output, exp, time) {
|
|
event.recipes.festival_delicacies.stove(inputs, output, exp, time, true, "minecraft:bowl")
|
|
.id(`createdelight:stove/${output.split(":")[1]}`)
|
|
event.recipes.farmersdelight.cooking(inputs, output, exp, time, "minecraft:bowl")
|
|
.id(`createdelight:cooking/${output.split(":")[1]}`)
|
|
} |