Skip to main content

can_attach_to

Function can_attach_to 

Source
fn can_attach_to(
    world: &Arc<World>,
    sign_facing: Direction,
    attach_pos: BlockPos,
    attach_face: Direction,
) -> bool
Expand description

Checks if a wall hanging sign can attach to a neighboring block.

This matches vanilla’s WallHangingSignBlock.canAttachTo.