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

Command Bug: Damage Value Doesn't Apply Correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0.5.3, 1.0.5.13, 1.0.6.0
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC
    • VSO:
      64291

      Description

      When using the /give command, adding a damage value doesn't always apply correctly.

      What I expected to happen:
      I expected the correct damage to be applied to the item given. For an example that works, use /give @p iron_sword 1 248 - This gives an iron sword with only a couple of uses left

      What actually happened:
      If you try and use this give command: /give @p diamond_pickaxe 1 400 you either receive a diamond pick with zero damage, or an invisible item.

      Steps to Reproduce:

      • Use the command /give @p diamond_pickaxe 1 400
      • Notice the tool has full durability
      • This affects other items as well (will update later*)

      Note that the command /give @p diamond_pickaxe 1 250 is the highest damage value that applies to the diamond pickaxe.

      *Other Items with incorrect damage:

      • Elytra: maximum damage applied is 255

        Attachments

          Activity

            People

            • Reporter:
              Mega_Spud [Minecraft] Mega_Spud (Jay Wells)
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: