mojira.dev
MC-106494

Items despawn after one minute instead of five when dropped from the Creative inventory

The bug

If you drop an item from the Creative inventory by dragging it over the edge of the inventory panel or by pressing Q while hovering above an item, it disappears after one minute. This does not happen if you drop the item with Q while not in the inventory.

This is problematic since it breaks despawn timer mechanisms.

This might be intended, but if so, it seems inconsistent that this happens only when dropping items out of the Creative inventory.

To reproduce

  1. Switch into Creative mode

  2. Drop an item by dragging it over the edge of the Creative inventory panel

  3. Wait one minute
    → ❌ The item disappears

Videos

by @unknown

https://www.youtube.com/watch?v=ynmw3S2mLHM

by @unknown

https://youtu.be/cg_aVnuvZxc

Original description

If you drop an item or block from your inventory, it despawns after 5 minutes.

However, if you drop 2 - 64 items (so they group up) items despawn only after 1 minute.

I was only able to reproduce this bug in the attached world. I also pruned the world to check if that fixes the bug, but no. Here is a video of a stack of blocks despawning in 1 minute.

I've attached the world save where this bug is present.

Linked issues

Attachments

Comments 5

Unable to reproduce in 16w33a. A stack of 64 despawned in exactly 5 minutes for me.

Anon, did you try it in the attached world or in another one? Also, were you able to reproduce it in 1.10.2?

Only occurs when throwing items from the creative inventory on the ground. Most likely intended.

Works as intended.

[media]

The ticket has been reopened on the basis that items dropped with Q while not in the inventory are not affected by this issue. Also, the code analysis above is not necessarily evidence for this being intended, as parts of it are contributed by the community in the deobfuscating process.

Andrey Zhukov

slicedlime

Confirmed

Entities

despawning, item, item-drops

Minecraft 1.10.2, 1.14.4, 19w41a, 19w42a

19w44a

Retrieved