Class ImageHeightmapBrush
java.lang.Object
com.sk89q.worldedit.command.tool.brush.ImageHeightmapBrush
- All Implemented Interfaces:
Brush
-
Constructor Summary
ConstructorDescriptionImageHeightmapBrush
(ImageHeightmap heightmap, double intensity, boolean erase, boolean flatten, boolean randomize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(EditSession editSession, BlockVector3 position, Pattern pattern, double doubleSize) Build the object.
-
Constructor Details
-
ImageHeightmapBrush
public ImageHeightmapBrush(ImageHeightmap heightmap, double intensity, boolean erase, boolean flatten, boolean randomize)
-
-
Method Details
-
build
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double doubleSize) throws MaxChangedBlocksException Description copied from interface:Brush
Build the object.- Specified by:
build
in interfaceBrush
- Parameters:
editSession
- theEditSession
position
- the positionpattern
- the patterndoubleSize
- the size of the brush- Throws:
MaxChangedBlocksException
- if the maximum block change limit is exceeded
-