mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-08 15:07:06 +00:00
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"$id": "2418450159",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"3681664844": {
|
|
"title": "Identifier",
|
|
"type": "string"
|
|
},
|
|
"4121537914": {
|
|
"description": "menu_category contains the creative group name and category for this item.",
|
|
"properties": {
|
|
"category": {
|
|
"description": "Creative category where this item belongs. Defaults to \"none\".",
|
|
"enum": [
|
|
"construction",
|
|
"nature",
|
|
"equipment",
|
|
"items",
|
|
"none"
|
|
],
|
|
"title": "CreativeItemCategory",
|
|
"type": "string"
|
|
},
|
|
"group": {
|
|
"description": "The Creative Group that this item belongs to. Group name is limited to 256 characters. The name also must start with a namespace.",
|
|
"maxLength": 256,
|
|
"pattern": "^(?:.)+:(?:.)+$",
|
|
"type": "string",
|
|
"x-regex-flags": "ECMAScript,icase"
|
|
},
|
|
"is_hidden_in_commands": {
|
|
"description": "Determines whether or not this item can be used with commands. Defaults to false.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"title": "menu_category",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "Contains the required identifier for the item. May contain optional fields like menu_category.",
|
|
"properties": {
|
|
"identifier": {
|
|
"$ref": "#/definitions/3681664844",
|
|
"description": "Unique name for the item that must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item."
|
|
},
|
|
"menu_category": {
|
|
"$ref": "#/definitions/4121537914",
|
|
"description": "menu_category contains the creative group name and category for this item."
|
|
}
|
|
},
|
|
"required": [
|
|
"identifier"
|
|
],
|
|
"title": "description",
|
|
"type": "object",
|
|
"x-format-version": "1.21.110"
|
|
} |