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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w10a
    • 24w09a
    • None
    • Confirmed
    • Data Packs
    • Low
    • Platform

      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": {}
          }
      } 

       

            gegy1000 [Mojang] Gegy
            AetherSword Aether Sword
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: