You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DarthBoomerPlay edited this page Apr 13, 2020
·
1 revision
BannerAPI
This utility helps to work with banners.
Version Support: 1.8 - 1.15.1
publicvoidaddPattern(BannerPatternpattern) // add patternpublicvoidaddPattern(BannerPatternpattern, intindex)
publicvoidsetColor(DyeColorcolor) // set colorpublicDyeColorgetColor() // get colorpublicvoidremovePattern() // remove patternpublicvoidremovePattern(intlayer)
publicItemStackbuild() // get from the banner itemstack//// Example of usage://BannerAPIbanner = newBannerAPI(DyeColor.ORANGE);
BannerPatternpattern = newBannerPattern(PatternType.BRICKS, DyeColor.WHITE);
banner.addPattern(pattern);
ItemStackitem = banner.build();