Skip to main content

can_pass_through_wall

Function can_pass_through_wall 

Source
pub fn can_pass_through_wall(
    world: &Arc<World>,
    from: BlockPos,
    from_state: BlockStateId,
    to: BlockPos,
    to_state: BlockStateId,
    direction: Direction,
) -> bool
Expand description

Checks if fluid can pass through a wall between two positions.