## Fill Fill acts similar to setblock, but fills a whole area instead. |constructor| | |--|--| |Block|the fill material| |area|the Area to fill| > Tip: There are also constructors for Fill.destroy, Fill.hollow, Fill.outline and Fill.keep **Example:** ```dart Fill( Block.dirt, area: Area.fromLocations( Location.glob(x: 0, y: 0, z: 0), Location.glob(x: 10, y: 20, z: 10) ), ) ⇒ fill 0 0 0 10 20 10 minecraft:dirt ``` You can also just replace specific other blocks: |Fill.replace| | |--|--| |...|Everything the same| |replace| the Block type you want to replace | **Example:** ```dart Fill.replace( Block.dirt, area: Area.fromLocations( Location.glob(x: 0, y: 0, z: 0), Location.glob(x: 10, y: 20, z: 10) ), replace: Block.stone, ) ⇒ fill 0 0 0 10 20 10 minecraft:dirt replace minecraft:stone ```