mojira.dev
MC-245816

"minecraft.used:minecraft.bundle" doesn't increase when packing or unpacking items within the inventory using bundles

The Bug:

When a player packs or unpacks items (within the inventory) using bundles, "minecraft.used:minecraft.bundle" doesn't increase.

Please note that this scoreboard objective correctly increases when items are emptied from bundles (outside of the inventory).

Steps to Reproduce:

  1. Create a scoreboard objective for tracking when you use a bundle and set it to display on the sidebar by using the commands provided below.

    /scoreboard objectives add UseBundle minecraft.used:minecraft.bundle
    /scoreboard objectives setdisplay sidebar UseBundle
  2. Obtain a bundle along with some items by using the commands provided below.

    /give @s minecraft:bundle
    /give @s minecraft:dirt 64
  3. Pack and unpack items (within the inventory) several times using the bundle.

  4. Take note as to whether or not "minecraft.used:minecraft.bundle" increases when packing or unpacking items using bundles.

Observed Behavior:

The scoreboard doesn't increase.

Expected Behavior:

The scoreboard would increase as the bundle is being used to pack/unpack items.

Linked issues

Attachments

Comments 5

Relates to MC-204337. Either the fix for that was not complete, or this is a feature request.

To be clear, you mean packing and unpacking in the inventory? Because you can also use a bundle by just using it outside of the inventory, which I would think this statistic would all be about.

With bundles, there are three ways to use/interact with them and these are to pack, unpack, and empty items. Emptying bundles is when you hold a filled bundle in your hand (outside of the inventory) and right-click. Packing bundles is when you place items inside of bundles (through the inventory) and unpacking bundles is when you take items out of bundles (through the inventory). Since similar reports regarding how statistics aren't tracked through the inventory (MC-231908) are considered as valid problems, this leads me to believe that minecraft.used:minecraft.bundle should increase when using bundles in the inventory.

Can confirm in 1.18.1

I can confirm in 1.18.2

Avoma

(Unassigned)

Confirmed

Gameplay

Low

Statistics

bundle

1.18.1, 22w03a, 22w05a, 22w06a, 1.18.2 Pre-release 1, ..., 1.19.3, 1.19.4, 1.20.1, 1.21, 1.21.4

Retrieved