mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-07-05 23:33:44 +00:00
50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "1873913113",
|
|
"x-format-version": "1.21.30",
|
|
"x-minecraft-version": "1.21.90-beta.3",
|
|
"definitions": {
|
|
"1531870811": {
|
|
"title": "struct SharedTypes::Legacy::ItemDescriptor",
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "minecraft:storage_item",
|
|
"description": "[EXPERIMENTAL] Storage Items can be used by other components to store other items within this item.",
|
|
"type": "object",
|
|
"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.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1531870811"
|
|
}
|
|
},
|
|
"banned_items": {
|
|
"description": "List of items that are not allowed in this Storage Item.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/1531870811"
|
|
}
|
|
},
|
|
"max_slots": {
|
|
"description": "The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64.",
|
|
"type": "integer",
|
|
"maximum": 64.0
|
|
}
|
|
}
|
|
} |