mojira.dev
MC-269062

Bundles with "Bundle Contents" component removed return after right clicking

Removing "Bundle Contents" from a bundle removes the GUI from the item's lore, however after a short amount of time, the GUI returns (the component itself).

 

Steps:

  1. Make a world with bundles and commands enabled

  2. Download the datapack with the item modifier that removes bundle_contents and add it to your world (don't forget to reload the world)

  3. Run the following command with bundle in hand

    /item modify entity @s weapon.mainhand test:empty_bundle

    (State: component is removed)

  4. Right click with the bundle(State: component is back)

{
    "function": "set_components",
    "components": {
        "!minecraft:bundle_contents": {}
    }
}

 

Attachments

Comments 4

It's strangely inconsistent, as it doesn't appear to happen to me much now, better keep on the radar how the issue is caused

found the issue, i'm going to update it

Please attach a datapack to reproduce this issue and the command(s) needed to reproduce the bug

I have added the datapack and the command in the steps.

AetherSword

gegy

Confirmed

Platform

Low

Data Packs

24w09a

24w10a

Retrieved