User Tools

Site Tools


items:item_components:cooldown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
items:item_components:cooldown [2024/04/19 13:27] – removed - external edit (Unknown date) 127.0.0.1items:item_components:cooldown [2024/04/19 13:27] (current) – ↷ Page moved from item_components:cooldown to items:item_components:cooldown errorcraft
Line 1: Line 1:
 +====== minecraft:cooldown======
 +The ''minecraft:cooldown'' item component disables the item for a given amount of ticks after using the item.
  
 +
 +===== Fields =====
 +^  Name  ^  Description  ^  Type  ^  Default Value  ^
 +| ''ticks'' | The number of ticks to disable the item for after using it. | A positive integer | |
 +
 +
 +===== Example =====
 +<code javascript>
 +{
 +  "ticks": 20
 +}
 +</code>