Skip to main content

connects_to

Function connects_to 

Source
fn connects_to(
    neighbor_state: BlockStateId,
    face_solid: bool,
    direction: Direction,
) -> bool
Expand description

Vanilla WallBlock.connectsTo.

face_solid is whether the neighbor has a sturdy face pointing back at the wall; direction is that same (opposite-to-neighbor) direction.