1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-21 20:46:28 +00:00
bedrock-samples/metadata/json_schemas/Storage Item v1.21.30.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

68 lines
2.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "120997796",
"definitions": {
"1531870811": {
"title": "struct SharedTypes::Legacy::ItemDescriptor",
"oneOf": [
{
"type": "string"
},
{
"title": "associative container",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Item Descriptor"
}
}
},
"title": "minecraft:storage_item v1.21.30",
"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": {
"title": "sequence container",
"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": {
"title": "sequence container",
"description": "List of items that are not allowed in this Storage Item.",
"type": "array",
"items": {
"$ref": "#/definitions/1531870811"
}
},
"max_slots": {
"description": "The maximum number of different item stacks. Maximum is 64. Default is 64.",
"type": "integer",
"maximum": 64.0
},
"max_weight_limit": {
"description": "The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64.",
"type": "integer",
"maximum": 64.0
},
"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.",
"type": "integer",
"minimum": 0.0
}
},
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Storage Item v1.21.30"
}
}