Jump to content

About Ticks, Metadata and Light Values


pro-mole

Recommended Posts

1) What's the range of ticks for blocks with "setTickRandomly" set to true? This is just out of pure curiosity.

 

2) How can I set a block to tick not randomly? I'd like my block to do an updateTick in set intervals, and I can't find where I can use a "schedule" sort of function. (Just right now it hit me... is it on a "OnPlaced" function of sorts?)

 

3) How can I make an individual block stop ticking randomly? I've tried setting "setTickRandomly" to false, but that apparently changes all the blocks of the same type, not only the individual instance. =/

 

4) When using metadata/damage to define variations of a same block, will all the blocks have the same base characteristics(hardness, luminosity, material)? The underlying question here being: can I define a block that "lights up" by changing a metadata value?

 

5) Finally, what does "World.setLightValue" do? I tried using it to solve the problem in question 4, but it did, well, nothing, apparently.

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.

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.