fn update_shape( state: BlockStateId, direction: Direction, neighbor_state: BlockStateId, ) -> BlockStateId