Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-62324

Crafting recipes that assign damage to a tool only work after a relog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.100.57 Beta, 1.16.100
    • 1.16.0.61 Beta, 1.14.1 Hotfix
    • None
    • Confirmed
    • Windows
    • 396670

      The bug

      When a crafting recipe uses set_data on an item with durability, it sets the legacy damage value rather than the proper damage value. This causes the tool to appear to have full durability until it is fixed with a relog.

      How to reproduce

      1. Download and open the attached world.
      2. Use the dirt in your inventory to craft a diamond sword
      3. Close and reopen the world

      Expected Behavior
      Sword is damaged immediately after being crafted or sword is never damaged

      Observed Behavior
      Sword is not damaged until after the relog

        1. [EX] Test World.mcworld
          1.14 MB
          [Mod] tryashtar
        2. image-2020-01-27-14-12-38-360.png
          7 kB
          [Mod] tryashtar
        3. recipe.json
          0.4 kB
          [Mod] tryashtar

            tryashtar [Mod] tryashtar
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: