BannerPatternLayers
Link to bannerpatternlayers
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.BannerPatternLayers;
Extending Record
Link to extending-record
BannerPatternLayers extends Record. That means all methods available in Record are also available in BannerPatternLayers
Static Methods
Link to static-methods
Name: of
Return Type: BannerPatternLayers
ZenScript CopyBannerPatternLayers.of(layers as stdlib.List<BannerPatternLayersLayer>) as BannerPatternLayers
Parameter | Type |
---|---|
Parameter layers | Type stdlib.List<BannerPatternLayersLayer> |
Methods
Link to methods
Name: removeLast
Return Type: BannerPatternLayers
ZenScript Copy// BannerPatternLayers.removeLast() as BannerPatternLayers
myBannerPatternLayers.removeLast();
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name layers | Type stdlib.List<BannerPatternLayersLayer> | Has Getter true | Has Setter false |