Consuming Item Durability in Crafting
OriginalNovember 10, 2024Less than 1 minute
Consuming Item Durability in Crafting
ServerEvents.recipes((event) => {
const { kubejs } = event.recipes;
kubejs
.shapeless("stripped_oak_log", ["oak_log", "#minecraft:axes"])
.damageIngredient("#minecraft:axes");
});
Info
.damageIngredient
can only be used in kubejs:shaped
and kubejs:shapeless
recipes.