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.
Members
Getter
Gets the asset ID of the trim pattern.
Return Type:
ResourceLocation
Getter
Gets the command string of the trim pattern.
Return Type:
string
copyWithStyle(material as TrimMaterial) as Component
Copies the trim pattern's description with a given material's style.
Returns: The new trim pattern.
Parameters:
Return Type:
Component
Getter
Gets whether the trim pattern is a decal.
Return Type:
bool
Getter
Gets the description of the trim pattern.
Return Type:
Component
Getter
Gets the registry name of the trim pattern.
Return Type:
ResourceLocation
Getter
Gets the template item of the trim pattern.
Return Type:
ItemDefinition