mojira.dev
MC-51984

Picking blocks in Creative replaces enchanted tools in hand

In Creative, when you have a full hotbar, block-picking doesn't work with a tool (axe, pickaxe, shovel, hoe, flint and steel, fishing rod, shears), weapon (sword, bow), or piece of armor in your hand. This issue is covered by MC-327, and is resolved as working as intended; the reason given is to prevent players from accidentally replacing a customized tool with a block.
However, enchanting such an item actually removes this immunity.
(Furthermore, there's nothing similar in place to prevent the destruction of firework stars, maps, enchanted books, written books, or non-tool items with custom NBT data, much of which is harder to reproduce if lost, especially without commands.)

Linked issues

Comments 7

Still present in 14w17a

Yes, confirmed for 14w17a

Confirmed for 14w18b.

Isn't so. Basically it says that IF MC-327 is intended, enchanted tools shouldn't be overwritten by middle-clicking, which they are (just checked for 14w33c).
[in response to a comment claiming this issue is a duplicate]

Confirmed for 1.8pre2

Confirmed for 1.8 and 1.8.1-pre1.

I think this can be considered fixed in the latest snapshot - enchanted items are only replaced as a last measure, other items will be switched to and replaced first.

About protecting other blocks: That's a feature request.

Icarus with Parachute

(Unassigned)

Confirmed

enchanted, inconsistent, pick-block, tool

Minecraft 14w11b, Minecraft 14w33c, Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w32c

Minecraft 15w33b

Retrieved