90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Tool Trims Mod

fabric-api

A fabric port of JoeFly's Tool Trims datapack. Check the project page for more details.

Making it a mod allows a few improvements:

  • Recipes are now done through the vanilla smithing table and crafting recipe, so the toolsmithing table no longer exists.
  • The trim templates show up in the creative inventory and recipe viewers like EMI or REI
  • Loot tables are injected into instead of overwritten

Trimming tool in vanilla smithing table
Trim templates in recipe viewer

Upgrading from the Datapack

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 toolsmithing tables look like toolsmithing tables before they are deleted.

You can use the command /tooltrims upgrade to upgrade the tool you are holding so it uses the code trim system instead of the datapack trim system. 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.

Compatability

Compatible with EMI (trimming recipes show up) and Enchancement (crossbow texture works correctly).

Future

For now I plan to support all versions the original datapack supports (currently 1.21-1.21.3), plus 1.20.1.

It is possible, although not promised, that in the future there will be trims for tridents and modded tools.


Please report issues on my repository and not to JoeFly.


Project members

ThePotatoArchivist

Developer

JoeFly

Texture Artist & Original Concept Author

Details

Licensed Multiple
Published 22 days ago
Updated 24 days ago