Item
Use the item requirement in a KubeJS recipe
.requireItem(ingredient)
.requireItem(ingredient, "slot")
//Same as 'requireItem' but the item will be consumed at the end of the crafting process.
//Removing the items during process will cause the machine to stop and wait for them to be put again.
.requireItemOnEnd(ingredient)
.requireItemOnEnd(ingredient, "slot")
.produceItem(item)
.produceItem(item, "slot")Example
Last updated