Package com.sk89q.worldedit.command
Class ToolCommands
java.lang.Object
com.sk89q.worldedit.command.ToolCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cycler
(Player player, LocalSession session) void
deltree
(Player player, LocalSession session) void
farwand
(Player player, LocalSession session) void
floodFill
(Player player, LocalSession session, Pattern pattern, int range) void
info
(Player player, LocalSession session) void
inspectBrush
(Player player, LocalSession session) void
longrangebuildtool
(Player player, LocalSession session, Pattern primary, Pattern secondary) void
navwand
(Player player, LocalSession session) void
none
(Player player, LocalSession session) static void
register
(CommandRegistrationHandler registration, org.enginehub.piston.CommandManager commandManager, org.enginehub.piston.CommandManagerService commandManagerService, WorldEdit worldEdit) void
repl
(Player player, LocalSession session, Pattern pattern) void
selwand
(Player player, LocalSession session) void
stacker
(Player player, LocalSession session, int range, Mask mask) void
tree
(Player player, LocalSession session, TreeGenerator.TreeType type)
-
Constructor Details
-
ToolCommands
-
-
Method Details
-
register
public static void register(CommandRegistrationHandler registration, org.enginehub.piston.CommandManager commandManager, org.enginehub.piston.CommandManagerService commandManagerService, WorldEdit worldEdit) -
none
- Throws:
WorldEditException
-
selwand
- Throws:
WorldEditException
-
info
- Throws:
WorldEditException
-
inspectBrush
- Throws:
WorldEditException
-
tree
public void tree(Player player, LocalSession session, @Arg(desc="Type of tree to generate",def="tree") TreeGenerator.TreeType type) throws WorldEditException - Throws:
WorldEditException
-
stacker
public void stacker(Player player, LocalSession session, @Arg(desc="The max range of the stack",def="10") int range, @Arg(desc="The mask to stack until",def="!#existing") Mask mask) throws WorldEditException - Throws:
WorldEditException
-
repl
public void repl(Player player, LocalSession session, @Arg(desc="The pattern of blocks to place") Pattern pattern) throws WorldEditException - Throws:
WorldEditException
-
cycler
- Throws:
WorldEditException
-
floodFill
public void floodFill(Player player, LocalSession session, @Arg(desc="The pattern to flood fill") Pattern pattern, @Arg(desc="The range to perform the fill") int range) throws WorldEditException - Throws:
WorldEditException
-
deltree
- Throws:
WorldEditException
-
farwand
- Throws:
WorldEditException
-
longrangebuildtool
public void longrangebuildtool(Player player, LocalSession session, @Arg(desc="Pattern to set on left-click") Pattern primary, @Arg(desc="Pattern to set on right-click") Pattern secondary) throws WorldEditException - Throws:
WorldEditException
-