minecraft:storage_item
[EXPERIMENTAL] Storage Items can be used by other components to store other items within this item.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
max_slots | Integermax 64 | 64 | The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64. |
allow_nested_storage_items | Boolean | true | Determines whether another Storage Item is allowed inside of this item. Default is true. |
banned_items | List of text or object | [] | List of items that are not allowed in this Storage Item. |
allowed_items | List of text or object | [] | List of items that are exclusively allowed in this Storage Item. If empty all items are allowed. |
Example from the game files
This is how vanilla black_bundle uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:storage_item": {
"max_slots": 64,
"allow_nested_storage_items": true,
"banned_items": [
"minecraft:shulker_box",
"minecraft:undyed_shulker_box"
]
}
}Used by 17
Vanilla items with minecraft:storage_item in their definition:
black_bundleblue_bundlebrown_bundlebundlecyan_bundlegray_bundlegreen_bundlelight_blue_bundlelight_gray_bundlelime_bundlemagenta_bundleorange_bundlepink_bundlepurple_bundlered_bundlewhite_bundleyellow_bundle