mojira.dev
MC-311236

The `block_transformer` component ignores the `use_cooldown` component

With the block_transformer item component, this can be set to consume/use the item upon successful operation. However, this item usage does not activate any use_cooldown component that’s present on the item. This is inconsistent with other items that get cooldown on use, such as ender pearls and snowballs.

Steps to Reproduce:

  1. Give yourself an item that has both A. the block_transformer component, use_cooldown component, and is stackable; and B. can utilize the block_transformer component properly (so no bone meal or fire charges) Ex: /give @s blaze_rod[minecraft:block_transformer=[{block_state_provider:{type:"simple_state_provider",state:{id:"gold_block"}},sound:"block.metal.place"}],minecraft:use_cooldown={"seconds":3}] 64

  2. Attempt to use the item onto a target block and have it’s operation be successful

  3. Observe the item stack within your hotbar.

Expected Results:

  • After the block is transformed the item enters a cooldown after being consumed.

Actual Results:

  • The item stack is used without any cooldown appearing despite the presence of the use_cooldown component on the item.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

miziragamez

emaeri

Confirmed

Platform EC

Normal

Items

26.3 Snapshot 9

26.3 Pre-Release 1

Retrieved