The Bug:
Recovery compasses can be crafted using lodestone compasses.
Steps to Reproduce:
Place down a lodestone and lock a compass onto it.
Obtain eight echo shards and place down a crafting table.
Open the crafting table and attempt to craft a recovery compass using the lodestone compass and eight echo shards.
Take note as to whether or not recovery compasses can be crafted using lodestone compasses.
Observed Behavior:
Recovery compasses can be crafted.
Expected Behavior:
Recovery compasses would only be able to be crafted using regular compasses and not lodestone compasses.
Caused by the fact the lodestone compass is a normal compass with NBT, and not a separate item. Recipes cannot check NBT input nor provide output (unless it is a special recipe, in which case the recipe book cannot display it).
The most simple fix is giving lodestone compasses a separate ID, which would also be in sync with bedrock editions. EDIT: for clairity, I meant in regards to how the lodestone compass has a different ID, not about it's usage in the recipe.