BannerPatternLayersBuilder
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.BannerPatternLayersBuilder;Members
add(pattern as BannerPattern, color as DyeColor) as Builder
myBuilder.add(myBannerPattern, myDyeColor);Parameters:
pattern: BannerPattern Type: BannerPattern
Return Type:
BannerPatternLayersBuilder
add(layer as Layer) as Builder
myBuilder.add(myLayer);Parameters:
layer: BannerPatternLayersLayer Type: BannerPatternLayersLayer
Return Type:
BannerPatternLayersBuilder
addAll(layers as BannerPatternLayers) as Builder
myBuilder.addAll(myBannerPatternLayers);Parameters:
layers: BannerPatternLayers Type: BannerPatternLayers
Return Type:
BannerPatternLayersBuilder
build() as BannerPatternLayers
static of() as Builder