This is a simple Minecraft mod for Fabric+1.16.5 that provides Material System and its usages
The Material System was invented to handle Items and Tags more generally by decomposing them into HTMaterial
and HTShape.
- Represents the material of objects: Iron, Gold, Copper, Stone, Wood, ...
- Retrieved from
HTMaterialsAPI.INSTANCE.getMaterialRegistry().get(HTMaterialKey)- Call
HTMaterial.empty(HTMaterialKey)then returns empty material, which only has empty parameters (Not Null !!)
- Call
- Has several parameters
- Composition: Provides its components, color, formula, and molar mass
- Flags: Collection of flags
- Properties: Be able to hold any objects, like Vanilla's
Component - Type: Determines a model for material items and default shape of the material
- Represents the shape of objects: Ingot, Nugget, Plate, Gear, Rod, ...
- Retrieved from
HTMaterialsAPI.INSTANCE.getShapeRegistry().get(String)or callnew HTShape(String) - In contrast to
HTMaterial, has only one parametername - Provides
IdentifierorTag<Item>based on its name and givenHTMaterialKey
- Material System is used not only grouping existing items/blocks/fluids but also generate them
- Material Items are non-functional, but useful for recipe ingredients
- There are two default types by default
- Storage Block
- Supports 2x2 and 3x3 format
- Ore
- No world generation
- Drops
Raw XX Chunk(Fortune and Silk Touch is valid)- 1x Metal
Raw Chunkare smelt into 1xXX IngotbyFurnace - 1x Gem
Raw Chunkare polished into 1xXX GembyGrinding Stone - 1x Any
Raw Chunkare pulverized into 2xXX Dustby mod compat
- 1x Metal
- Storage Block
- By default, Material Fluids are Virtual
- Cannot place in world and has no buckets
- Like
Forge Fluid
- Crafted from 1x
Iron Ingotand 1xBook - Converts input item into others with the same
HTMaterialandHTShape
- Crafted from 6x
#minecraft:planksand 3xMaterial Dictionary - Converts inserted item by right-click or using
Hopper/Pipes, then drops the result in front of bookshelf
- Disabled by default; Enabled from config
- Converts ALL items player picked
- Add new entrypoint
ht_materialsinfabric.mod.json - Implement HTMaterialsPlugin
- @Ko_no ... Translator (since Ragi Materials)
- @turtton ... Refined material system (since Ragi Materials)
- @toliner ... Helped to import codes in my repository to Robustum's repository
- Many people who helped me learn modding







