mojira.dev
MC-100428

Unable to use OP enchants

When I use op enchant commands aka a command like:
/give xX_Eman_Xx diamond_sword 1 0 {ench:[{id:smite,lvl:100}]}
no matter what enchant I put (and multiple) it always enchants it with protection of the level I specified. I tried restarting my client, restarting my computer, and deleting the .minecraft folder entirely and nothing worked.

Environment

Windows 7 64bit, Windows 10 64bit OS
First time run on newly downloaded 1.9.2 client
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
DirectX 12

Linked issues

Comments 2

You forgot that you have to use the enchantment id's, not the name. It works when you type:
/give xX_Eman_Xx diamond_sword 1 0 {ench:[{id:17,lvl:100}]}
So no worries! XD

Names in the nbt data for enchantments isn't implemented yet

migrated

(Unassigned)

Unconfirmed

Minecraft 1.9.2

Retrieved