Minecraft unmanageable block command?

Wr
2

I'm looking for a command with which I can set a block that you can't touch and run through. It would probably only be an NBT date. ([nbt])

cl

That's a falling_block with NoGravity

Example:

/ summon minecraft: falling_block ~~~ {NoGravity: 1b, BlockState: {name: "sand"}, Time: 1}

cl

However, for this to last longer than 30 seconds, he must either ride on something else or you have to summon him by clock again.