/ Fill

The command /fill is used to generate blocks filling specific coordinates.

In this command we will have to specify 2 coordinates: the initial point where the filling starts (~ ~ ~) and the final point where the filling ends (~ ~ ~), finally we will specify the type of block with which we want to fill.

This command is capable of doing more functions (replace, detroy, etc.) but we will learn them later.

Command logic: /fill [Start coordinates] [End coordinates] [Block Type]


Basic Fill

We will generate a 5x5x5 square of stone close to the player.

/fill ~ ~ ~ ~5 ~5 ~5 stone
GIF