Package com.sk89q.worldedit.command
Class ExpandCommands
java.lang.Object
com.sk89q.worldedit.command.ExpandCommands
Extracted from
SelectionCommands
to allow importing of Command
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
expand
(Actor actor, World world, LocalSession session, int amount, int reverseAmount, List<BlockVector3> direction) static void
register
(CommandRegistrationHandler registration, org.enginehub.piston.CommandManager commandManager, org.enginehub.piston.CommandManagerService commandManagerService)
-
Constructor Details
-
ExpandCommands
public ExpandCommands()
-
-
Method Details
-
register
public static void register(CommandRegistrationHandler registration, org.enginehub.piston.CommandManager commandManager, org.enginehub.piston.CommandManagerService commandManagerService) -
expand
public void expand(Actor actor, World world, LocalSession session, @Arg(desc="Amount to expand the selection by, can be `vert` to expand to the whole vertical column") int amount, @Arg(desc="Amount to expand the selection by in the other direction",def="0") int reverseAmount, @Arg(desc="Direction to expand",def="me") List<BlockVector3> direction) throws WorldEditException - Throws:
WorldEditException
-