ServerBlockTicking

From Vintage Story Wiki
Revision as of 19:31, 19 March 2018 by Chapp007 (talk | contribs) (Created page with "== General == By default the server randomly ticks blocks throughout the world every 50ms. It ticks a chunk radius around the player. For each chunk, 16 blocks are sampled at...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General

By default the server randomly ticks blocks throughout the world every 50ms. It ticks a chunk radius around the player. For each chunk, 16 blocks are sampled at random. Each block is asked whether it would like to receive a game tick. If it says "yes", then a block location will be queued for ticking. Each block decides what happens when it receives a tick and this is different for every block. Most blocks don't receive ticks. Below is a summary of each block that receives ticks and what they do.

Blocks that tick

Block Behavior Condition Probability
Soil Grows by 1 stage If grass is surrounding it. Can be 1 block above or 1 block below. 1.0
Crops Grows by 1 stage and cycles back to 1 when fully grown Has to be placed during world gen 0.05
Lava Burns combustible items nearby 3 block radius around the air directly above lava. 4 block radius above that. 3 blocks above that. Lava is 1200 degrees. The block temperature

drops by 100 degrees for each meter away from lava. If the block's burn temperature is lower than the temperature at that block position then the block will burn when lava is ticked.

1.0