ArmorTrim
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.armortrim.ArmorTrim;Implements
Undocumented Interfaces
TooltipProvider
Members
hasPatternAndMaterial(pattern as TrimPattern, material as TrimMaterial) as bool
myArmorTrim.hasPatternAndMaterial(myTrimPattern, myTrimMaterial);Parameters:
pattern: TrimPattern  Type: TrimPattern   material: TrimMaterial  Type: TrimMaterial   
Return Type:
bool
innerTexture(material as ArmorMaterial) as ResourceLocation
myArmorTrim.innerTexture(myArmorMaterial);Parameters:
material: ArmorMaterial  Type: ArmorMaterial   
Return Type:
ResourceLocation
Getter
// ArmorTrim.material as TrimMaterialmyArmorTrim.material
Return Type:
TrimMaterial
static of(material as TrimMaterial, pattern as TrimPattern, showInTooltip as bool = true) as ArmorTrim
// ArmorTrim.of(material as TrimMaterial, pattern as TrimPattern, showInTooltip as bool = true) as ArmorTrim;ArmorTrim.of(myTrimMaterial, myTrimPattern, myBool);Parameters:
material: TrimMaterial  Type: TrimMaterial   pattern: TrimPattern  Type: TrimPattern   showInTooltip: bool (optional)  Type: bool  
Default Value: true 
Return Type:
ArmorTrim
outerTexture(material as ArmorMaterial) as ResourceLocation
myArmorTrim.outerTexture(myArmorMaterial);Parameters:
material: ArmorMaterial  Type: ArmorMaterial   
Return Type:
ResourceLocation
Getter
// ArmorTrim.pattern as TrimPatternmyArmorTrim.pattern
Return Type:
TrimPattern