Skip to main content

vegetation_can_survive

Function vegetation_can_survive 

Source
pub fn vegetation_can_survive<H: Vegetation>(
    hooks: &H,
    _state: BlockStateId,
    world: &dyn LevelReader,
    pos: BlockPos,
) -> bool
Expand description

Shared survival logic for basic vegetation.