-
Nested Class Summary
Nested Classes
-
Method Summary
void
Fills the 3d rectangular area with the given block.
void
Fills the unit with the given block.
void
Fills the 3d rectangular area with the given biome.
void
Fills the 3d rectangular area with the given biome.
void
Sets all blocks within the unit to the block given by the supplier.
void
Sets all blocks within the unit to the block given by the supplier, relative to the absolute position of the unit.
void
Sets the block relative to the absolute position of the unit.
-
Method Details
-
setRelative
void setRelative(int x,
int y,
int z,
@NotNull
@NotNull Block block)
Sets the block relative to the absolute position of the unit.
- Parameters:
x
- the x coordinate
y
- the y coordinate
z
- the z coordinate
block
- the block to set
-
setAll
Sets all blocks within the unit to the block given by the supplier.
- Parameters:
supplier
- the supplier of the block to set
-
setAllRelative
Sets all blocks within the unit to the block given by the supplier, relative to the absolute position of the unit.
- Parameters:
supplier
- the supplier of the block to set
-
fill
void fill(@NotNull
@NotNull Block block)
Fills the unit with the given block.
- Parameters:
block
- the block to fill
-
fill
void fill(@NotNull
@NotNull Point start,
@NotNull
@NotNull Point end,
@NotNull
@NotNull Block block)
Fills the 3d rectangular area with the given block.
- Parameters:
start
- the start (min) point of the area
end
- the end (max) point of the area
block
- the block to fill
-
fillHeight
void fillHeight(int minHeight,
int maxHeight,
@NotNull
@NotNull Block block)
Fills the 3d rectangular area with the given biome.
- Parameters:
minHeight
- the minimum height of the area
maxHeight
- the maximum height of the area
block
- the block to fill
-
fillBiome
void fillBiome(@NotNull
@NotNull Biome biome)
Fills the 3d rectangular area with the given biome.
- Parameters:
biome
- the biome to fill