Class ExpandCommands

java.lang.Object
com.sk89q.worldedit.command.ExpandCommands

public class ExpandCommands extends Object
Extracted from SelectionCommands to allow importing of Command.
  • 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