Class BlockDistributionCounter
java.lang.Object
com.sk89q.worldedit.function.block.BlockDistributionCounter
- All Implemented Interfaces:
Filter
,RegionFunction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(BlockVector3 position) Apply the function to the given position.Gets the distribution list.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.core.queue.Filter
applyChunk, finishChunk, fork, join
Methods inherited from interface com.sk89q.worldedit.function.RegionFunction
applyBlock
-
Constructor Details
-
BlockDistributionCounter
-
-
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
-
getDistribution
Gets the distribution list.- Returns:
- The distribution
-