Package com.sk89q.worldedit.function
Interface RegionFunction
- All Superinterfaces:
Filter
- All Known Implementing Classes:
BiomeCopy,BiomeReplace,BlockDistributionCounter,BlockReplace,CombinedBlockCopy,CombinedRegionFunction,Counter,ExtentBiomeCopy,ExtentBlockCopy,FloraGenerator,ForestGenerator,GardenPatchGenerator,IntersectRegionFunction,ItemUseFunction,NullRegionFunction,RegionMaskingFilter,RegionMaskTestFunction,RegionOffset,SimpleBlockCopy
Performs a function on points in a region.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(BlockVector3 position) Apply the function to the given position.default voidapplyBlock(FilterBlock block) Make changes to the block here
- e.g., block.setId(...)
- Note: Performance is critical hereMethods inherited from interface com.fastasyncworldedit.core.queue.Filter
applyChunk, finish, finishChunk, fork, join
-
Method Details
-
apply
Apply the function to the given position.- Parameters:
position- the position- Returns:
- true if something was changed
- Throws:
WorldEditException- thrown on an error
-
applyBlock
Description copied from interface:FilterMake changes to the block here
- e.g., block.setId(...)
- Note: Performance is critical here- Specified by:
applyBlockin interfaceFilter
-