mojira.dev
MC-98118

Can't use name of enchantment to enchant items with /enchant

So you can spawn items in with /give Player Minecraft:itemName, but if you want to enchant an item with the /enchant command or if you want to use the /effect command to get a potion effect, you can't use the name, but can only use the id of the enchantment/potion effect.

Comments 2

Please provide the exact commands you're using. The following works fine:

/enchant @p minecraft:looting
/effect @p minecraft:swiftness

And it all of a sudden seems to be working fine, huh... Nevermind then, mark this as resolved and carry on

Cole Abbeduto

(Unassigned)

Unconfirmed

Minecraft 1.8.9, Minecraft 1.9 Pre-Release 4

Retrieved