Skip to main content

default_can_be_replaced

Function default_can_be_replaced 

Source
pub(crate) fn default_can_be_replaced(
    state: BlockStateId,
    context: &BlockPlaceContext<'_>,
) -> bool
Expand description

Vanilla BlockBehaviour.canBeReplaced(BlockState, BlockPlaceContext).