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

Weird behavior with stacked items with durability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w20a, 1.21.1, 24w38a
    • None
    • Confirmed
    • Items

      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

            Unassigned Unassigned
            FastPlays08 FastPlays08
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: