1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-30 17:02:50 +00:00
Files
2025-09-09 10:02:11 -07:00

59 lines
1.8 KiB
JSON

{
"$id": "120997796",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1531870811": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": {
"type": "string"
},
"type": "object"
}
],
"title": "Item Descriptor"
}
},
"description": "[EXPERIMENTAL] Storage Items can be used by other components to store other items within this item.",
"properties": {
"allow_nested_storage_items": {
"description": "Determines whether another Storage Item is allowed inside of this item. Default is true.",
"type": "boolean"
},
"allowed_items": {
"description": "List of items that are exclusively allowed in this Storage Item. If empty all items are allowed.",
"items": {
"$ref": "#/definitions/1531870811"
},
"type": "array"
},
"banned_items": {
"description": "List of items that are not allowed in this Storage Item.",
"items": {
"$ref": "#/definitions/1531870811"
},
"type": "array"
},
"max_slots": {
"description": "The maximum number of different item stacks. Maximum is 64. Default is 64.",
"maximum": 64,
"type": "integer"
},
"max_weight_limit": {
"description": "The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64.",
"maximum": 64,
"type": "integer"
},
"weight_in_storage_item": {
"description": "The weight of this item when inside another Storage Item. Default is 4. 0 means item is not allowed in another Storage Item.",
"minimum": 0,
"type": "integer"
}
},
"title": "minecraft:storage_item",
"type": "object",
"x-format-version": "1.21.30"
}