Banner pattern definition

Minecraft Wiki article. Categories: Java_Edition, Data_packs

📌 Mirrored from Minecraft Wiki

This article is reproduced from Banner pattern definition on the Minecraft Wiki. Mirrored from revision 3650912. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Java Edition.
 

A banner pattern is a shape that can be added to a banner.

Definition

Banner patterns can be defined in data packs, as part of the directory structure below.

JSON Format

Banner patterns are defined using the following format:

  • [NBT Compound / JSON Object] The root object.
    • [String] asset_id: The resource location for the texture asset.
    • [String] translation_key: The translation key for displaying the banner tooltip.

History

Java Edition
1.20.524w10aBanner patterns can now be defined in data packs.

Sources