The bug
Leashed mobs ignore the doEntityDrops
gamerule and drop leads upon death or when getting disconnected from the lead.
How to reproduce
Set
doEntityDrops
gamerule tofalse
by running:/gamerule doEntityDrops false
Spawn any leash-able mob
Leash the spawned mob
Kill the mob or fly far away very quickly or have a creeper explode nearby
→ Notice that the lead is dropped
Note: I'm not entirely sure which gamerule should affect lead drop(doEntityDrops
or doMobLoot
). But none of them affects this behavior.
Video demonstrating the issue: https://drive.google.com/file/d/0Bwh-rUpGiETGWEs5SUFVOEFiUG8/view?usp=sharing
Related issues
is duplicated by
Attachments
Comments


Not just fall damage. And I'll be very surprised if this isn't dupe.

Hm... does it include a portal? Because the only one I could find is MC-15270, which includes a portal. Also, please specify the reproduction steps since I don't get your current ones.

@unknown This is creative only. Basically you lead a mob and when mob dies, mob drops another lead even if doEntityDrops is false. Is there any ticket already describing this? (I couldn't find one) If not, I'll create one with better description.

mob drops another lead even if doEntityDrops is false.
That would fall under doMobLoot, then.

Confirmed.
Yoo Tae Jong: I assigned the ticket to you, please change title and description to a proper one.

@unknown But lead isn't really a loot... and it is still dropped even when doMobLoot
was set to false.

@unknown I'm sorry. I'll keep that in mind.

@unknown, no problem, you can edit again! 🙂

Should it be lead or leash?

Lead is the official name.

It should be doEntityDrops since leads aren't mobs.

Is this still an issue in the most recent versions (i.e. 1.10.2, or 16w42a) of Minecraft?

i need your help

@unknown, please see "Issue Guidelines", linked below.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

Confirmed for 1.12 pre-5.

Confirmed for 1.12 pre-7.

Confirmed for 1.12 release.

Confirmed for 1.12.1.

Confirmed for 1.12.2 pre-2.

Ticket is yours now, @unknown

Confirmed for 18w06a, 18w07c, 18w08b, 18w09a, 18w10d, 18w11a, 18w14b, 18w15a anf for 18w16a.
I disabled both gamerules.
Confirmed for 1.13pre4.
Confirmed for 1.13-pre6.
Confirmed for 1.13-pre7.

Confirmed for 1.13-pre8.

Confirmed for 1.13-pre9.

Confirmed for 1.13-pre10.

Confirmed for 1.13.

Confirmed for 18w30a.

Confirmed for 18w30b.

Confirmed for 18w31a.

Confirmed for 18w32a.

Confirmed for 18w33a.

Confirmed for 1.13.1.

Confirmed for 1.13.2-pre1.

Confirmed for 1.13.2-pre2.

Confirmed for 1.16 Pre-release 2. The killed mob will also drop their "own" items.

Confirmed in 1.16-pre3.

Confirmed in 1.16-pre4.

Confirmed in 1.16-pre6.

Confirmed in 1.16-pre7.

Confirmed in 1.16-pre8.

Confirmed in 1.16-rc1.
Can confirm in 21w05b.
Can confirm in 21w07a.
Video attached.
Can confirm in 1.19.2.