1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-08-07 15:02:00 +00:00
Files
Mike Ammerlaan c32ab2ac8e v1.21.100.6
2025-08-05 10:30:44 -07:00

23 lines
954 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "886176099",
"x-format-version": "1.20.50",
"x-minecraft-version": "1.21.100-beta.6",
"title": "minecraft:cooldown",
"description": "After you use an item, all items specified with the same `cool down category` setting becomes unusable for the duration specified by the 'cool down time' setting in this component.",
"type": "object",
"properties": {
"category": {
"description": "The type of cool down for this item. All items with a cool down component with the same category are put on cool down when one is used.",
"type": "string"
},
"duration": {
"description": "The duration of time (in seconds) items with a matching category will spend cooling down before becoming usable again.",
"type": "number"
}
},
"required": [
"category",
"duration"
]
}