floodfill

floodfill <position> <liquidtype>

Fills a specified position with a specified liquid. Won't work if you try to fill more than 2048 tiles at once.
World
Parameters

Angle brackets <> mark required arguments; square brackets [] mark optional ones.

NameTypeRequiredDescription
positionpositionRequiredWhere to floodfill.
liquidtypeintRequiredLiquid type index to fill with.
Command generator

Fill in the arguments and copy the finished command — it updates as you type.

floodfill <position> 0
PositionpositionWhere to floodfill.
Liquidtypeint
Liquid type index to fill with.