Package com.sk89q.worldedit.function
Class ItemUseFunction
java.lang.Object
com.sk89q.worldedit.function.ItemUseFunction
- All Implemented Interfaces:
Filter,RegionFunction
-
Constructor Summary
ConstructorsConstructorDescriptionItemUseFunction(World world, BaseItem item) ItemUseFunction(World world, BaseItem item, Direction dir) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(BlockVector3 position) Apply the function to the given position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fastasyncworldedit.core.queue.Filter
applyChunk, finish, finishChunk, fork, joinMethods inherited from interface com.sk89q.worldedit.function.RegionFunction
applyBlock
-
Constructor Details
-
ItemUseFunction
-
ItemUseFunction
-
-
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
-