Jump to content

Place Block ontop of other Block after a specific amount of minutes?


Recommended Posts

Use random ticks. A block roughly receives a random tick (call setTickRandomly(true) in your Block constructor and updateTick will be called randomly) every 68.27 seconds (from MinecraftWiki). So if you start wit metadata 0 and increase it by 1 every time you receive a random tick and then do something when you reach 10, you will have waited roughly 10 minutes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.