I want to use the /give command to give myself a broken elytra. So far I have /give @p elytra 1 0 {"Broken":1} but that doesn't work. It then says

Component 'Broken' was not an object.

  • 3
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins!
    – Frank
    Jul 11 '17 at 12:31
  • @Frank Added more detail. Jul 11 '17 at 12:35

Quick solution: /give @p elytra 1 431

Long explanation:

The syntax of the /give command is the following:

give <player: target> <itemName: string> [amount: int] [data: int] [components: components]

(from the wiki, archive)

player is a target selector, in your case you want @p, meaning the nearest player to you, which is yourself.

itemName is the name of the item, that's elytra.

amount is the number of items you want to have, since /give requires at least 1 and the stack limit of elytra is 1, only 1 is possible.

data is the so-called "metadata" of the item. The primary use of it and the reason it was originally added was for uses of an items. Since the durability of the elytra (0 or not) decides if it is broken, you can just set it to 431 to have a 0 durability elytra. (Or 432, I have two conflicting sources, just try it.)

components is optional and you don't need it in this case. And since you're playing PE and not Java, you could only use "CanPlaceOn" (which is useless, because elytra can't be placed) and "CanDestroy" (which you don't want) anyway.

  • 1
    I believe it is 431, since a broken elytra is supposed to be stuck at 1 durability until repaired. Jul 11 '17 at 14:57
  • Never mind. Both ways work. Jul 11 '17 at 15:10
  • Then it's actually 431. Making the metadata higher doesn't change the damage value (it stays at 0). Btw, I wrote this whole answer without starting Minecraft once. ;) Jul 11 '17 at 17:20
  • Both 431 and 432 work. For some reason the texture the broken elytra isn't showing up (nothing is showing up in the inventory) but that's probably a bug. Thanks! Jul 12 '17 at 7:13
  • Also @s is not available in PE. Jul 18 '17 at 11:22

if you are playing in one of the newer versions it is now:

/give @p minecraft:elytra{Damage:431} 1
  • 2
    Hello! What do you mean by "newer versions"? Since which version?
    – 54D
    Apr 16 '20 at 8:53
  • My question was about Bedrock Edition and there is currently no NBT as far as I know. Apr 16 '20 at 12:21

Here's a quick one:

/give (your mc name) elytra

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.