{
  "fields": [
    {
      "id": "max_slots",
      "title": "max_slots",
      "description": "The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64.",
      "dataType": 0,
      "validity": [
        {
          "comparison": "<=",
          "value": 64
        }
      ],
      "samples": {
        "/vanilla/behavior_pack/items/black_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 64
          }
        ],
        "/vanilla/behavior_pack/items/blue_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 64
          }
        ]
      }
    },
    {
      "id": "allow_nested_storage_items",
      "title": "allow_nested_storage_items",
      "description": "Determines whether another Storage Item is allowed inside of this item. Default is true.",
      "dataType": 1,
      "samples": {
        "/vanilla/behavior_pack/items/black_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": true
          }
        ],
        "/vanilla/behavior_pack/items/blue_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": true
          }
        ]
      }
    },
    {
      "id": "banned_items",
      "title": "banned_items",
      "description": "List of items that are not allowed in this Storage Item.",
      "dataType": 2,
      "alternates": [
        {
          "id": "banned_items",
          "dataType": 24
        }
      ],
      "samples": {
        "/vanilla/behavior_pack/items/black_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": [
              "minecraft:shulker_box",
              "minecraft:undyed_shulker_box"
            ]
          }
        ],
        "/vanilla/behavior_pack/items/blue_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": [
              "minecraft:shulker_box",
              "minecraft:undyed_shulker_box"
            ]
          }
        ]
      }
    },
    {
      "id": "allowed_items",
      "title": "allowed_items",
      "description": "List of items that are exclusively allowed in this Storage Item. If empty all items are allowed.",
      "dataType": 2,
      "alternates": [
        {
          "id": "allowed_items",
          "dataType": 24
        }
      ]
    },
    {
      "id": "max_weight_limit",
      "title": "Max Weight Limit",
      "dataType": 7,
      "samples": {
        "/vanilla/behavior_pack/items/black_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 64
          }
        ],
        "/vanilla/behavior_pack/items/blue_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 64
          }
        ]
      }
    },
    {
      "id": "weight_in_storage_item",
      "title": "Weight In Storage Item",
      "dataType": 7,
      "samples": {
        "/vanilla/behavior_pack/items/black_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 4
          }
        ],
        "/vanilla/behavior_pack/items/blue_bundle.json": [
          {
            "path": "/minecraft:item/components/minecraft:storage_item/",
            "content": 4
          }
        ]
      }
    }
  ],
  "description": "Enables an item to store data of the dynamic container associated with it. A dynamic container is a container for storing items that is linked to an item instead of a block or an entity.",
  "note": "While this component can be defined on its own, to be able to interact with the item's storage container the item must have a `minecraft:bundle_interaction` item component defined.",
  "title": "Storage Item",
  "samples": {
    "/vanilla/behavior_pack/items/black_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/blue_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/brown_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/cyan_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/gray_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/green_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/light_blue_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/light_gray_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/lime_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/magenta_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/orange_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/pink_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/purple_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/red_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/white_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/items/yellow_bundle.json": [
      {
        "path": "/minecraft:item/components/minecraft:storage_item/",
        "content": {
          "max_slots": 64,
          "max_weight_limit": 64,
          "weight_in_storage_item": 4,
          "allow_nested_storage_items": true,
          "banned_items": [
            "minecraft:shulker_box",
            "minecraft:undyed_shulker_box"
          ]
        }
      }
    ]
  },
  "id": "minecraft:storage_item"
}