Class CommandBrush
java.lang.Object
com.fastasyncworldedit.core.command.tool.brush.CommandBrush
- All Implemented Interfaces:
Brush
-
Constructor Summary
ConstructorsConstructorDescriptionCommandBrush
(String command) Deprecated, for removal: This API element is subject to removal in a future version.CommandBrush
(String command, boolean print) New instance -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(EditSession editSession, BlockVector3 position, Pattern pattern, double size) Build the object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.command.tool.brush.Brush
setsSynchronously
-
Constructor Details
-
CommandBrush
Deprecated, for removal: This API element is subject to removal in a future version.New instance -
CommandBrush
New instance- Parameters:
command
- command to run, or commands split by ';'print
- if output should be printed to the actor for the run commands
-
-
Method Details
-
build
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException Description copied from interface:Brush
Build the object.- Specified by:
build
in interfaceBrush
- Parameters:
editSession
- theEditSession
position
- the positionpattern
- the patternsize
- the size of the brush- Throws:
MaxChangedBlocksException
- if the maximum block change limit is exceeded
-
CommandBrush(String, boolean)