How to make head with player's name? Both SkullMeta.setOwner() and SkullMeta.setDisplayName() give no result. As I understand, there should be way to even make heads with skin of player.
Skull is the interface of block, not item. Well, how to change name of any item? I use .setDisplayName(), but the debug at next string shows that itemStack does not have displayed name. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
in a few steps: get the ItemMeta (.getItemMeta()) set the DisplayName on that ItemMeta set the ItemMeta on the stack (.setItemMeta(ItemMeta)) Same accounts for SkullMeta, you have to set the ItemMeta again