Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-279698

provides_banner_pattern component does not use hash prefix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 25w04a
    • None
    • Community Consensus
    • Commands, Items
    • Important
    • Platform

      Per the Minecraft snapshot 25w04a changelog:

      New provides_banner_patterns component

      • When present, this item can be placed in the pattern slot of a Loom
      • Format: hash-prefixed banner pattern tag
        • e.g. provides_banner_patterns='#minecraft:pattern_item/globe'

       With this format in mind, one would expect the following command to produce a potato that provides globe banner patterns to looms:

      /give @s potatominecraft:provides_banner_patterns="#minecraft:pattern_item/globe"

      However, it provides this error message instead:

      Malformed 'minecraft:provides_banner_patterns' component: 'Not a valid resource location: #minecraft:pattern_item/globe Non [a-z0-9_.-] character in namespace of location: #minecraft:pattern_item/globe'

      The following command works instead, mismatching the changelog:

      /give @s potato[minecraft:provides_banner_patterns="minecraft:pattern_item/globe"]

            gegy1000 [Mojang] Gegy
            haykam haykam
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: