Hello, i have a question about making a player head face a player. Im working on a heads storage system, and i spawn a mob head on top of crying obsidian when i place the obsidian down. When i place a chicken head storage, it spawns a chicken head on top of the block. But i want the head to be facing the player. It doesnt face me when i place the block down. If anyone knows how to get this to work, please let me know asap.
Thanks!
~Matt
Code:
Thanks!
~Matt
Code:
Code:
on place of crying obsidian:
if name of player's held item contains colored "&cChicken Heads Storage":
if {headstorage::chicken::%player's uuid%} isn't set:
set {headstorage::chicken::%player's uuid%} to location of event-block
send "&8[&bHS&8] &aYou placed your Chicken head storage!"
set block at location above event-block to player head
set {_l} to location above event-block
set {_s} to {_l}.getBlock().getState()
wait 1 tick
{_s}.setOwner("MHF_Chicken")
{_s}.update()