#How to enchant the item?

4 messages · Page 1 of 1 (latest)

glad blaze
#
ItemEvents.rightClicked((event) => {
    const { item,player,entity } = event

    item.enchant("minecraft:efficiency", 1)

    entity.sendInventoryUpdate()
})

Actually doesn't work

knotty thunderBOT
#

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

woven plover
#

try enchantStack ```js
item.enchantStack("minecraft:efficiency", 1)

glad blaze
#

THANKS!