ItemToolSpec
Documentation for the ItemToolSpec asset type.
Location
Item/Unarmed/Gathering
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/ItemToolSpec.schema.json" Schema
GatherType
stringnull
Power
number
Quality
integer
IsIncorrect
boolean
HitSoundLayer
stringnull
Sound to play in addition to the block breaking sound when hitting this block type.
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "ItemToolSpec.json",
"title": "ItemToolSpec",
"description": "ItemToolSpec asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"GatherType": {
"type": [
"string",
"null"
]
},
"Power": {
"type": "number",
"default": 0
},
"Quality": {
"type": "integer",
"default": 0
},
"IsIncorrect": {
"type": "boolean",
"default": false
},
"HitSoundLayer": {
"type": [
"string",
"null"
],
"description": "Sound to play in addition to the block breaking sound when hitting this block type."
}
}
}