The Bug:
The shoot_projectile dispense behavior deletes items that can't be shot instead of trying the next behavior.
Dispense behaviors are tried in order, and a behavior that can't handle an item lets the next one try, such as drop_item. However, the shoot_projectile dispense behavior deletes an item that isn't a projectile without shooting anything, so the next behavior is never tried, therefore introducing an inconsistency.
Steps to Reproduce:
Obtain stone that dispensers shoot or else drop by using the command provided below.
/give @s minecraft:stone[minecraft:dispense_behavior=[{type:"minecraft:shoot_projectile",offset:[0.0,0.1,0.0],scale:0.7,uncertainty:6.0,power:1.1},{type:"minecraft:drop_item"}]] 64Place down a dispenser and put the stone inside of it.
Activate the dispenser and observe if the stone is dropped.
Observed Behavior:
The shoot_projectile dispense behavior deletes items that can't be shot.
Expected Behavior:
The shoot_projectile dispense behavior would let the next behavior try, such as drop_item.