I was playing single player 1.19.30 on Nintendo Switch and had this happen when building a 1x1 pillar higher than 5 blocks but building a 2x2 pillar and staying in the middle worked to get the "top of the world" achievement by building with dirt until I had 1 block left to go and putting 4 scaffolding on top then jumping on it.
I was playing single player 1.19.30 on Nintendo Switch and had this happen when building a 1x1 pillar higher than 5 blocks but building a 2x2 pillar and staying in the middle worked to get the "top of the world" achievement by building with dirt until I had 1 block left to go and putting 4 scaffolding on top then jumping on it.