Jump to content

|Prison| Regenerative Ores - Turns them to bedrock to regen


Recommended Posts

  • 6 months later...
  • 1 month later...
  • 2 weeks later...
On 2/9/2020 at 7:54 PM, Shlba_lnu said:

hey, heres a better way

 

on break:
    set {_block} to type of event-block

    set event-block to bedrock

    wait 75 ticks

    set event-block to {_block}

 

This is not a better way, if the server stops while the block hasn't regenerated, it will stay bedrock when the server starts again.

 

What you want to do is store all the blocks your setting in a list variable, and when you regenerate them you want to remove the list variable. Then on script start go through that list variable and set all the blocks to the original. You can find out how to do this on your own, I don't like spoon feeding much.

💬» Discord: @Riley#9202

🐤 » Twitter: @ReportCardsMC

💻 » Project(s): Parasite

Hello, I'm Riley or also known as ReportCards, I create servers and make Discord bots

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...