Shield Thorns for Minecraft
This is my first published mod created without using MCreator, and I'm not a professional programmer.
As the name suggests, this modification allows the use of the "Thorns" enchantment on shields. You can apply this effect to a shield by using an enchanted book with thorns on an anvil. When a shield with this enchantment is used to block attacks, it has a chance to reflect damage back to the attacker.
This version of the mod is developed for Fabric 1.18.x. In my YouTube video I discuss the possibility of creating a version for Forge.
For Chinese users, a demonstration is also available on Bilibili.