Skip to main content

sample_random_ticks

Function sample_random_ticks 

Source
pub fn sample_random_ticks(
    chunks: &mut Chunks,
    registry: &Registry,
    interests: &ChunkInterests,
    config: &WorldConfig,
    current_tick: u64,
) -> usize
Expand description

Run one random-tick pass. Returns how many samples were taken (not how many blocks actually opted in / were marked active).