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 TypeMethodDescriptionboolean
apply
(BlockVector3 position) Apply the function to the given position.default void
applyBlock
(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, 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:Filter
Make changes to the block here
- e.g., block.setId(...)
- Note: Performance is critical here- Specified by:
applyBlock
in interfaceFilter
-