Shield and Banner Pattern Generator
Generate shield and banner pattern commands for Java Edition, with a live preview that updates as you change colours and patterns.
How to use
Choose a banner or shield and stack patterns in order; the order changes the finished design.
Basic fallback generator
A simplified form is available while the main generator loads. It does not include every setting in the full tool.
Output
Banner and shield pattern notes
Banner layers are applied in order. The same visual design may need different handling when used on a shield or in another edition.
Examples and checks
- Build the design from the background layer upward.
- Keep the number of layers within the selected version limits.
- Preview the pattern before copying the command.
How banner and shield commands work
Patterns are drawn in the order you add them, so the first layer ends up at the back. A common design starts with a base colour, adds a symbol such as a cross, and finishes with a border.
In Java Edition 1.20.5 and later, patterns are stored in the banner_patterns component, for example /give @p minecraft:white_banner[banner_patterns=[{pattern:"minecraft:border",color:"black"}]] 1. Older versions use BlockEntityTag with short codes such as bo.
If the command does not work
- A banner can hold up to 6 pattern layers in survival crafting. Extra layers from commands may not show in every version.
- For a shield, the base colour is set separately from the patterns. Pick the shield item before adding layers.
- Check the selected version. Banner syntax changed in Java 1.20.5, so commands from older guides often fail.
Copy-ready banner and shield examples (Java 1.20.5 and later)
| Goal | Command |
|---|---|
| White banner with a red top stripe | /give @p minecraft:white_banner[banner_patterns=[{pattern:"minecraft:stripe_top",color:"red"}]] |
| Two layers | /give @p minecraft:blue_banner[banner_patterns=[{pattern:"minecraft:cross",color:"white"},{pattern:"minecraft:border",color:"yellow"}]] |
| Shield with a red base and white cross | /give @p minecraft:shield[base_color="red",banner_patterns=[{pattern:"minecraft:cross",color:"white"}]] |
The banner's own color comes from its item ID (blue_banner), while a shield uses base_color. Layers are drawn in order, so the first entry is at the bottom. Survival looms allow up to 6 layers, but commands can add more. On 1.20.4 and earlier, patterns were written as NBT with short codes inside BlockEntityTag, which is why old commands from tutorials fail on current versions.
Bedrock Edition
Bedrock /give cannot set banner patterns. Make the design at a loom, or use the generator's Java output only on Java worlds.