Minecraft:Use cooldown: Difference between revisions
More actions
Sync: new page from Minecraft |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{About|the mechanic used by certain items|the attack cooldown mechanic in {{JE}}|Attack cooldown|other uses|Cooldown}} | {{About|the mechanic used by certain items|the attack cooldown mechanic in {{MC/JE}}|Attack cooldown|other uses|Cooldown}} | ||
[[File:Use cooldown.gif|thumb|An example of an item being affected by the use cooldown.]] | [[File:Use cooldown.gif|thumb|An example of an item being affected by the use cooldown.]] | ||
The '''use cooldown''' (also known as '''recharge''', '''item cooldown''', or simply '''cooldown''') is a mechanic that delays {{ | The '''use cooldown''' (also known as '''recharge''', '''item cooldown''', or simply '''cooldown''') is a mechanic that delays {{MC/Control|using}} an item for a given time. It is represented by a transparent white bar that appears over the item in the hotbar and [[Minecraft:inventory]]. | ||
== Mechanic == | == Mechanic == | ||
For most items that are affected by it, the use cooldown triggers after using the item, and is represented by a transparent white bar that decreases in height as the cooldown nears the end of its duration. The use cooldown affects all instances of a given item type that a player has, not just the one that was used. For [[Minecraft:shield]]s specifically, the use cooldown activates when the shield has been disabled by an [[Minecraft:axe]]. For [[Minecraft:spear]]s in {{BE}} specifically, the use cooldown activates after performing a | For most items that are affected by it, the use cooldown triggers after using the item, and is represented by a transparent white bar that decreases in height as the cooldown nears the end of its duration. The use cooldown affects all instances of a given item type that a player has, not just the one that was used. For [[Minecraft:shield]]s specifically, the use cooldown activates when the shield has been disabled by an [[Minecraft:axe]]. For [[Minecraft:spear]]s in {{MC/BE}} specifically, the use cooldown activates after performing a jab attack. | ||
== Affected items == | == Affected items == | ||
The following is a list of items that have a use cooldown: | The following is a list of items that have a use cooldown: | ||
* {{ | * {{MC/Itemlink|Ender Pearl}} (1 second / 20 ticks) | ||
* {{ | * {{MC/Itemlink|Chorus Fruit}} (1 second / 20 ticks) | ||
* {{ | * {{MC/Itemlink|Ice Bomb}} (1 second / 20 ticks){{Only|Bedrock|Education}} | ||
* {{ | * {{MC/Itemlink|Wind Charge}} (1 second / 20 ticks) | ||
* {{ | * {{MC/Itemlink|Goat Horn}} (7 seconds / 140 ticks) | ||
* {{ | * {{MC/Itemlink|Shield}} (5 seconds / 100 ticks) | ||
* {{ | * {{MC/Itemlink|Copper Horn}} (7 seconds / 140 ticks) | ||
* {{ | * {{MC/Itemlink|Spear}}{{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Wooden Spear}} (0.65 seconds / 13 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Stone Spear}} (0.75 seconds / 15 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Copper Spear}} (0.85 seconds / 17 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Golden Spear}} (0.95 seconds / 19 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Iron Spear}} (0.95 seconds / 19 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Diamond Spear}} (1.05 seconds / 21 ticks){{Only|Bedrock}} | ||
** {{ | ** {{MC/Itemlink|Netherite Spear}} (1.15 seconds / 23 ticks){{Only|Bedrock}} | ||
* {{ | * {{MC/Itemlink|Snowball}} (0.2 seconds / 4 ticks){{MC/Upcoming|Java Combat Tests|nocat=1}} | ||
* {{ | * {{MC/Itemlink|Egg}} (0.2 seconds / 4 ticks){{MC/Upcoming|Java Combat Tests|nocat=1}} | ||
== Attribute == | == Attribute == | ||
In {{JE}}, the use cooldown of a given item is controlled by its | In {{MC/JE}}, the use cooldown of a given item is controlled by its use cooldown data component: | ||
<div class="treeview"> | <div class="treeview"> | ||
* {{ | * {{MC/Nbt|compound|components}}: Parent tag. | ||
{{:Data_component_format/use_cooldown}} | {{:Data_component_format/use_cooldown}} | ||
</div> | </div> | ||
| Line 38: | Line 38: | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|Java}} | |{{MC/HistoryLine|Java}} | ||
|{{HistoryLine||1.9|dev=15w34c|Added the use cooldown, currently only used by ender pearls, chorus fruit, and shields.}} | |{{MC/HistoryLine||1.9|dev=15w34c|Added the use cooldown, currently only used by ender pearls, chorus fruit, and shields.}} | ||
|{{HistoryLine||1.21.2|dev=24w34a|Made the <code>use_cooldown</code> component a | |{{MC/HistoryLine||1.21.2|dev=24w34a|Made the <code>use_cooldown</code> component a data component.}} | ||
|{{HistoryLine|foot}} | |{{MC/HistoryLine|foot}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{Navbox combat|general}} | {{MC/Navbox combat|general}} | ||
{{Navbox gameplay}} | {{MC/Navbox gameplay}} | ||
[[Category:Gameplay]] | [[Category:Gameplay]] | ||
fr:Temps de chargement d'utilisation | |||
pt:Tempo de uso | |||
zh:物品冷却 | |||
Latest revision as of 21:05, 9 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
The use cooldown (also known as recharge, item cooldown, or simply cooldown) is a mechanic that delays {{#vardefine: control | right click on mouse or left trigger on gamepad }}using an item for a given time. It is represented by a transparent white bar that appears over the item in the hotbar and Minecraft:inventory.
Mechanic
For most items that are affected by it, the use cooldown triggers after using the item, and is represented by a transparent white bar that decreases in height as the cooldown nears the end of its duration. The use cooldown affects all instances of a given item type that a player has, not just the one that was used. For Minecraft:shields specifically, the use cooldown activates when the shield has been disabled by an Minecraft:axe. For Minecraft:spears in Bedrock Edition specifically, the use cooldown activates after performing a jab attack.
Affected items
The following is a list of items that have a use cooldown:
- REDIRECT Template:ItemLink (1 second / 20 ticks)
- REDIRECT Template:ItemLink (1 second / 20 ticks)
- REDIRECT Template:ItemLink (1 second / 20 ticks)Template:Only
- REDIRECT Template:ItemLink (1 second / 20 ticks)
- REDIRECT Template:ItemLink (7 seconds / 140 ticks)
- REDIRECT Template:ItemLink (5 seconds / 100 ticks)
- REDIRECT Template:ItemLink (7 seconds / 140 ticks)
- REDIRECT Template:ItemLinkTemplate:Only
- REDIRECT Template:ItemLink (0.65 seconds / 13 ticks)Template:Only
- REDIRECT Template:ItemLink (0.75 seconds / 15 ticks)Template:Only
- REDIRECT Template:ItemLink (0.85 seconds / 17 ticks)Template:Only
- REDIRECT Template:ItemLink (0.95 seconds / 19 ticks)Template:Only
- REDIRECT Template:ItemLink (0.95 seconds / 19 ticks)Template:Only
- REDIRECT Template:ItemLink (1.05 seconds / 21 ticks)Template:Only
- REDIRECT Template:ItemLink (1.15 seconds / 23 ticks)Template:Only
- REDIRECT Template:ItemLink (0.2 seconds / 4 ticks){{#vardefine: $version | Java Combat Tests
}}{{#vardefine: $version2 |
}}<upcoming: Template:Version link & Template:Version link></upcoming: Template:Version link & Template:Version link>
- REDIRECT Template:ItemLink (0.2 seconds / 4 ticks){{#vardefine: $version | Java Combat Tests
}}{{#vardefine: $version2 |
}}<upcoming: Template:Version link & Template:Version link></upcoming: Template:Version link & Template:Version link>
Attribute
In Java Edition, the use cooldown of a given item is controlled by its use cooldown data component:
- Template:Nbt/sprite components: Parent tag.
History
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
fr:Temps de chargement d'utilisation pt:Tempo de uso zh:物品冷却