Get the files on 9Minecraft
Pewter allows users to define their own
Tinkers' Construct materials using JSON files. This is useful for adding support for mods not natively covered by Pewter.
JSON Structure
To add a custom material, create a JSON file in config/pewter/materials/. The file should follow this structure:
{
"name": "example_material",
"color": "#FFFFFF",
"craftable": true,
"castable": false,
"stats": {
"head": [200, 5.0, 4.0, 2],
"handle": [0.9, 50],
"extra": [50]
},
"traits": ["sharp", "dense"]
}
Properties
- name: The internal name of the material.
- color: The hex color code for the tool parts.
- craftable: If true, parts can be made in the Part Builder.
- castable: If true, parts can be made in the Smeltery Casting Table.
- stats: Defines Durability, Speed, Attack, and Harvest Level for the Head; Modifier and Durability for the Handle; and Durability for the Extra part.
- traits: A list of
Tinkers' Construct trait IDs to apply to the material.












