Mojira Archive
MC-269687

Most components of banners not saved when placed/broken

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

Invalid

[Mod] Jiingy

2024-03-21, 12:01 AM

2024-03-22, 03:15 PM

2024-03-22, 08:02 AM

2

2

Confirmed

Important

Platform

Block states, Items, Save Data

banner, component, data-loss

24w12a

-