mojira.dev
MC-63629

Switching a sword with number keys allows it to break blocks in creative

If you use the number keys to switch a sword to an open spot on the hotbar, you will be able to break blocks with it in creative mode. However, no sound is played when blocks are destroyed this way.

Steps to reproduce:
1. Place a sword into any slot on your hotbar, with nothing else in it
2. Hover over the sword with your cursor and press a number key other than the slot it is in
3. Close the inventory and select the sword
4. Swing at any blocks in range.

Updating the sword's slot at all will reset it, and you will no longer be able to break blocks with it.

I'm sorry if this has already been reported, so many people have reported the inability to break blocks with a sword as a bug itself that it was nearly impossible to search.

Related issues

Comments

Ezekiel

This has already been reported, but I can't find the ticket right now either, so your forgiven. I'll be back when I can find it.

edit: well, I think it has.

migrated

I am sorry but i don't know what to do. Erm try and refresh the chunks? Or mabey try and re-log into minecraft.

Ezekiel

Jack, what are you talking about?

marcono1234

Confirmed for

  • 14w31a

Sonicwave

Confirmed for 1.8-pre2.

Sonicwave

Confirmed for 1.8-pre3.

Sonicwave

Confirmed in 1.8.1-pre4, but might be a duplicate of MC-2912.

migrated

15w43a

migrated

(Unassigned)

Confirmed

Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w34d, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8.1-pre4, Minecraft 15w43a

Retrieved