
Fabric port of JoeFly's Tool Trims
A fabric port of JoeFly's Tool Trims datapack. Check the project page for more details.
Making it a mod allows a few improvements:



The mod contains backwards compatability mechanics for the datapack.
First, you should remove the datapack, as the mod and datapack are not intended to be used in tandem (It doesn't matter if you remove the datapack before or after installing the mod).
If it detects the datapack was previously used, it will enable the tooltrims_deleteToolsmithingTable gamerule, which destroys smithing tables within 6 blocks of players and drops its ingredients (2 copper and 4 planks). This can be reversed using /gamerule tooltrims_deleteToolsmithingTable false. You can also enable the legacy resource pack, which makes templates and toolsmithing tables look right before they are upgraded or deleted.
You can use the command /tooltrims migrate to migrate the tool or template you are holding so it uses the modded trim system instead of the datapack trim system. Templates from the datapack cannot be used in the smithing table until you upgrade them. For tools, the difference is only noticeable if you look at the NBT/component data or if you try to re-trim the tool, in which case both the old and new trims will show up in the tooltip.
If you want to revert back to using the datapack, install the datapack at the same time as the mod (ignoring the warning message), enable the legacy resource pack, and use the command /tooltrims demigrate to demigrate your tool or template. Once you have demigrated all your items, uninstall the mod and install the normal tool trims resourcepack.
Compatible with EMI (trimming recipes show up) and Enchancement (crossbow texture works correctly). Currently incompatible with Trimmable Tools.
The Enchancement compat textures were created by doctor4t and cybercat5555 for the mod Enchancement, and were edited and used with permission.
All other textures were created or otherwise owned by JoeFly and used with permission.
For now I support the latest version of Minecraft (currently 1.21.11) and its corresponding hotfix versions, plus 1.21.1. All other versions are unsupported. All issues pertaining to unsupported versions will not be addressed.
It is possible, although not promised, that in the future there will be trims for modded tools.
Please report issues on my repository and not to JoeFly.