mojira.dev
MC-75494

Lead item drop is not affected by doEntityDrops gamerule

The bug

Leashed mobs ignore the doEntityDrops gamerule and drop leads upon death or when getting disconnected from the lead.

How to reproduce

  1. Set doEntityDrops gamerule to false by running:

    /gamerule doEntityDrops false
  2. Spawn any leash-able mob

  3. Leash the spawned mob

  4. 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

Attachments

Comments

migrated
[media]
migrated

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

galaxy_2alex

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.

migrated

@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.

migrated

mob drops another lead even if doEntityDrops is false.

That would fall under doMobLoot, then.

galaxy_2alex

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

migrated

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

migrated

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

migrated

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

migrated

Should it be lead or leash?

migrated

Lead is the official name.

migrated

It should be doEntityDrops since leads aren't mobs.

wobst.michael

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

migrated

i need your help

SunCat

@unknown, please see "Issue Guidelines", linked below.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

migrated

Confirmed for 1.12 pre-5.

migrated

Confirmed for 1.12 pre-7.

migrated

Confirmed for 1.12 release.

migrated

Confirmed for 1.12.1.

migrated

Confirmed for 1.12.2 pre-2.

wobst.michael

Ticket is yours now, @unknown

lord.quadrato

Confirmed for 18w06a, 18w07c, 18w08b, 18w09a, 18w10d, 18w11a, 18w14b, 18w15a anf for 18w16a.
I disabled both gamerules.

Panda4994

Confirmed for 1.13pre4.

Panda4994

Confirmed for 1.13-pre6.

Panda4994

Confirmed for 1.13-pre7.

migrated

Confirmed for 1.13-pre8.

migrated

Confirmed for 1.13-pre9.

migrated

Confirmed for 1.13-pre10.

migrated

Confirmed for 1.13.

migrated

Confirmed for 18w30a.

migrated

Confirmed for 18w30b.

migrated

Confirmed for 18w31a.

migrated

Confirmed for 18w32a.

migrated

Confirmed for 18w33a.

migrated

Confirmed for 1.13.1.

migrated

Confirmed for 1.13.2-pre1.

migrated

Confirmed for 1.13.2-pre2.

migrated

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

migrated

Confirmed in 1.16-pre3.

migrated

Confirmed in 1.16-pre4.

migrated

Confirmed in 1.16-pre6.

migrated

Confirmed in 1.16-pre7.

migrated

Confirmed in 1.16-pre8.

migrated

Confirmed in 1.16-rc1.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w07a.

Avoma

Video attached.

Avoma

Can confirm in 1.19.2.

migrated

etanaratsastaja

Confirmed

Platform

Low

Commands

doEntityDrops, drop, gamerule, item, lead

Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre6, Minecraft 1.8.2, ..., 24w05a, 24w11a, 24w12a, 1.20.6, 1.21

24w33a

Retrieved