setSkullPlayer
Configures the minecraft:profile item component to represent the given player (specified via GameProfile.id in its game profile).
The internal GameProfile.name can be anything, but it should match the actual player name.
skullStack.setSkullPlayer(server.playerList.getPlayerByName("Notch"))Content copied to clipboard