Datapacks can define what happens when an anvil lands on a particular block.
Updated for 1.18.2
A cumulative changelog can be found here
supersaiyansubtlety
Owner