BannerPatternLayersBuilder

Link to bannerpatternlayersbuilder

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.block.entity.BannerPatternLayersBuilder;

Name: of

Return Type: BannerPatternLayersBuilder

ZenScript
Copy
// BannerPatternLayersBuilder.of() as BannerPatternLayersBuilder

BannerPatternLayersBuilder.of();

Name: add

Return Type: BannerPatternLayersBuilder

ZenScript
Copy
BannerPatternLayersBuilder.add(layer as BannerPatternLayersLayer) as BannerPatternLayersBuilder
ParameterType
Parameter
layer
Type
BannerPatternLayersLayer

Name: add

Return Type: BannerPatternLayersBuilder

ZenScript
Copy
BannerPatternLayersBuilder.add(pattern as BannerPattern, color as invalid) as BannerPatternLayersBuilder
ParameterType
Parameter
pattern
Type
BannerPattern
Parameter
color
Type
invalid

Name: addAll

Return Type: BannerPatternLayersBuilder

ZenScript
Copy
BannerPatternLayersBuilder.addAll(layers as BannerPatternLayers) as BannerPatternLayersBuilder
ParameterType
Parameter
layers
Type
BannerPatternLayers

Name: build

Return Type: BannerPatternLayers

ZenScript
Copy
// BannerPatternLayersBuilder.build() as BannerPatternLayers

myBannerPatternLayersBuilder.build();