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.
Linked issues
is duplicated by 1
Attachments
Comments 9
Can confirm in 20w51a. I used the following command to make this easier to reproduce:
/give @p shears{Damage:237}Can confirm this in 1.18 Pre-release 1. Here are some extra details regarding this problem.
The Bug:
Tools don't produce breaking sounds when destroyed whilst inside dispensers.
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.
Hi there!
I can confirm for release 1.16.2.