@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
122 lines • 5.38 kB
JSON
{
"fields": [
{
"id": "categories",
"title": "categories",
"description": "The categories we are adding groups to.",
"dataType": 15,
"subForm": {
"title": "Crafting Catalog Category",
"description": "Represents a collection of groups of items in a category..",
"fields": [
{
"id": "category_name",
"title": "enum SharedTypes_v1_21_60_CraftingCatalogItemCategory",
"description": "The category that the items will go to. This is restricted to construction, nature, equipment, or items.",
"dataType": 2
},
{
"id": "groups",
"title": "groups",
"description": "The groups that we are adding to a category.",
"dataType": 15,
"subForm": {
"title": "Crafting Catalog Group",
"description": "Represents a group of items. A group can be collapsible if it is provided with a group identifier, or added a set of loose items without an icon.",
"fields": [
{
"id": "group_identifier",
"title": "group_identifier",
"description": "Optional field to give an icon and name to a group. Otherwise the items are added as loose items.",
"dataType": 16,
"subForm": {
"title": "Crafting Catalog Group Icon",
"description": "The identifier of a group of items.",
"fields": [
{
"id": "name",
"title": "name",
"description": "A localization key representing the name of the group that starts with a namespace. The 'minecraft' namespace is reservered for the Vanilla game. Creating new group names starting with 'minecraft' run the risk of being overwritten in later updates.",
"dataType": 2,
"validity": [
{
"comparison": "pattern",
"value": "^(?:.)+:(?:.)+$"
}
]
},
{
"id": "icon",
"title": "icon",
"description": "The item or block that represents the group.",
"dataType": 2,
"alternates": [
{
"id": "icon",
"dataType": 16,
"readOnly": true,
"subForm": {
"title": "Icon",
"description": "Icon",
"fields": [
{
"id": "name",
"title": "name",
"description": "The name of an item or block. A namespace for the item is required. You can optionally provide an aux value for items that use it at the end. Example: namespace:my_item:1",
"dataType": 2,
"validity": [
{
"comparison": "pattern",
"value": "^(?:.)+:(?:.)+$"
}
]
}
]
}
}
]
}
]
}
},
{
"id": "items",
"title": "items",
"description": "The items to add to the group.",
"dataType": 2,
"alternates": [
{
"id": "items",
"dataType": 16,
"readOnly": true,
"subForm": {
"title": "Items",
"description": "Items",
"fields": [
{
"id": "name",
"title": "name",
"description": "The name of an item or block. A namespace for the item is required. You can optionally provide an aux value for items that use it at the end. Example: namespace:my_item:1",
"dataType": 2,
"validity": [
{
"comparison": "pattern",
"value": "^(?:.)+:(?:.)+$"
}
]
}
]
}
}
]
}
]
}
}
]
}
}
],
"description": "The root object for defining the crafting catalog",
"title": "Crafting Catalog Document Misc"
}