Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269146

Items released from destroyed bundles and shulker boxes do not inherit pickup delay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w10a
    • None
    • Confirmed
    • Items

      In most cases, an item entity has an associated pickup delay; this value is usually 40 (for players or other entities dropping and item) or 20 (for most other cases). However, one scenario in which an item entity has no pickup delay is when an item entity is spawned from the destruction of another item entity. In this instance, the contents of the destroyed item entity can be picked up immediately even if the original item entity still had a pickup delay.

      I believe this behavior is inconsistent with other instances of item entities being created and that these item entities should either have a new pickup delay (such as 20 or 40) or inherit the current pickup delay from the item entity being destroyed.

      The gameplay impact of this issue is that players can bypass pickup delay using the destruction of bundles and shulker boxes, which I believe to be an oversight. In addition, other instances of item entities being created without a pickup delay have been considered bugs, such as MC-260197.

      Steps to reproduce

      1. Obtain bundles containing a fireproof item: /give @s bundle[bundle_contents=[{id:netherite_ingot\}]] 2.
      2. Place fire down on netherrack so that you can destroy the bundle.
      3. With your first bundle, right-click facing the fire so that the contents of the bundle are released into the fire.
      4. Observe that the netherite ingot returns to the inventory after about 2 seconds.
      5. With your second bundle, drop the entire bundle into the fire.
      6. Observe that the netherite ingot returns to the inventory immediately.

            Unassigned Unassigned
            haykam haykam
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: