#Recipe with an enchanted item

5 messages · Page 1 of 1 (latest)

forest marten
#

Hello, I would like to make a recipe that would have a sword as an ingredient and as a result would give you a helmet, if this ingredient would be enchanted
the enchantment and durability will be applied to the result

I don't know if I explain myself

Thank you

pearl heronBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

grizzled sigil
verbal flameBOT
#
event.shaped(...).modifyResult((grid, result) => {
  let item = grid.find(Item.of("itemtotakenbtfrom"))
  return result.withNBT(item.nbt)
})
grizzled sigil
#

that just keeps the nbt from one input item in the output item