Skip to main content

is_empty

Function is_empty 

Source
fn is_empty(
    world: &dyn LevelReader,
    pos: BlockPos,
    config: &PortalFrameConfig,
) -> bool
Expand description

Matches vanilla’s PortalShape.isEmpty: any air variant, any block in the fire tag, or the portal block itself.