Using creative items (such as minecraft:jigsaw) that have the minecraft:use_cooldown and minecraft:consumable Item Components will incorrectly trigger the item cooldown while attempting to place the block down in survival. This does not happen if minecraft:consumable is not added.
Tested command: /give @s jigsaw[minecraft:use_cooldown={seconds:4,cooldown_group:"bug:example"},minecraft:consumable={consume_seconds:1.6},minecraft:max_stack_size=64] 64
Test Steps:
- Run the test command
- Make sure to be in Survival
- Consume the test item while not facing any block (Should only start cooldown when consumed)
- Consume the test item while facing a block (Will start cooldown the moment Right-Click is pressed) (It should only start when consumed)
The cause is likely due to the way MC-311236 was fixed in 26.3 Pre-Release 1 as this bug only occurs in that version and 26.3 Pre-Release 2.
Attachments
Comments 2
I would ask to reconsider the Low priority.
Many datapacks rely on useless items to implement our own functionality on them. I such cases developers choose the Poisonous Potato, but in some cases, creative items like Jigsaw, Command Blocks, etc…
This regression breaks any datapacks that relied on Creative items for a “dummy” item.
Thank you for helping us improve Minecraft! We saved your files: