ItemCategory
Documentation for the ItemCategory asset type.
Location
Item/Category/CreativeLibrary
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/ItemCategory.schema.json" Schema
Id
stringnull
Name
stringnull
Icon
stringnull
InfoDisplayMode
string
Order
integer
Children arraynull
Array items: ItemCategory
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "ItemCategory.json",
"title": "ItemCategory",
"description": "ItemCategory asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"Id": {
"type": [
"string",
"null"
]
},
"Name": {
"type": [
"string",
"null"
]
},
"Icon": {
"type": [
"string",
"null"
]
},
"InfoDisplayMode": {
"type": "string",
"title": "ItemGridInfoDisplayMode",
"enum": [
"Tooltip",
"Adjacent",
"None"
],
"default": "Tooltip"
},
"Order": {
"type": "integer",
"default": 0
},
"Children": {
"type": [
"array",
"null"
],
"items": {
"$ref": "ItemCategory.json#"
}
}
}
}