mojira.dev
MC-275789

Component use_cooldown does not apply to some items

Affected items:

  • Shields (being broken by axes)

  • Totems of Undying

  • Crossbows (goes on cooldown after the arrow is loaded instead of after being fired)

Steps to reproduce:

  1. Run

    /give @s shield[use_cooldown={seconds:0.001}]
  2. Summon a vindicator/piglin brute and let it attack you with its axe

Observed result:
The shield has its standard cooldown.

Expected result:
The shield has no cooldown.

Linked issues

Attachments

Comments 1

It seems to work correctly on tridents and firework rockets that are used when not launching them from the ground. Launching fireworks from the ground is covered in MC-275796.

zChenX

kingbdogz

1285597

Confirmed

Expansion B

Normal

Commands, Items

component, use_cooldown

24w34a

Retrieved