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:
- Make a world with bundles and commands enabled
- Download the datapack with the item modifier that removes bundle_contents and add it to your world (don't forget to reload the world)
- Run the following command with bundle in hand
/item modify entity @s weapon.mainhand test:empty_bundle
(State: component is removed)
- Right click with the bundle(State: component is back)
{
"function": "set_components",
"components": {
"!minecraft:bundle_contents": {}
}
}
2024-03-03, 11:15 AM
2024-03-06, 10:03 AM
2024-03-06, 10:03 AM
2
3