HT Materials
by Hiiragi283
HT Materials is a Fabric library that gives tag-based material handling to mods that use the Conventional Tag format, on client and server.
What it does
A large share of Fabric mods use Conventional Tag naming, for example c:copper ingots for the copper ingot item. HT Materials automatically replaces those tags with its own Part Tag Format of its Material System, so c:copper ingots is read as part:ingot/copper. Existing tag JSON files and internal code do not need to be replaced for this to work.
The Material System splits items into two kinds of objects: HTMaterial, which represents materials such as Iron, Gold, Copper, Stone and Wood, and HTShape, which represents shapes such as Ingot, Nugget, Plate, Gear and Rod. Tags are composed from these two parts. Developers can reach the library through the HTMaterialsAPI.INSTANCE accessor and register extra material and shape data with an HTMaterialsAddon entrypoint declared in fabric.mod.json.
The mod requires Fabric API and Fabric Language Kotlin. Industrial Revolution and Roughly Enough Items (REI) are optional. The library is published for Fabric on 1.16.5 and 1.18.2 only, and the 2.0.0 build for 1.16.5 is archived and marked as an alpha release.
Key features
Tag format conversion
Conventional tags are rewritten into the Part Tag Format at load time, so one tag can describe both the material and the shape.
Material and shape objects
HTMaterial and HTShape objects describe each material and shape, letting tags be broken down and recombined by the Material System.
Fluid tag syncing
Only fluid tags are synced. Fluids are linked to Conventional Tags through the Material System.
Developer API entrypoint
Other mods can add materials and shapes through an HTMaterialsAddon entrypoint and read the library through HTMaterialsAPI.INSTANCE.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Optional 2
How it compares
Basic Materials is a Fabric mod for 1.16.4 – 1.16.5, released under the MIT License and open source, with a client and server environment. AutoTag is also Fabric, for 1.18.2 – 1.20.1, open source under the MIT License and running on client and server. Materials Lib covers 1.21 – 1.21.1 under the Apache License 2.0, so it does not overlap with the 1.16.5 – 1.18.2 range of HT Materials.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| HT Materials | Fabric | 1.16.5 – 1.18.2 | Client and server | 2024-02-24 |
| Basic Materials | Fabric | 1.16.4 – 1.16.5 | Client and server | 2021-02-26 |
| AutoTag | Fabric | 1.18.2 – 1.20.1 | Client and server | 2023-07-07 |
| Materials Lib | Fabric | 1.21 – 1.21.1 | Client and server | 2024-08-15 |
Questions
Does HT Materials need Fabric Language Kotlin?
Must the server have HT Materials installed?
Which game versions have HT Materials files?
Does Industrial Revolution work with HT Materials?
In the catalog
HT Materials is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 9,044 mods support Minecraft 1.18.2.
More from Hiiragi283
Similar mods
What the author says
This is a simple Minecraft mod for Fabric+1.16.5 that provides Material System and Part Tag Format The Material System was invented to handle Tags more generally by decomposing them into HTMaterial and HTShape. HTMaterial represents the material of objects: Iron, Gold, Copper, Stone, Wood,... HTShape represents the…
Official listing
- Modrinth page
- modrinth.com/mod/ht-materials
- Owner
- Hiiragi283
- Published
- 2023-12-07
- Updated on Modrinth
- 2024-02-24
- Facts verified
- 2026-10-15
