minecraft:storage_weight_modifier
Specifies the maximum weight limit that a storage item can hold
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
weight_in_storage_item | Integermin 0 | 4 | The weight of this item when inside another Storage Item. Default is 4. 0 means item is not allowed in another Storage Item. |
Example from the game files
This is how vanilla black_bundle uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:storage_weight_modifier": {
"weight_in_storage_item": 4
}
}Used by 17
Vanilla items with minecraft:storage_weight_modifier in their definition:
black_bundleblue_bundlebrown_bundlebundlecyan_bundlegray_bundlegreen_bundlelight_blue_bundlelight_gray_bundlelime_bundlemagenta_bundleorange_bundlepink_bundlepurple_bundlered_bundlewhite_bundleyellow_bundle