promotional bannermobile promotional banner
premium banner
Register the lychee recipe in kubejs.

Description

KubeJS integration for Lychee.

 

Provides recipe handlers for Lychee's recipe types.

 

A example (in server_scripts) :

ServerEvents.recipes(event => {
event.recipes.lychee.block_interacting(
"minecraft:iron_axe",
"minecraft:oak_log"
)
.post([
Post.drop_item("minecraft:diamond").withChance(0.5),
Post.place("minecraft:stripped_oak_log"),
Post.damage_item()
])
})

 

More examples on GitHub.