After changing (name change, enchantment) items with full durability (only for items with durability!) in the anvil, items cannot interact with the world 1 time (you can not break the block, use it for its intended purpose).
Steps to reproduce:
- Place the anvil.
- Get any item that can break (with full durability).
- Modify an item with an anvil (rename or enchant).
- Try to break the block with an item / use it for its intended purpose.
When trying to break a block / use an item for its intended purpose - it will not break the block or perform other interaction (only 1 time after use in the anvil).
Once enchanted/renamed, items should interact correctly with the world the first time around.