Class BlockReplace
java.lang.Object
com.sk89q.worldedit.function.block.BlockReplace
- All Implemented Interfaces:
Filter, RegionFunction
Replaces blocks with a given pattern.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(BlockVector3 position) Apply the function to the given position.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Filter
applyChunk, finish, finishChunk, fork, joinMethods inherited from interface RegionFunction
applyBlock
-
Constructor Details
-
BlockReplace
-
-
Method Details
-
apply
Description copied from interface:RegionFunctionApply the function to the given position.- Specified by:
applyin interfaceRegionFunction- Parameters:
position- the position- Returns:
- true if something was changed
- Throws:
WorldEditException- thrown on an error
-