Package com.sk89q.worldedit.command.tool
Class TreePlanter
java.lang.Object
com.sk89q.worldedit.command.tool.TreePlanter
Plants a tree.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanactPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked, Direction face) Perform the primary action of this tool.booleanChecks to see if the player can still be using this tool (considering permissions and such).Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sk89q.worldedit.command.tool.BlockToolactPrimary
- 
Constructor Details- 
TreePlanter
 
- 
- 
Method Details- 
canUseDescription copied from interface:ToolChecks to see if the player can still be using this tool (considering permissions and such).
- 
actPrimarypublic boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked, @Nullable Direction face) Description copied from interface:BlockToolPerform the primary action of this tool.- Specified by:
- actPrimaryin interface- BlockTool
- Parameters:
- server- The platform
- config- The config instance
- player- The player
- session- The local session
- clicked- The location that was clicked
- face- The face that was clicked
- Returns:
- true to cancel the original event which triggered this action (if possible)
 
 
-