Can I customize a flat world on the switch in Minecraft with Commands?

Ke
- in Worlds
1

Can I customize a flat world on the switch in Minecraft with Commands? E.g.:

that the floor is just sandstone or something?

Mo

No, it doesn't work unless you use Worldedit on a server where the map is stored. Otherwise it doesn't work.