@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
55 lines • 1.59 kB
JSON
{
"fields": [
{
"id": "category",
"title": "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.",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/items/wind_charge.json": [
{
"path": "/minecraft:item/components/minecraft:cooldown/",
"content": "wind_charge"
}
]
}
},
{
"id": "duration",
"title": "duration",
"description": "The duration of time (in seconds) items with a matching category will spend cooling down before becoming usable again.",
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/items/wind_charge.json": [
{
"path": "/minecraft:item/components/minecraft:cooldown/",
"content": 0.5
}
]
}
}
],
"description": "The duration of time (in seconds) items with a matching category will spend cooling down before becoming usable again.",
"samples": {
"sample": [
{
"path": "sample",
"content": {
"category": "attack",
"duration": 0.2
}
}
],
"/vanilla/behavior_pack/items/wind_charge.json": [
{
"path": "/minecraft:item/components/minecraft:cooldown/",
"content": {
"category": "wind_charge",
"duration": 0.5
}
}
]
},
"title": "Cooldown",
"id": "minecraft:cooldown"
}