Mojira Archive
MC-167908

When a dispenser uses up an item's durability, no breaking sound is played

The Bug

If a dispenser exhausts all of an item's durability and breaks it, a breaking sound should be played. This does not happen. Demonstrated with shears.

Steps to Reproduce

  • Summon some shears with one use left on them inside of a dispenser.
    /setblock ~3 ~ ~ minecraft:dispenser[facing=north]{Items:[{Count:1b,Slot:0b,id:"minecraft:shears",tag:{Damage:237}}]}
    
  • Summon a beehive with some honey in it nearby.
    /setblock ~3 ~ ~-1 minecraft:beehive[honey_level=5]
    
  • Obtain a lever, use it to activate the dispenser, and listen closely as you do this.
  • Take note as to whether or not tools produce breaking sounds when destroyed whilst inside dispensers.

Observed Behavior

Tools don't produce breaking sounds when destroyed whilst inside dispensers.

Expected Behavior

Tools would produce breaking sounds when destroyed whilst inside dispensers.