Mojira Archive
MC-261370

Named banners no longer stack after being placed and picked up

Steps to recreate

  • Name 2 blank banners simultaneously in an anvil (so they stack)
  • Place one of them on the ground
  • Break it and pick it up again
  • The banners no longer stack

Also works with non-blank banners but these wouldn't stack anyway because of MC-251509.

 

Cause

Before placing, the named banner has the following NBT data:

 

{RepairCost: 0, display: {Name: '{"text":"Test"}'}}

After placing and breaking, the banner loses the RepairCost tag:

 

{display: {Name: '{"text":"Test"}'}}

The items' NBT data doesn't match so they no longer stack.

 

 

This bug may seem the same as MC-251509 but they are not caused by the same thing. MC-251509 is caused by the id tag disappearing when placing and breaking. This bug is caused by the RepairCost tag disappearing, a tag only appearing on named banners.

 

Duplicate

Flipkaboom

2023-03-26, 11:22 PM

2023-03-27, 07:00 PM

2023-03-27, 07:00 PM

1

2

Unconfirmed

(Unassigned)

Banner, Naming, banner, banners, naming

23w12a

-