Skip to content

Commit

Permalink
Adding menu_category to items
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Jan 14, 2024
1 parent 9cfbf9a commit 4a19fce
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions source/behavior/items/format/minecraft.item.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,38 @@
"description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.",
"$ref": "../../../general/item/identifier.json"
},
"category": {
"type": "string",
"default": "",
"description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",
"title": "Category",
"examples": ["Nature", "Equipment", "Construction", "Items"]
},
"is_experimental": {
"type": "boolean",
"default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "Is Experimental"
},
"menu_category": {
"type": "object",
"title": "Menu Category",
"description": "The Creative Category that includes the specified item.",
"additionalProperties": false,
"properties": {
"group": {
"type": "string",
"title": "Group",
"maxLength": 256,
"description": "The Creative Group that that includes the specified item. The group name is limited to 256 characters.",
"examples": ["itemGroup.name.blaze"]
},
"category": {
"type": "string",
"title": "Category",
"description": "The Creative Category that includes the specified item.",
"examples": ["equipment"]
},
"is_hidden_in_commands": {
"type": "boolean",
"default": false,
"title": "Is Hidden In Commands",
"description": "Determines whether or not this item can be used with commands. Commands can use items by default"
}
}
}
}
},
Expand Down

0 comments on commit 4a19fce

Please sign in to comment.