-
Notifications
You must be signed in to change notification settings - Fork 0
In World Recipes KubeJS
benbenlaw edited this page Jul 23, 2025
·
1 revision
clickType (ClickType), targetBlockState (BlockState), heldItem (SizedIngredient), damageHeldItem (boolean), consumeHeldItem (boolean), popItems (boolean), ignoreBlockState (boolean)
ServerEvents.recipes(event => {
event.recipes.inworldrecipes.block_interaction(
"right",
"minecraft:dirt",
"contained:water_drop",
false,
true,
false,
true
}).outputBlockState("minecraft:furnace[lit=true]") // this block is placed after success
.results([
["3x contained:light_gray_asteroid_dust"],
["contained:light_gray_asteroid_dust", 0.25]
]) // Results are a list of items stacks with an optional chance value using ChanceResult, this happens after a success recipe
})