Skip to content

Item Cooldown

Entity Action Type.

Sets the cooldown of a specific item. (Does not operate on specific stacks).

Type ID: apugli:item_cooldown

Fields

Field Type Default Description
items Array of Identifiers optional The type of items to add a cooldown to if it is present in the inventory.
item_tags Array of Identifiers optional A tag of items to add a cooldown to if they are present in the inventory.
ticks Integer 20 The amount of ticks that the cooldown should be active for.

Example

"condition": {
    "items": [
        "minecraft:ender_pearl"
    ],
    "ticks": 20
}
This example sets the cooldown to use any Ender Pearl to 20 ticks/1 second.