i tried to make a skript with skulls and when you broke a skull it would rename it to the name it had before it was placed
also tried
and last there is the lore, for some reason i cant set that either
Rich (BB code):
on place:
id of event-block = 144
set {skull::%event-block%} to location of event-block
set {skull::%event-block%::name} to name of event-block
set {skull::%event-block%::lore::*} to formatted lore of event-block
set {_skullnbt::*} to "%nbt of event-block%" split at """"
set {skull::%event-block%::nbt::id} to {_skullnbt::2}
set {skull::%event-block%::nbt::value} to {_skullnbt::4}
set {skull::%event-block%::nbt} to "{SkullOwner:{Id:""%{skull::%event-block%::nbt::id}%"",Properties:{textures:[{Value:""%{skull::%event-block%::nbt::value}%""}]}}}"
on break:
id of event-block = 144
set name of event-item to {skull::%event-block%::name}
also tried
Rich (BB code):
on break:
cancel event
set {_skull} to player skull with nbt {skull::%event-block%::nbt}
set name of {_skull} to {skull::%event-block%::name}
drop {_skull} at player
set event-block to air
clear {skull::%event-block%::*}
delete {skull::%event-block%}
and last there is the lore, for some reason i cant set that either