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.
Implements
Undocumented Interfaces
TooltipProvider
Members
hasPatternAndMaterial(pattern as TrimPattern, material as TrimMaterial) as bool
Parameters:
pattern: TrimPattern
Type: TrimPattern
material: TrimMaterial
Type: TrimMaterial
Return Type:
bool
innerTexture(material as ArmorMaterial) as ResourceLocation
Parameters:
material: ArmorMaterial
Type: ArmorMaterial
Return Type:
ResourceLocation
Getter
Return Type:
TrimMaterial
static of(material as TrimMaterial, pattern as TrimPattern, showInTooltip as bool = true) as ArmorTrim
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
Parameters:
material: ArmorMaterial
Type: ArmorMaterial
Return Type:
ResourceLocation
Getter
Return Type:
TrimPattern
withTooltip(withTooltip as bool) as ArmorTrim
Parameters:
withTooltip: bool
Type: bool
Return Type:
ArmorTrim