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
Gets the description of the BannerPatternLayers.Layer.script.zs
// Layer.description as MutableComponentmyLayer.description
Return Type:
MutableComponent
static of(pattern as BannerPattern, color as DyeColor) as Layer
Creates a new BannerPatternLayers.Layer.script.zs
Returns: The new BannerPatternLayers.Layer.
BannerPatternLayersLayer.of(myBannerPattern, myDyeColor);
Parameters:
pattern: BannerPattern
Type: BannerPattern
- The BannerPattern
to create the BannerPatternLayers.Layer with.
Return Type:
BannerPatternLayersLayer
Getter
Gets the script.zs
BannerPattern
of the BannerPatternLayers.Layer.// Layer.pattern as BannerPatternmyLayer.pattern
Return Type:
BannerPattern