I don't understand how the json code works in Minecraft, so I'm wondering how can I give myself a "damaged" item using commands?
I tried to use the old 1.12.2 way where you would just add the damage, like
/give @s minecraft:elytra 1 50
with 50 being damage, but it no longer functions correctly, and fails to parse in 1.13 and 1.13.1