mojira.dev
MCPE-20460

Command Bug: Damage Value Doesn't Apply Correctly

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

Comments 2

Confirmed to affect 1.0.6.0.

Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki

[Mojang] Mega_Spud (Jay)

(Unassigned)

64291

Confirmed

Windows

/give, command, damage, durability

1.0.5.3, 1.0.5.13, 1.0.6.0

Retrieved