Place Custom Head - 1.15.2

Discussion in 'Skript' started by MihiBlu312, Aug 1, 2020 at 1:59 PM.

  1. Hello. I tried to make a code, which replaces a placed block with a custom head. But, the head is put, but it's Steve's. I tried all the ways I found, but it didn't work. Here is the code.

    Code (Text):
     message "Da" to player
                wait 1 seconds
                set block to diamond block
                wait 1 seconds
                set block to player head with nbt "{Owner:{Id:""514935ce-d29b-40cb-93b7-4375daf86479"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWQ1ZmNkMzEyODdkNjNlNzgyNmVhNzYwYTdlZDE1NGY2ODVkZmRjN2YzNDY1NzMyYTk2ZTYxOWIyZTEzNDcifX19""}]}},Rot:8b,id:""minecraft:skull"",SkullType:3b}"
                set block below event-block to gravel
    and I tried with that, what I found gave errors:

    Code (Text):
    "{display:{Name:""{\""text\"":\""Corn\""}""},SkullOwner:{Id:""e6620e47-8b33-00f1-717c-742d7931da8d"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDM5MWRmZmJlYTJmYzNmMmFkNzhhNjIzZjQ5YmY3ZTExMjE2OTQxMTJjMzc1OWZlZWQ0MTU2ZmMyYmE0NmMwIn19fQ==""}]}}} "
     
  2. You aren't being very specific.
    Are there any errors? If so, please send a screen shot of them.
    Have you tried using:
    Code (Text):
    ("randomPlayer" parsed as offlineplayer's skull)