Skip to main content

can_replace_block

Function can_replace_block 

Source
pub fn can_replace_block(state: BlockStateId) -> bool
Expand description

A block may be carved unless it’s in #minecraft:uncarvable. No separate air check — air isn’t in the tag, so it’s replaced like anything else.