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 Why isn't this give command with a display name working? [duplicate] - Close Up Photo of Computer Codes](/assets/images/why_isn39t_this_give_command_with_a_display_name_working_duplicate_0.jpeg)
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] - Women in Black Shirt Selling Food in Food Stall](/assets/images/why_isn39t_this_give_command_with_a_display_name_working_duplicate_1.jpeg)
![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] - Cheerful crop African American female owner giving treat to Labrador Retriever while teaching commands in park](/assets/images/why_isn39t_this_give_command_with_a_display_name_working_duplicate_2.jpeg)
![Why isn't this give command with a display name working? [duplicate] - Black Pen on Top of White Paper With George Text Why isn't this give command with a display name working? [duplicate] - Black Pen on Top of White Paper With George Text](/assets/images/why_isn39t_this_give_command_with_a_display_name_working_duplicate_3.jpeg)
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