Package com.sk89q.worldedit.command
Class ApplyBrushCommands
java.lang.Object
com.sk89q.worldedit.command.ApplyBrushCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forest
(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, TreeGenerator.TreeType type) void
item
(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, BaseItem item, Direction direction) static void
register
(org.enginehub.piston.CommandManagerService service, org.enginehub.piston.CommandManager commandManager, CommandRegistrationHandler registration) void
set
(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, Pattern pattern)
-
Constructor Details
-
ApplyBrushCommands
public ApplyBrushCommands()
-
-
Method Details
-
register
public static void register(org.enginehub.piston.CommandManagerService service, org.enginehub.piston.CommandManager commandManager, CommandRegistrationHandler registration) -
forest
public void forest(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, @Arg(desc="The type of tree to plant") TreeGenerator.TreeType type) throws WorldEditException - Throws:
WorldEditException
-
item
public void item(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, @Arg(desc="The type of item to use") BaseItem item, @Arg(desc="The direction in which the item will be applied",def="up") Direction direction) throws WorldEditException - Throws:
WorldEditException
-
set
public void set(org.enginehub.piston.CommandParameters parameters, Player player, LocalSession localSession, @Arg(desc="The pattern of blocks to use") Pattern pattern) throws WorldEditException - Throws:
WorldEditException
-