Make coral stays alive

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Hab

Member
Apr 1, 2024
3
0
1
22
Hey guys i've just made an ocean parkour map for my server. As you guys know coral dies without water, so i downloaded a plugin that makes it stays alive. But i was wondering, is there any way to make the coral stay alive with skript? I'm kinda a new to skript, my idea was like: on coral die: cancel event. But ofc this event dont work. Is there any event like this? Or is there any other way I can keep the coral alive with skript?(or not skript)
 
Hello. A quick search of the docs reveals no events or expressions related to coral, but you may be able to do this by checking block data.
 
Hi, thanks for your quick answer and checking events in docs, I tryed copying block data but sadly it didn't work. I mean it's not a huge problem, the plugin works perfectly, I was just curious if is there any way to do it with skript.
 
Yeah the easiest thing I can think of is saving the live coral to a variable and then just constantly re-pasting it so its never dead.