Materials (Silent Gear 4.1 ) - SilentChaos512/Silent-Gear GitHub Wiki
Materials are used to craft compound parts, such as tool heads, rods, and other parts. A single material often supports multiple part types. Materials are linked to items with ingredients, just like how items are specified in recipes. Any single item cannot be linked to multiple materials.
A material is valid for a given part type if it has a properties object assigned to that part type, even if the properties object is empty.
See also: Part Types
File Location
All material data files should be placed in data/my_namespace/silentgear_materials, where my_namespace is a namespace that you have chosen for your data pack or mod. All files in data/*/silentgear_materials will be considered as materials.
You should never use the silentgear namespace unless you are overriding existing materials!
Examples
Data packs are a vanilla Minecraft feature, so there is plenty of information and tutorials online. These examples should be more than enough to get you started, assuming you already know the basics of data packs from vanilla.
Built-in Files
Built-in data files can be found here on GitHub or in the mod JAR file.
Material data files: 26.1.x | 1.21.1
Specification
TODO