Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/cooldown.json

23 lines
765 B
JSON
Raw Normal View History

2022-06-07 20:42:18 +02:00
{
2022-07-20 21:25:32 +02:00
"$id": "blockception.minecraft.behavior.items.minecraft:cooldown",
2022-06-07 20:42:18 +02:00
"title": "Cooldown",
"description": "Cool down time for a component. After you use an item it becomes unusable for the duration specified by the `cool down time` setting in this component.",
"type": "object",
"additionalProperties": false,
"required": ["category", "duration"],
"properties": {
"category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" },
"duration": {
"description": "The duration of time this item will spend cooling down before becoming usable again.",
"title": "Duration",
"type": "number"
}
},
"examples": [
{
"category" : "attack",
"duration" : 0.2
}
]
2022-06-07 20:42:18 +02:00
}