Mojira Archive
MC-275801

Use cooldown triggers without item consumption

The new "use_cooldown" component currently triggers when letting go of right-click after holding or clicking right-click on an item. However, this causes a scenario where Chorus Fruit receives a cooldown even if not fully consumed.

Quote from kingbdogz:
"I would say the best solution to this is use_cooldown having a field for requiring stack decrease or completion of use"
https://discord.com/channels/154777837382008833/593812273164976166/1275884581165334671 (Minecraft Commands Discord Server)

Note:
Currently, the cooldown is not applied if you hold right-click and swap away from the item. So if the behaviour is given an optional toggle, this is probably something that should be changed.

Fixed

SilicatYT

[Mojang] Brandon Pearce

2024-08-21, 06:36 PM

2024-08-27, 09:35 PM

2024-08-27, 09:35 PM

3

3

Confirmed

Normal

1287088

Expansion B

Items

24w34a

24w35a