Class BlockReplace
java.lang.Object
com.sk89q.worldedit.function.block.BlockReplace
- All Implemented Interfaces:
RegionFunction
Replaces blocks with a given pattern.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(BlockVector3 position) Apply the function to the given position.
-
Constructor Details
-
BlockReplace
Create a new instance.- Parameters:
extent
- an extentpattern
- a pattern
-
-
Method Details
-
apply
Description copied from interface:RegionFunction
Apply the function to the given position.- Specified by:
apply
in interfaceRegionFunction
- Parameters:
position
- the position- Returns:
- true if something was changed
- Throws:
WorldEditException
- thrown on an error
-