Updated banner layers authored by Phillip's avatar Phillip
Banner Layers
=============
![image](uploads/204528492902aa041447fe90880071d8/image.png) ![image](uploads/204528492902aa041447fe90880071d8/image.png)
To make complex banner items in MythicMobs, you can use the following syntax. There is no hard limit placed by MythicMobs on the number of banner layers you can use and you can go past the vanilla maximum of 6 layers set by Minecraft using this. However going past 6 layers may cause unusual behavior and/or lag. To make complex banner items in MythicMobs, you can use the following syntax.
There is no hard limit placed by MythicMobs on the number of banner layers you can use, and you can go past the vanilla maximum of 6 layers set by Minecraft using this.
However, going past 6 layers may cause unusual behavior and/or lag.
Banner layers are also applicable to shields. Banner layers are also applicable to shields.
Syntax Syntax
------ ------
``` ```yml
Banner: Banner:
Id: <banner/shield> Id: <banner/shield>
#For Banners, the base color is set by the item ID #For Banners, the base color is set by the item ID
BannerLayers: BannerLayers:
- <color> <pattern> - <color> <pattern>
- <color> <pattern> - <color> <pattern>
...@@ -20,6 +19,9 @@ Banner: ...@@ -20,6 +19,9 @@ Banner:
Patterns Patterns
-------- --------
A list of available [patterns](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html) can be found on the spigot javadocs.
<!--
| **Patterns** | | | **Patterns** | |
|--------------------------|-----------------------| |--------------------------|-----------------------|
| BASE | SQUARE\_BOTTOM\_LEFT | | BASE | SQUARE\_BOTTOM\_LEFT |
...@@ -43,13 +45,14 @@ Patterns ...@@ -43,13 +45,14 @@ Patterns
| RHOMBUS\_MIDDLE | BRICKS | | RHOMBUS\_MIDDLE | BRICKS |
| SKULL | GLOBE | | SKULL | GLOBE |
| PIGLIN | | | PIGLIN | |
-->
Examples Examples
-------- --------
``` ```yml
SkeletonKingBannerShield: SkeletonKingBannerShield:
Id: shield Id: shield
Display: '&4Skeleton King<&sq>s Banner' Display: <dark_red>Skeleton King's Banner</dark_red>
BannerLayers: BannerLayers:
- RED BASE - RED BASE
- WHITE CURLY_BORDER - WHITE CURLY_BORDER
...@@ -59,10 +62,10 @@ SkeletonKingBannerShield: ...@@ -59,10 +62,10 @@ SkeletonKingBannerShield:
- YELLOW STRIPE_TOP - YELLOW STRIPE_TOP
- BLACK TRIANGLES_TOP - BLACK TRIANGLES_TOP
``` ```
``` ```yml
SkeletonKingBanner: SkeletonKingBanner:
Id: orange_banner Id: orange_banner
Display: '&4Skeleton King<&sq>s Banner' Display: <dark_red>Skeleton King's Banner</dark_red>
BannerLayers: BannerLayers:
- RED BASE - RED BASE
- WHITE CURLY_BORDER - WHITE CURLY_BORDER
... ...
......