Banner

Banners are tall decorative blocks, featuring a field that is highly customizable using dyes and banner patterns.
== Obtaining ==
=== Breaking ===
Banners can be broken with or without a tool, but an axe is fastest.
A banner also breaks and drops itself as an item if the block the banner is attached to is moved, removed, or destroyed.
=== Natural generation ===
Name 	Location 	Appearance	Design
Magenta Banner 	Outside of end cities. 	 	Magenta Banner
* Black Inverted Chevron
* Black Chevron
Gray Banner 	In banner room in woodland mansions. 	 	Gray Banner
Light Gray Banner	In master bedroom in woodland mansions. 	 	Light Gray Banner
* White Flower Charge
Ominous Banner 
Illager Banner	Carried by raid captains. Located in pillager outposts.
, the ominous banner cannot be crafted or copied because the design uses 8 patterns.
, the illager banner is a separate type that cannot be placed in a loom.	 	White Banner
* Cyan Lozenge
* Light Gray Base
* Gray Pale
* Light Gray Bordure
* Black Fess
* Light Gray Per Fess
* Light Gray Roundel
* Black Bordure
Separate type entirely
Brown Banner 	Outside of some houses, meeting points, and pillar fountains in savanna villages.	 	Brown Banner
Black Banner 	In altar room in woodland mansions. 	 	Black Banner
=== Crafting ===
Banners can be crafted from six wool and a stick in a pattern resembling a sign.
=== Trading ===
Expert-level cartographer villagers always offer to sell 1 or 2 blank banners of a random color for 3 emeralds. Expert-level shepherd villagers have a chance of offering the same trade.
, expert-level cartographer and shepherd villagers both offer to sell one of 16 blank banners for 3 emeralds as part of their trades.
=== Mob loot ===
Illagers that spawn carrying an ominous banner / illager banner always drop it upon death.
== Usage ==
There are 16 colored blank banners, and numerous patterns each available in each of the 16 colors. A banner can feature up to 6 different patterns. The top layer of a banner (or the last pattern added) can be washed off by it on a cauldron containing water.
Banners, much like signs, can be placed both on the ground facing in any direction, or on a wall. They gently sway as if affected by a breeze, regardless of dimension or location. 
Banners have no collision mask as they are completely non-solid, so entities can move through them.
Other blocks (including other banners) can be placed on any edge of a banner's hitbox, which is only one block high despite the banner appearing as two blocks tall. This makes it possible to overlap another solid block on the top half of a banner for floor banners, or the bottom half of wall banners.
When a banner is placed on the side of a block, its position is set by the top block, and it is possible to place it so it appears half buried.
Banners can also be placed in item frames, where they simply appear as their item model.
Water and lava flow around banners. , banners can be waterlogged.
File:Wall banner with water below.png| Water can be placed below wall banners
File:Water flowing around banner.png| Water flows around a banner on the ground
Lava can create fire in air blocks next to banners as if the banners were flammable, but the banners do not burn (and cannot be burned by other methods). Banners also cannot be moved by pistons.
If a banner is renamed on an anvil, it retains its name when a pattern is added, but not when a pattern is removed.
=== Helmet ===
While a banner cannot be equipped in the head slot in Survival mode, equipping it using commands causes it to appear on top of the player. This is how raid captains wear banners.
=== Chestplate ===
While a banner cannot be equipped in the chestplate slot in Survival mode, equipping it using NBT editors causes it to appear on top of the player. This is how raid captains wear banners.
Steve wearing White Banner.png|
Alex wearing White Banner.png|
Pillager with Ominous Banner.png|
Vindicator with Ominous Banner.png|
Evoker with Ominous Banner.png|Illusioner with Ominous Banner.png|
=== Crafting ingredient ===
Shields can have patterns applied to them using banners. The shield pattern has a smaller resolution than the banner pattern, causing them to look different or offset. Banners that have more than six patterns, such as Ominous Banners or banners obtained through inventory editors, will be reduced to six patterns on the shield.
=== Copying ===
Banners can be copied with a blank banner to make multiple identical banners. Banners with more than 6 patterns applied using commands cannot be copied in this manner.
=== Map marker ===
, on a standing banner with a map selected places a marker of the banner's position on the selected map, and on the banner again removes the marker. Note that wall banners cannot serve as map markers. The marker has the same color as the banner's base without decorations. The marker is removed if the banner is destroyed unless the map is locked using a cartography table. If the banner is renamed, the name appears below the marker.
=== Patterns ===
A banner may have up to six layers of patterns, which are overlaid with the last-crafted on top. A banner can have up to 16 layers of patterns with the use of commands. The total number of unique banners is approximately 2.3x10^16 (or 23 quadrillion).
Any color banner can be used; the pattern overlays the color. , a loom is used to make patterns. However, , the patterns can be made in a loom or a crafting table.
A banner can have more than six layers of patterns through the commands /give, /setblock or /fill. This only works in Java Edition, as Bedrock Edition doesn't have any NBT commands. Here is an example of a mining banner with seven different patterns. There is specific codes for the colors and patterns that you have to input. 
/give @p white_banner{display:{Name:"\"Mining Industries Banner\""},BlockEntityTag:{Patterns:[{Pattern:"cr",Color:15},{Pattern:"bs",Color:15},{Pattern:"sc",Color:12},{Pattern:"ms",Color:0},{Pattern:"hh",Color:15},{Pattern:"bo",Color:15},{Pattern:"tts",Color:8}]}} 1
=== Renaming ===
, a banner can be given a custom name that remains as the banner is placed and retrieved. The player can use an anvil to rename the banner item, or may change the CustomName tag using the command on the banner block.
=== Fuel ===
Banners can be used as a fuel in furnaces, smelting 1.5 items per banner.
=== Note Blocks ===
Banners can be placed under note blocks to produce "bass" sounds.
== Sounds ==
=== Generic ===
=== Unique ===
: None
:
== Data values ==
=== ID ===
:
:
=== Metadata ===
==== Item ====
, banner items use the following data values:
DV	Banner color
0 	black
1 	red
2 	green
3 	brown
4 	blue
5 	purple
6 	cyan
7 	light gray
8 	gray
9 	pink
10	lime
11	yellow
12	light blue
13	magenta
14	orange
15	white
=== Item ===
, banner items use the following data values:
DV	Banner color
15	black
14	red
13	green
12	brown
11	blue
10	purple
9 	cyan
8 	light gray
7 	gray
6 	pink
5 	lime
4 	yellow
3 	light blue
2 	magenta
1 	orange
0 	white
=== Block states ===
=== Block data ===
A banner has a block entity associated with it that holds additional data about the block. 
:
: See Bedrock Edition level format/Block entity format.
:
=== Item data ===
:
Banners, as items, use an NBT tag BlockEntityTag to indicate the patterns and details when it is placed.
* : The item
** : Additional information about the item. This tag is optional for most items.
*** : The details of the shulker box.
**** All block data, except tags common to all block entities.
:
: See Bedrock Edition level format/Item format.
== Achievements ==
== Advancements ==
== History ==
== Issues ==
== Trivia ==
* With 16 blank banners, 38 patterns of 16 colors each (608 uniquely-colored patterns), and 0 to 6 patterns per banner, the number of uniquely crafted banners is 16 × (6080 + 6081 + 6082 + 6083 + 6084 + 6085 + 6086) ≈ 809 quadrillion - 809 with 15 zeros (809,573,616,779,945,488). The number of visually distinct banners is smaller, because one or more patterns may completely cover other patterns, or the entire banner, or be duplicated due to the symmetric set of patterns (e.g. field or (yellow) + per pale azure (blue) = field azure + per pale or inverted).
** Not 38 patterns are available on BE, but 40 patterns of 16 colors each (640 uniquely-colored patterns), so the number is even greater. 16 × (6400 + 6401 + 6402 + 6403 + 6404 + 6405 + 6406) ≈ 1 quintillion - 1 with 18 zeros (1,101,232,303,249,827,856). This increases the number by almost 1.4 times, or almost 292 quadrillion, despite the addition of only 2 patterns.
* If a banner has over 6 patterns, only the six bottom-most patterns are displayed when hovered over in the inventory.
* The Mojang logo is called "Thing" in-game, which could be considered an alternate translation for mojäng. If Google Translate is used, it translates to "thingys" or "contraption".
** In the Swedish translation of the game, this pattern is, in fact, called mojäng.
* Banner textures are located in \assets\minecraft\textures\entity\banner.
** There are 40 monochrome textures, each containing all 6 sides of the banner.
** The texture of the back side is the mirrored texture of the front side.
** Compared to the texture files, textures' colors are inverted in-game due to them acting as masks for the re-colored base texture, base.png. That means white is visible, while black is transparent.
* Banners that have the purple NBT+ line in the bottom (obtained by holding Ctrl and middle-clicking the banner, which also copies the NBT tag of anything that the player points their crosshair to) actually have no difference with the base banner obtained by middle click.
*The Illager Banner in Bedrock Edition is available as a separate item but is just a second variant of the white banner.
**Standard variant of white banner is set to type 0.
**Illager variant is set to type 1.
== Gallery ==
Banners Jeb.png|The first image of banners, as tweeted by Jens Bergensten.
Iceland and Norway Flags.png|Another banner image from Jeb.
Searge Banners.png|Several banners made by Searge.
The Bountiful Update.png|Banners in the official 1.8 poster.
BannersBeforeAndAfter.png|An image, tweeted by Jeb, showcasing the changes he made to the banner color palette in the 1.12 update.
Gradients Overlay.png|The result of using gradient different numbers of times, each time increasing the level of gradient by 1.
All positions and rotations of a banner.png|All positions and rotations of a banner
Item Frame with Banner.png|A banner with the Mojang logo in an item frame.
EndCityBanners.png|Banners floating outside of an End city tower.
Woodland mansion 1x2 d1.png|Banners hanging above the doorway of a woodland mansion master bedroom.
Replaceitembanner.png|Banner put in the helmet slot by using the command or .
Better Together Banners.jpg|Banners in Bedrock Edition.
Better Together Banner Crafting 1.jpg|A banner in the hand.
Better Together Banner Crafting 2.jpg|A banner in the inventory.
Better Together Banner Crafting 3.jpg|A banner in the crafting grid.
Better Together Banner Crafting 4.jpg|A banner being given a pattern.
=== Renders ===
Ominous Banner.gif
White Banner.gif
Light Gray Banner.gif
Gray Banner.gif
Black Banner.gif
Brown Banner.gif
Red Banner.gif
Orange Banner.gif
Yellow Banner.gif
Lime Banner.gif
Green Banner.gif
Cyan Banner.gif
Light Blue Banner.gif
Blue Banner.gif
Purple Banner.gif
Magenta Banner.gif
Pink Banner.gif
Ominous Wall Banner.png| 
White Wall Banner.png| 
Light Gray Wall Banner.png| 
Gray Wall Banner.png| 
Black Wall Banner.png| 
Brown Wall Banner.png| 
Red Wall Banner.png| 
Orange Wall Banner.png| 
Yellow Wall Banner.png| 
Lime Wall Banner.png| 
Green Wall Banner.png| 
Cyan Wall Banner.png| 
Light Blue Wall Banner.png| 
Blue Wall Banner.png| 
Purple Wall Banner.png| 
Magenta Wall Banner.png| 
Pink Wall Banner.png
File:Ominous Banner.gif|Ominous banner pattern in Java Edition.
File:Ominous Banner BE.gif|Illager banner pattern in Bedrock Edition.
File:Ominous Banner Revision 1.gif|Old Ominous banner pattern.
File:Ominous Banner washing.gif|Washing with cauldron shows how to apply the ominous banner pattern.
=== Lego Minecraft Banners ===
File:Lego Red Creeper Banner Collage.jpg|Lego banners from 21127 and 21131
File:Lego Melon Banner.png|Lego banner from 21138
File:Lego Fish Banner.png|Lego banner from 21142
File:Lego Beetroot Banner.png|Lego banner from 21144
File:Lego Wheat Banner.png|Another lego banner from 21144
File:Lego Carrot Banner.png|A third lego banner from 21144
File:Lego Crossbones Banner.png|Lego banner from 21152
File:Lego Green Creeper Banner Collage.jpg|Lego banners from 21155
File:Lego Ominous Banner.png|Lego ominous banner from 21160
== References ==
Category:Generated structure blocks
Category:Manufactured blocks
Category:Block entities
Category:Non-solid blocks
cs:Prapor
de:Banner
es:Estandarte
fr:Bannière
ja:旗
ko:현수막
nl:Banier
pl:Sztandar
pt:Estandarte
ru:Флаг
uk:Стяг
zh:旗帜