• • 6/21/26 10:16 am • 10 logs
- 8.6k views • 10 today
- save_alt 923 downloads
- Compatibility
- Minecraft 26.2
- Changes include
3
!! Does not work in creative mode !!
(for whatever reason the player.cursor slot behave strangely in creative)
This data pack make the bundles a little more convenient and usable by setting unstackable items to take only 16 slots of the bundle content instead of the whole capacity. Thus, allowing you to store up to 4 unstackable items in 1 bundle or any combination with other items. The only unstackable items that still take 64 are the Shulker Boxes. However bundle inside bundle still behave normally (take 4 slots + content).
So, how does this dark magic works ?
For regular players it's very easy as almost all the bundle's mechanics were preserved. When you have a bundle inside your inventory you can left click on it while holding any unstackable item in your cursor. No need for any item throwing on the ground (not that would work anyway).
For technical player who want some details, here is how it works:
Disclaimer:
The data pack was made, intended and tested for Minecraft Java Edition 26.2.
As items components were introduced in 1.20.5, there is high hopes that it would work when porting it to older versions. As Mojang makes changes to Datapacks (for the best), it become incrementally harder to stay compatible with all versions. I don't mind if people edit the datapack to make it work on other versions.
There is no proper way to remove the datapack as it would need to revert back the modifier applied on all unstackable items in the world (Only those you interacted with of course). If you delete the data pack, only newly created/dropped unstackables will take the full bundle capacity.
Please don't hesitate to give suggestions, good ideas are always welcome. Even if I think the data pack is finished as it is.
Enjoy your cubic adventure !!!
(for whatever reason the player.cursor slot behave strangely in creative)
This data pack make the bundles a little more convenient and usable by setting unstackable items to take only 16 slots of the bundle content instead of the whole capacity. Thus, allowing you to store up to 4 unstackable items in 1 bundle or any combination with other items. The only unstackable items that still take 64 are the Shulker Boxes. However bundle inside bundle still behave normally (take 4 slots + content).
So, how does this dark magic works ?
For regular players it's very easy as almost all the bundle's mechanics were preserved. When you have a bundle inside your inventory you can left click on it while holding any unstackable item in your cursor. No need for any item throwing on the ground (not that would work anyway).
For technical player who want some details, here is how it works:
Accidental discovery
So, I wanted to test the new item components and see if adding the bundle_contents component to a random item would make it behave like a bundle.
So I added the component while giving me an acacia boat (first item on the list), and then...
It didn't work, bruh. The acacia boat was not behaving as a bundle, what a shame.
But then, out of nowhere, I put the acacia boat in a (real) bundle, my eyes could not believe the scenery unveiling before me, it was not taking 64 slots but 4 + the stone blocks that were inside the bundle contents of the boat.
So if you try the following command the netherite_sword will take only 5 slots in a bundle:
/give @s minecraft:netherite_sword[minecraft:bundle_contents=[{id:"minecraft:stone", count:1b}]]
That sum up the how. My data pack simply apply an item modifier to an unstackable item when the player is holding it with the cursor while having a bundle in his inventory.
TL;DR:
You can control how much space an item take in a bundle by adding (to any item) the bundle_contents component with items inside.
The number of slot taken is 4 + the number of 64-stackable items inside the bundle_content.
So I added the component while giving me an acacia boat (first item on the list), and then...
It didn't work, bruh. The acacia boat was not behaving as a bundle, what a shame.
But then, out of nowhere, I put the acacia boat in a (real) bundle, my eyes could not believe the scenery unveiling before me, it was not taking 64 slots but 4 + the stone blocks that were inside the bundle contents of the boat.
So if you try the following command the netherite_sword will take only 5 slots in a bundle:
/give @s minecraft:netherite_sword[minecraft:bundle_contents=[{id:"minecraft:stone", count:1b}]]
That sum up the how. My data pack simply apply an item modifier to an unstackable item when the player is holding it with the cursor while having a bundle in his inventory.
TL;DR:
You can control how much space an item take in a bundle by adding (to any item) the bundle_contents component with items inside.
The number of slot taken is 4 + the number of 64-stackable items inside the bundle_content.
Disclaimer:
The data pack was made, intended and tested for Minecraft Java Edition 26.2.
As items components were introduced in 1.20.5, there is high hopes that it would work when porting it to older versions. As Mojang makes changes to Datapacks (for the best), it become incrementally harder to stay compatible with all versions. I don't mind if people edit the datapack to make it work on other versions.
There is no proper way to remove the datapack as it would need to revert back the modifier applied on all unstackable items in the world (Only those you interacted with of course). If you delete the data pack, only newly created/dropped unstackables will take the full bundle capacity.
Please don't hesitate to give suggestions, good ideas are always welcome. Even if I think the data pack is finished as it is.
Enjoy your cubic adventure !!!
10 Update Logs
Version 2.7 : by RedWay 06/21/2026 10:16:43 amJune 21 @ 2:16 pm UTC
Updated for Minecraft Java 26.2 only (Internal changes to predicates, previous versions are no longer supported)
Added exceptions item tag to avoid modifying bundles and shulker boxes
Added exceptions item tag to avoid modifying bundles and shulker boxes
LOAD MORE LOGS
More like this
6298055
119




Have something to say?
Not sure why you need to try a few times, it always worked first time when I test.
If you find why, let me know.
Btw example is written with a
You can easily make it work in 1.21.1 tho. Just change the datapack version number in the pack.mcmeta file using this link : minecraft.wiki/w/Data_pack#pack.mcmeta
I know you said you weren't going to port it but I changed the modpack to 1.21.1 and it is not working :(
You probably want to add a recipe if you want to craft it in survival. You can use the really great recipe generator by misode : https://misode.github.io/recipe/
Try it yourself and I will give you a working version later.
Cheers