Jump to content

Recommended Posts

Posted

For my block. As an example imagine you have a block that will place a block of the same type above it on a random tick. Then you have another block next to it that will do that but 5 times faster.

I don't optimize my code before it works.

Posted

I can't seem to get it to work. I tried using this

public int tickRate(World worldIn){return 1;}

But it had no effect. I tried changing the return to numbers in the hundreds and thousands but still nothing changed.

I also tried

world.scheduleUpdate(posNumber, this, 200);

 

I don't know what methods to use in what combination to get it to work.

I don't optimize my code before it works.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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