mojira.dev
MC-93802

Leash knots drop when broken in creative mode

The Bug

When using left-click to break a leash knot attached to a mob and fence in creative mode drops the item. Right clicking it to destroy it doesn't do this.

Steps to Reproduce

  • Summon a pig and place down a fence.

  • Obtain a lead, and use it to leash the pig to the fence.

  • Ensure that you're in creative mode, if not already.

  • Use the Attack/Destroy button (left-click by default) on the leash knot.

Observed Behavior

Leash knots are dropped when broken in creative mode.

Expected Behavior

Leash knots would not be dropped when broken in creative mode.

Linked issues

Attachments

Comments 16

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

Affects 20w07a, can I request ownership?

Confirmed in 1.16-pre5.

Can confirm in 21w03a.

6 more comments

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

The Bug:

Leash knots are dropped when broken in creative mode.

Steps to Reproduce:

  • Summon a pig and place down a fence.

  • Obtain a lead, and use it to leash the pig to the fence.

  • Ensure that you're in creative mode, if not already.

  • Use the Attack/Destroy button (left-click by default) on the leash knot.

Observed Behavior:

Leash knots are dropped when broken in creative mode.

Expected Behavior:

Leash knots would not be dropped when broken in creative mode.

Can confirm in 21w42a. I'd like to request ownership of this ticket since the current reporter has been inactive since March of 2020.

Can confirm in 1.18.2 and 22w19a.

Can Confirm 1.19.3 Release Preview 3

Can Confirm 1.19.2

I am just someone who likes minecraft

In 24w12a.

Swekob

(Unassigned)

Confirmed

Entities

break, drop, lead, leash_knot

Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 15w50a, ..., 1.19.3, 23w06a, 1.20.3 Release Candidate 1, 1.20.4, 1.21.5

Retrieved