Hello everyone, I'm trying to figure out how I can get custom heads to regen after being mined, here is a screenshot of what I mean
I want them to dissapear for a couple of seconds after being mined and them have them come back after a couple of seconds, that code I can make my problem is I can't figure out how to get them to reappear in the same position with the same skin
I've tried alot of variations of code but this is my latest and I haven't had any luck:
Any help would be appreciated, thanks!
I want them to dissapear for a couple of seconds after being mined and them have them come back after a couple of seconds, that code I can make my problem is I can't figure out how to get them to reappear in the same position with the same skin
I've tried alot of variations of code but this is my latest and I haven't had any luck:
Any help would be appreciated, thanks!
code_language.skript:
on mine:
if player is in region "greenorbmine":
set {_block} to event-block
set {_nbt} to nbt of event-block
cancel the event
give player {_block} with NBT {_nbt}
set event-block to air
wait 3 seconds
set event-block to {_block} with NBT {_nbt}