Skip to content
Electrolyte edited this page Jul 13, 2025 · 3 revisions

Adding Materials

To add a new tool/armor material (ex. Carbon), you can use the KubeJS startup event: 

GTCEuStartupEvents.registry("gtceu:material", e => {
    GTMaterials.Carbon.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(0, 1, 64, 1).build()) 
    //harvestSpeed, attackDamage, durability, harvestLevel

    GTMaterials.Carbon.setProperty(PropertyKey.ARMOR, ArmorProperty.Builder.of(10, [1, 2, 3, 4]).toughness(4.0).knockbackResistance(1.0).build()) 
    //durabilityMultiplier, [helmetProtection, chestplateProtection, leggingsProtection, bootsProtection]
    //Toughness & Knockback Resistance are optional.
})

Modifying Materials

  • If you do not want a GT material to have a Tinker's material counterpart, you can add it to the ignoredGTMaterials array in the config.
  • If you want to modify a materials properties, following the tinker's construct wiki, you can modify the material to your liking using json.

Clone this wiki locally