Minecraft wiki entry for fill, associated text: /fill 52 63 -1516 33 73 -1536 minecraft:gold_block replace minecraft:orange_glazed_terracotta‌[Java Edition only]
/fill 52 63 -1516 33 73 -1536 gold_block 0 replace orange_glazed_terracotta‌[Bedrock Edition only]
Replaces all the orange glazed terracotta in the selected area with gold blocks.
/fill ~-3 ~-3 ~-3 ~3 ~-1 ~3 water
Replaces the blocks in a 7x3x7 region directly beneath the command execution's location with water.
/fill ~-3 ~ ~-4 ~3 ~4 ~4 minecraft:stone hollow‌[Java Edition only]
/fill ~-3 ~ ~-4 ~3 ~4 ~4 stone 0 hollow‌[Bedrock Edition only]
Creates a house-sized box around the command execution's location, replacing any blocks that would have been inside the box with air.
/fill ~-15 ~-15 ~-15 ~15 ~15 ~15 stone
Creates a solid cube of stone centered on the command execution's location.
/fill ~-1 ~ ~ ~1 ~ ~ minecraft:prismarine_brick_stairs[facing=south,waterlogged=true]
Replaces the specific blocks around the command execution's location with waterlogged prismarine brick stairs facing south.