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

Most components of banners not saved when placed/broken

XMLWordPrintable

    • Confirmed
    • Block states, Items, Save Data
    • Important
    • Platform

      Almost all components of banner blocks are lost when the banner is placed down, and later broken. This leads to behavior such as the banner not being able to stack with other similar banners when picked back up.

      Steps to Reproduce:

      1. Get the following item stack:
        /give @p white_banner[minecraft:max_stack_size=99] 99
        
      2. Place one banner down
      3. Break it
        The max_stack_size component is lost, and will not stack with the other banners it used to stack with.

      Expected Results:

      - The banner would stack with the other items and keep it's components when placed.

      Screenshots/Videos:

      BannerComponentStack.mp4

      Notes:

      1. Code Analysis in the pinned comment.
      2. Relates to MC-251509 MC-261369 MC-106043 MC-249067 MC-140069

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: