BannerPatternLayersLayer
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.block.entity.BannerPatternLayersLayer;
Members
Getter
// Layer.description as MutableComponentmyLayer.description
Return Type:
MutableComponent
static of(pattern as BannerPattern, color as DyeColor) as Layer
BannerPatternLayersLayer.of(myBannerPattern, myDyeColor);
Parameters:
pattern: BannerPattern
Type: BannerPattern
Return Type:
BannerPatternLayersLayer
Getter
// Layer.pattern as BannerPatternmyLayer.pattern
Return Type:
BannerPattern