TransWikia.com

Armor enchantment on a held item 1.14

Arqade Asked by OK_Diamond on May 19, 2021

How do I enchant a held item with a working armor enchantment (eg. a stick with respiration)?
I can use commands to give the item the enchantment, but it currently seems to have no effect when I am holding it.
I’m using 1.14

2 Answers

You can only do that by editing the item's "Enchantments" NBT tag, which is not possible in a playet's inventory. You can only use /replaceitem to overwrite it with a new item or ask the player to drop it, then you can modify the drop.

Example for /replaceitem:

/replaceitem entity @p weapon.mainhand stick{tag:{Enchantments:[{id:"knockback",lvl:8}]}}

Answered by Fabian Röling on May 19, 2021

You need to use the enchant command given up above my answer that command will enchant your item at any enchantment level! Also any enchantment in the game!

Answered by Caden Johnson-Bell on May 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP