Uses modern Minecraft item component syntax (1.20.5+). On older versions these need the legacy NBT tag format instead.

How to Use the Banner Generator

  1. Pick a target selector (defaults to @p, the nearest player).
  2. Choose the banner’s base color.
  3. Add pattern 1 (required) and pattern 2 (optional), each with its own color.
  4. Copy the generated /give command.

Syntax Reference

A banner’s base color sets the item ID itself (white_banner, red_banner, etc.), while layered patterns live in a banner_patterns item component – a list of {pattern, color} entries applied in order, bottom layer first:

/give @p minecraft:white_banner[banner_patterns=[{pattern:"minecraft:stripe_bottom",color:"red"}]]

Each entry needs a pattern ID (the shape) and a color (a plain dye-color name, not prefixed with minecraft:). Common pattern IDs include stripe_bottom, stripe_top, cross, circle, rhombus, border, gradient, creeper, skull, flower, mojang, globe, piglin, flow, and guster – the last two require a Wind Charge / Trial Chamber banner pattern item to apply legitimately in survival. Multiple entries stack visually, each one layering on top of the previous.

Frequently Asked Questions

How many pattern layers can a real banner actually hold?

Up to 6 layers can be applied at a loom in survival, each added one at a time by combining the banner, a dye, and (for most patterns) a specific pattern item at a loom. This generator’s UI exposes 2 layers for a quick example; the underlying banner_patterns list accepts as many entries as the 6-layer cap allows if you extend it manually.

What’s the difference between a banner’s base color and a pattern’s color?

The base color is the banner’s background field, set once by which colored banner item you start from (it can’t be changed after crafting without loom-recoloring tricks). Each pattern layer added afterward has its own independent color, letting you mix, for example, a black base with red and yellow pattern layers.

Do flow and guster patterns need something special to apply legitimately?

Yes – unlike standard patterns available directly at any loom, flow and guster require their specific banner pattern item (found in Trial Chamber vaults) to be combined with a banner and dye at a loom. This generator can output them freely via /give regardless of whether the player has found that pattern item yet.

Can a banner be used to decorate a shield?

Yes – placing a banner in a shield’s crafting slot at a crafting table transfers its base color and full pattern layer stack onto the shield, which is a common way players get a decorated shield without repeating the loom process. This generator only outputs the banner item itself, not a pre-decorated shield.

Related Tools