1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-30 21:41:20 +00:00
Files
2025-09-09 10:02:11 -07:00

22 lines
717 B
JSON

{
"$id": "886176099",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "After you use an item, all items with a \"minecraft:cooldown\" component with the same \"category\" become unusable for the amount of seconds specified in \"duration\".",
"properties": {
"category": {
"description": "All items with the same \"category\" are put on cooldown when one is used.",
"type": "string"
},
"duration": {
"description": "How long the item is on cooldown before being able to be used again.",
"type": "number"
}
},
"required": [
"category",
"duration"
],
"title": "minecraft:cooldown",
"type": "object",
"x-format-version": "1.20.50"
}