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 Copyimport crafttweaker.api.block.entity.BannerPatternLayersBuilder;
Static Methods
Link to static-methods
Name: of
Return Type: BannerPatternLayersBuilder
ZenScript Copy// BannerPatternLayersBuilder.of() as BannerPatternLayersBuilder
BannerPatternLayersBuilder.of();
Methods
Link to methods
Name: add
Return Type: BannerPatternLayersBuilder
ZenScript CopyBannerPatternLayersBuilder.add(layer as BannerPatternLayersLayer) as BannerPatternLayersBuilder
Parameter | Type |
---|---|
Parameter layer | Type BannerPatternLayersLayer |
Name: add
Return Type: BannerPatternLayersBuilder
ZenScript CopyBannerPatternLayersBuilder.add(pattern as BannerPattern, color as DyeColor) as BannerPatternLayersBuilder
Parameter | Type |
---|---|
Parameter pattern | Type BannerPattern |
Parameter color | Type DyeColor |
Name: addAll
Return Type: BannerPatternLayersBuilder
ZenScript CopyBannerPatternLayersBuilder.addAll(layers as BannerPatternLayers) as BannerPatternLayersBuilder
Parameter | Type |
---|---|
Parameter layers | Type BannerPatternLayers |
Name: build
Return Type: BannerPatternLayers
ZenScript Copy// BannerPatternLayersBuilder.build() as BannerPatternLayers
myBannerPatternLayersBuilder.build();