TrimPattern
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.TrimPattern;
Members
Getter
// TrimPattern.assetId as ResourceLocationmyTrimPattern.assetId
Return Type:
ResourceLocation
Getter
// TrimPattern.commandString as stringmyTrimPattern.commandString
Return Type:
string
copyWithStyle(material as TrimMaterial) as Component
myTrimPattern.copyWithStyle(myTrimMaterial);
Parameters:
material: TrimMaterial
Type: TrimMaterial
Return Type:
Component
Getter
// TrimPattern.decal as boolmyTrimPattern.decal
Return Type:
bool
Getter
// TrimPattern.registryName as ResourceLocationmyTrimPattern.registryName
Return Type:
ResourceLocation
Getter
// TrimPattern.templateItem as ItemDefinitionmyTrimPattern.templateItem
Return Type:
ItemDefinition