Mojira Archive
MC-276893

Weird behavior with stacked items with durability

Un-stackable items that has durability will now start at 0 durability when breaking.

Steps to Reproduce:

  1. Run the command:
    /summon armor_stand ~ ~ ~ {HandItems:[{id:"minecraft:wooden_sword",count:4,components:{"minecraft:max_stack_size":64,damage:58}},{}]}
  2. Break any block or hit the Armor Stand

Observed Results:
When the stacked wooden sword breaks, it starts are 0 durability in 24w20a+ instead of being at 1 or full.

Expected Results:
When the stacked wooden sword breaks, the next one should be at max durability. It is not an issue in 24w19a and below.

Screenshots/Videos:
2024-09-21 17-59-38.mkv 2024-09-21 14-59-15.mp4

Invalid

FastPlays08

2024-09-21, 08:17 AM

2024-09-24, 11:35 AM

2024-09-24, 07:26 AM

3

2

Confirmed

Items

24w20a, 1.21.1, 24w38a

-