HT Materials
This is a simple Minecraft mod for Fabric+1.16.5 that provides Material System and Part Tag Format
Material System
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 shape of objects: Ingot, Nugget, Plate, Gear, Rod, ...
Part Tag
Many Fabric mods follows Conventional Tag
format such as c:copper_ingots
. This mod automatically replaces these
tags into Part
Tag Format by Material System. For example, c:copper_ingots
will be converted into part:ingot/copper
. You don't
need to replace existing tags in json files or internal codes!
Fluid Unification
HT Materials can sync not only tags but also fluids! After the flattening, fluid became vanilla feature and has been managed with Identifier: namespace and path. This destructive change divided fluid with same name and different namespace. Based on the Material System, there fluids are linked to Conventional Tags.
How to create Addon
- Add new entrypoint
ht_materials
infabric.mod.json
- Implement io.github.hiiragi283.api.HTMaterialsAddon
Example
API
- Accessible HT-Materials' API via HTMaterialsAPI.INSTANCE