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

Recipe book rejects bows with Damage:0 tag when crafting dispensers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w37a
    • Minecraft 18w07c, Minecraft 1.13-pre1, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w31a, Minecraft 19w12b, Minecraft 19w13b
    • Confirmed
    • Items
    • Normal

      The bug

      When using the recipe book to craft a dispenser, it will reject a bow if it has the Damage:0 tag.

      The reason this is an issue is because the Damage tag is written after reloading the world, even if it equals 0. Items do not initially have this tag when taken out of the creative inventory, crafted, repaired, /give, etc.

      Possible fixes

      • Allow the recipe book to use bows with a Damage tag of 0 and bows with no Damage tag at all
      • Allow the recipe book to use bows with a Damage tag of 0 and change damageable items to have the Damage tag by default
      • Remove and don't write the Damage tag if it equals 0

      A fix should be made with MC-124876 in mind.

            slicedlime [Mojang] slicedlime
            RomaqRosher Andy (Romaq) Smith
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: