items:item_components:cooldown
Table of Contents
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
{ "ticks": 20 }
items/item_components/cooldown.txt · Last modified: 2024/04/19 15:27 by errorcraft