mojira.dev
MC-27140

Player can destroy boats and minecarts with a sword/trident in creative mode

I placed a Minecart on a rail and left-clicked it with a sword and it disappeared!

Steps to Reproduce:

  • Summon a boat and a minecart.

/summon minecraft:boat ~2 ~ ~
/summon minecraft:minecart ~-2 ~ ~
  • Switch into creative mode and obtain a sword.

  • Attempt to destroy both the boat and the minecart by using the sword.

Observed Behavior:
Boats and minecarts can be destroyed with swords in creative mode.

Expected Behavior:
Boats and minecarts would not be able to be destroyed with swords in creative mode.

Linked issues

Attachments

Comments 15

boats and minecarts are treated as entitys, so that might not be a bug.

Can confirm in 20w49a.

Can confirm in 20w51a.

5 more comments

Can confirm in 1.17.1.

Can confirm this behavior in 21w39a. Here are some extra details regarding this problem.

The Bug:

Boats and minecarts can be destroyed with swords in creative mode.

Steps to Reproduce:

  • Summon a boat and a minecart.

/summon minecraft:boat ~2 ~ ~
/summon minecraft:minecart ~-2 ~ ~
  • Switch into creative mode and obtain a sword.

  • Attempt to destroy both the boat and the minecart by using the sword.

Observed Behavior:

Boats and minecarts can be destroyed with swords in creative mode.

Expected Behavior:

Boats and minecarts would not be able to be destroyed with swords in creative mode.

Can confirm in 1.18.2 and 22w18a.

Can confirm in 1.19.

Can confirm in 1.19.2.

One GSKW

muzikbike

(Unassigned)

Confirmed

Gameplay

Low

Player

destroy, general-breaking-zone, minecart, sword

Minecraft 1.6.1, Minecraft 1.6.2, 1.16.1, 20w28a, 20w30a, ..., 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 24w35a

Retrieved