Why isn't this give command with a display name working? [duplicate]

Why isn't this give command with a display name working? [duplicate] - Close Up Photo of Computer Codes

enter image description here

I don’t understand how to fix this or what this error means.



Best Answer

The command you got was a Java Edition only command. This will not be able to work because Bedrock Edition has a drastically different command format.

The issue you found in your image was one of the differences. Unlike JE, BE prohibits namespace values like minecraft: in item names. You must remove them, and also player_head is invalid, the correct ID is skull:

give @p skull

Additionally, the stuff in curly brackets {display:{Name:'…'}} is called NBT, which allows you to set specific item properties. Bedrock Edition commands do not have access to NBT, so you are unable to set custom player skulls in that edition.

In the future, please be wary whether the source that you are getting your commands from is a Java Edition source or a Bedrock Edition source. Commands for one edition will most certainly not work on the other.




Pictures about "Why isn't this give command with a display name working? [duplicate]"

Why isn't this give command with a display name working? [duplicate] - Women in Black Shirt Selling Food in Food Stall
Why isn't this give command with a display name working? [duplicate] - Cheerful crop African American female owner giving treat to Labrador Retriever while teaching commands in park
Why isn't this give command with a display name working? [duplicate] - Black Pen on Top of White Paper With George Text






Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Markus Spiske, Wendy Wei, Samson Katt, George Becker