This Project is licensed under GNU GPLv3.
(C) DiamondDev, 2023.
Inspired by (and assisted by the code of) Benjamin Norton's All The Trims. This project would not have been possible without it, so thank you!
This project was orignally a fork of All the Trims, until I realized I did not need most of the things in that mod, and I realised what I did need I was better off writing myself. All the Trims was heavily used as a reference for some features, however. Some code may appear very similar, as the base concept of what All the Trims does is similar to what Simple Trims does for material types.
To embed SimpleTrims in your mod (JiJ'd):
repositories {
maven { url "https://jitpack.io" } // Fetch from jitpack
}
repositories {
include(modImplementation("com.github.diamonddevv:simple-trims:${project.simple_trims_version}"));
}
simple_trims_version=<Insert version you wish to use here!>
Here be dragons
- There are a parts of this mod incomplete:
- Item Model Trim Tinting
- I can't figure out how to make this dynamic. If anyone knows how to add a texture to a BakedModel or something, please open a pull request.
- For now, items using simple trim materials are displayed in inventories as not having a trim at all. The tooltip remains, however.
- Simple Armor Trim Templates
- Item Model Trim Tinting
- Simplifies the process of adding a new trim material or pattern, in contrast to the original project adding support for all items
- Makes all armor eligible for trims, including modded armor. (This feature is functionally identical to that of All The Trims)
- Works parallel to vanilla's system
- Once the system is functional, I will be creating a wiki on how to use this system.
- Vanilla Packs for armor trims should still work.
- Benjamin Norton for their mod All the Trims, of which this is heavily inspired and referenced from.
- ManuelXXVI for their Emissive Trim Shader, of which they kindly let me implement into this mod.