public class ExpandCommands
extends java.lang.Object
SelectionCommands
to allow importing of Command
.Constructor and Description |
---|
ExpandCommands() |
Modifier and Type | Method and Description |
---|---|
void |
expand(Actor actor,
World world,
LocalSession session,
int amount,
int reverseAmount,
java.util.List<BlockVector3> direction) |
static void |
register(CommandRegistrationHandler registration,
org.enginehub.piston.CommandManager commandManager,
org.enginehub.piston.CommandManagerService commandManagerService) |
public static void register(CommandRegistrationHandler registration, org.enginehub.piston.CommandManager commandManager, org.enginehub.piston.CommandManagerService commandManagerService)
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") java.util.List<BlockVector3> direction) throws WorldEditException
WorldEditException