The Bug:
Dispensers can till dirt from below using the transform_block dispense behavior, unlike players.
Players can't till dirt by using hoes on its bottom side. However, dispensers facing up can till the dirt above them by using hoes with the transform_block dispense behavior, therefore introducing an inconsistency.
Steps to Reproduce:
Obtain a hoe that tills blocks when dispensed by using the command provided below.
/give @s minecraft:iron_hoe[minecraft:dispense_behavior=[{type:"minecraft:transform_block",transformer:"minecraft:hoe"}]]Place down a dispenser facing up, place down a dirt block on top of it, and put the hoe inside of the dispenser.
Activate the dispenser and observe if the dirt block is tilled into farmland.
Observed Behavior:
Dispensers can till dirt from below, unlike players.
Expected Behavior:
Dispensers would not be able to till dirt from below, just like players.