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.

Related issues

Attachments

Comments

migrated
[media][media]
bemoty

Can confirm for MC 1.12.1.

migrated

Confirmed for 1.13.1.

muzikbike

Affects 20w07a, can I request ownership?

migrated

Confirmed in 1.16-pre5.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a. Video attached.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w16a.

Avoma

Can confirm in 1.17.1.

Avoma

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.

Avoma

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

Avoma

Can confirm in 1.18.2 and 22w19a.

migrated

Can Confirm 1.19.3 Release Preview 3

Can Confirm 1.19.2

migrated

In 24w12a.

migrated

(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