mojira.dev
MC-275837

The use_cooldown component uses field cooldownGroup instead of cooldown_group

The name for the "cooldown group" does not follow the usual snake_case format, and is different to what is written in the changelog.

Steps to Reproduce:

Run these commands to give yourself 2 goat horns with some unique cooldown group attempted to be applied, and another with its default cooldown group.

give @s goat_horn[use_cooldown={seconds:1,cooldown_group:"custom"},item_name='"cooldown_group"']

give @s goat_horn[use_cooldown={seconds:1,cooldownGroup:"custom"},item_name='"cooldownGroup"']

give @s goat_horn
{\code}

Play each one.

Observed Result:

  • When playing either the normal Goat Horn or the "cooldown_group" goat horn, both have cooldowns applied to them at the same time.

  • When playing the "cooldownGroup" goat horn, only that one has its cooldown applied.

Expected Result:

  • When playing either the normal Goat Horn or the "cooldownGroup" goat horn, both have cooldowns applied to them at the same time.

  • When playing the "cooldown_group" goat horn, only that one has its cooldown applied.

The command that uses cooldown_group should work and the command that uses cooldownGroup should not.

Linked issues

Comments 1

DorkOrc

kingbdogz

1287075

Confirmed

Expansion B

Important

Commands

24w34a

24w35a

Retrieved