There was an error while loading. Please reload this page.
Early draft of documenting the CraftTweaker integration.
Example script:
val stone = <conmat:stone> This grabs the material "stone", change stone to any material you want to edit
val stone = <conmat:stone>
stone.durabilityCore=99 Sets the durability factor for the "core" part of the stone material to 99
stone.durabilityCore=99
stone.durabilityPlates=99 ^Same as above for the "plates" part
stone.durabilityPlates=99
stone.durabilityTrim=99 ^Same as above for the "trim" part
stone.durabilityTrim=99
stone.modifier=99 Sets the durability modifier for the "plates" part to 99
stone.modifier=99
stone.defense=20 Sets the total armor value for a set of armor pieces using the material to 20
stone.defense=20
stone.toughness=99 Sets the toughness for the "plates" part to 99
stone.toughness=99